[U-Boot] Need Help in bulding U-boot-2010-06 for OpenRD client

Albert ARIBAUD
2010-07-07T14:05:31Z

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.