Hi
I am flashing the UBL and u-boot to DM 368 through JTAG and i am able to boot the kernel using tftp boot but once i give the file system through tftp and try to boot the board the board does not get booted at all.
Following are the args that i gave in the u-boot console
:>tftp 0x80700000 uImage_dm368
:>erase 0x02080000 0x0231FFFF
:>cp.b 0x80700000 0x02080000 0x226ac0
Copy to Flash... .0done
:>setenv bootcmd 'cp.b 0x02080000 0x80700000 0x226ac0;bootm'
:>saveenv
And then when i load the file system using the following commands
:>tftp 0x83000000 ppc_AV_stack_PreAlpha_1.03-C0-0.09.image
:>erase 0x02320000 0x02FFFFFF
:>cp.b 0x83000000 0x02320000 0xa16000
Copy to Flash... .0done
:>saveenv
:>boot
It tells that
Wrong Image Format for bootm command
ERROR: can't get kernel image!
And when i switch off the board and switch it on the board does not boot at all.
Then again i have to flash UBL and u-boot through JTAG and then the board gets booted.Is it that the flash is getting corrupted after i copy the file system since after the file system is loaded the UBL also does not come up or is there any problem with the bootm command that i am giving.I also verified that with these same commands DM365 gets booted properly till the file system.Is there any change in the address of the flash for DM368 and DM365 so that the flash is getting corrupted.
Regards
Haran