This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Wrong Image Format for bootm command

Guru 10685 points

I'm trying to boot the EVM in its default configuration. Having altered some of the files including "uImage" on the SD card I have now restored them to the originals, however my EVM refuses to boot.

Here is the log:

U-Boot 2010.06 (Nov 19 2010 - 00:26:27)

DRAM:  2 GiB
Using default environment

Hit any key to stop autoboot:  0
mmc1 is available
reading u-boot.bin

179140 bytes read
## Starting application at 0x80800000 ...


U-Boot 2010.06 (Nov 18 2010 - 22:36:59)

TI8168-GP rev 1.0

ARM clk: 987MHz
DDR clk: 398MHz

I2C:   ready
DRAM:  2 GiB
NAND:  No NAND device found!!!
0 MiB
*** Warning - bad CRC or NAND, using default environment

:,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;:
;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;:
;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;;
;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:;
;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;:
r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:,
;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii
r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi
r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS   @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs
r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5
rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi
;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi
;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;;
r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,:
;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:,
;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;::::
:,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,,
;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..:
:.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:,
:.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;:
,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,,
: ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,:
,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,,

Net:   Ethernet PHY: GENERIC @ 0x01
DaVinci EMAC
Hit any key to stop autoboot:  0
mmc1 is available
reading boot.scr

261 bytes read
Running bootscript from MMC/SD to set the ENV...
## Executing script at 80900000
reading uImage

** Unable to read "uImage" from mmc 1:1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
TI8168_EVM#

Does anyone know what is going wrong? I'm really stuck and can't work out what I'm doing wrong.

Thanks,

Ralph

  • Ralph said:
    ** Unable to read "uImage" from mmc 1:1 **
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!

    Seems like the kernel image is not being read from the card. Can you try reformatting and copying the files using the SD card formatting script? If already done so, how about getting the image using TFTP from the U-Boot console and then trying to boot?

    Regards,

    Vaibhav

  • Ah, on running the script I see that sector 0 of my card did not have an MSDOS signature. This must have been the reason it didn't boot despite having all the correct files on. I have no idea how this sector got overwritten but it works now.

    Thanks,

    Ralph