u-boot 2011.09: convert beagleboard to SPL build
Quoted 19 lines · Tom Rini
Quoted 18 lines · Andreas Müller
Quoted 16 lines · Koen Kooi
Runtime tested on an xM rev C
Signed-off-by Koen Kooi <[email protected]>--- ...-probe-DDC-bus-for-expansionboard-EEPROMS.patch | 165 ---------- ...p3-mem-Comment-enable_gpmc_cs_config-more.patch | 56 ++++ ...e-SDRC-dram_init-to-always-call-make_cs1_.patch | 66 ++++ ...-a-helper-function-to-set-timings-in-SDRC.patch | 172 +++++++++++ ...e-mem_ok-to-clear-again-after-reading-bac.patch | 30 ++ .../0005-OMAP3-Remove-get_mem_type-prototype.patch | 28 ++ .../0006-omap3-mem-Add-MCFG-helper-macro.patch | 97 ++++++ ...d-optimal-SDRC-autorefresh-control-values.patch | 59 ++++ ...x-all-Micron-memory-timing-parts-with-the.patch | 55 ++++ ...ework-memory-initalization-and-devkit8000.patch | 174 +++++++++++ ...OMAP3-SPL-Add-identify_nand_chip-function.patch | 142 +++++++++ ...0011-OMAP3-Add-SPL-support-to-Beagleboard.patch | 315
Quoted 6 lines
Quoted 1 line
Is anybody working on SPL support for gumstix overo?
No, but in mainline U-Boot it should be very easy to do so and I'd be glad to help out with questions on the SPL specific side of things (basically overo needs to provide a function that returns the correct timings for the SDRC for the board rev in question).
Got overo board revisions 0 & 1 booting fine from SDcard ( revision 2 might need further alignment.. ) [1].
To prevent modifying multiple locations I left
CONFIG_SYS_TEXT_BASE 0x80080000
To test NAND I did on u-boot console ( based on [2] )
| nand erase.chip
| mmc rescan 0
| # write MLO
| fatload mmc 0 $loadaddr MLO
| nandecc hw
| nand write $loadaddr 0 ${filesize}| # write u-boot
| fatload mmc 0 ${loadaddr} u-boot.bin
| nand write ${loadaddr} 80000 ${filesize}| # write the kernel
| fatload mmc 0 ${loadaddr} uImage
| nand write ${loadaddr} 280000 ${filesize}After power off / power on without SDcard I get
| Boot SPL 2011.09-01172-gfdbe8b9-dirty (Dec 13 2011 - 00:58:36) | Texas Instruments Revision detection unimplemented
Is it correct that this is only implemented for OMAP4/5 so for OMAP3 this message is OK?
| mkimage signature not found - ih_magic = ea000014
| Assuming u-boot.bin ..
Asking google for 'mkimage signature not found' showed me many pastebins but no answer. Anybody out there with a hint?
Andreas
[1] https://gitorious.org/schnitzeltony-oe-meta/meta-
gumstix/blobs/master/recipes-bsp/u-boot/2011.09/0001-u-boot-add-SPL- support.patch
[2] http://www.gumstix.org/how-to/70-writing-images-to-flash.html