Using laest Uboot to boot a Pandaboard
Chris Gransden (337) 1207 posts |
Thanks to another recent fix to the OMAP4 rom it is now possible to use the lastest version of uboot to boot a Pandaboard ES. I’ve only tested it on a revision B1 Pandaboard ES. Hopefully it will also work on all Pandaboard revisions including the A3 Pandaboard. You can download the latest version of uboot here. You’ll need an OMAP4 rom built after 05/09/14 otherwise it will hang on boot. The zip file also contains a utility to set the clock speed to 1500MHz on a Pandaboard ES. See the ReadMe file for details. You can also download the source code used to build this version of uboot here If you want to build it yourself follow the below instructions. git clone git://git.denx.de/u-boot-arm.git Apply the following patch. This turns off the CPU caches. RISC OS hangs at HAL initialisation without it. Once it’s saved to a file use ‘git apply filename.patch’ to apply the patch. diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index 7378acd..cd1efc9 100644 --- a/include/configs/omap4_panda.h +++ b/include/configs/omap4_panda.h @@ -13,6 +13,13 @@ #define __CONFIG_PANDA_H /* + * Turn off Caches. Stop RISC OS hanging at HAL initialisation + */ + +#define CONFIG_SYS_ICACHE_OFF +#define CONFIG_SYS_DCACHE_OFF + +/* * High Level Configuration Options */ make omap4_panda_defconfig |
Rob Heaton (274) 515 posts |
Using the Uboot and MLO files from the .zip file above, my Pandaboard ES won’t boot. I don’t get any video output. (RISC OS 5.21 06-Sep-2014) |
Chris Gransden (337) 1207 posts |
I put u-boot.bin instead of u-boot.img in the zip file. I’ve updated it with the correct file. If you download again and copy MLO and u-boot.img to the SD card it should work this time. |
David Feugey (2125) 2709 posts |
Does a warm reboot stable now? |
Malcolm Hussain-Gambles (1596) 811 posts |
Thanks Chris, that’s working great for me. |
Rob Heaton (274) 515 posts |
Working here now too. |
David R. Lane (77) 766 posts |
I can’t get it to start !Boot. Only one of the green lights comes on, the right-hand one. !System disc says that it is a valid boot partition and !DiscKnight says “disc is Good”, but I think it is checking only the bootloader partition. I have used the files MLO, PREENV/TXT, U-BOOT/IMG and UENV/TXT from Chris Gransden’s website plus today’s ROM and Harddisc image. I notice that the file icon of U-BOOT/IMG has the word Atari on it, which seems a bit odd. My Pandaboard has the widget and so I didn’t include the file uenv_cmos/txt. |
Mike Morris (1852) 89 posts |
Try these instructions. Seems the uenv_cmos/txt (renamed as per the instructions) is important. HTH. |
David R. Lane (77) 766 posts |
@Mike |
Steve Pampling (1551) 8170 posts |
There is no icon for the file… |
Mike Morris (1852) 89 posts |
Glad you’ve got it sorted!
It’s all inscrutable magic to me but the way I read it, the system needs to know which device to boot from before it gets to the widget (no doubt others will tell me if I’ve got that completely wrong!). See Ralph Barrett’s comment dated 7th Oct on this page. |