I am trying to locate the
doimage utility used to generate the u-boot-*_400db_nand.bin. The Das U-boot article
http://www.plugcomputer.org/plugwiki/index.php/Das_U-boot_plug_support indicates that it is part of the DevKit CD, but I couldn't find it.
At the moment, I have built Marvell's development U-boot from the git repository and would like to burn it to the NAND flash. I am using OpenOCD to load U-boot in memory to run. I tried writing to the NAND using OpenOCD's "sheevaplug_reflash_uboot" command to write uboot.bin, but it doesn't boot. The only way I can load the development u-boot is by loading it in memory.
Here is the OpenOCD's TCL function for re-flashing u-boot:
proc sheevaplug_reflash_uboot { } {
# reflash the u-Boot binary and reboot into it
sheevaplug_init
nand probe 0
nand erase 0 0x0 0xa0000
nand write 0 uboot.bin 0 oob_softecc_kw
resume
}
The only thing I can think of is uboot.bin expects to be in _nand.bin format. I was using the u-boot.bin that was generated from objcopy. Thanks in advance.