
7 Jul
2010
7 Jul
'10
4:05 p.m.
Le 07/07/2010 13:44, Prafulla Wadaskar a écrit :
you should use u-boot.bin to load in RAM @ 0x600000 (TEXT_BASE)
That's what I do, either through JTAG or by tftp/go in resident u-boot.
for boot from RAM, you must need at least SDRAM configured, so JTAG is the way
JTAG does work indeed. Howvever, when:
- I power up the board; - ROM boot loads u-boot from NAND and starts it; - I stop u-boot and get to the prompt; - I 'tftp' an u-boot.bin image into RAM at 1000000; - I 'go' to 1000000
... the tftp'ed image fails to boot although SDRAM is obviously already configured.
OTOH, openOCD boots the RAM image fine, so I guess OpenOCD does some inits that the boot rom plus resident u-boot don't.
Amicalement,
--
Albert.