AnsweredAssumed Answered

Wrong Image Format for bootm command - ERROR: can't get kernel image!

Question asked by Massimo.Ferrari@snapon.com on Apr 20, 2012
Latest reply on Apr 24, 2012 by Aaronwu

I loaded the U-Boot on my Balckfin BF 547 with this commands:

sf probe 1

sf erase 0x0 0x1000000

loadb (Kermit)          ==> U-Boot

sf write 0x1000000 0x0 0x0003f530

The U-Boot run perfectly, but when i tried to load kernel ucLinux 2.6, i restart and the error is:

Wrong Image Format for bootm command

ERROR: can't get kernel image!

I used this commands:

sf probe 1

loadb (Kermit)         ==> UImage

sf write 0x1000000 0x40000 0x0049a6df  

sf read 0x2000000 0x40000 0x0049a6df

cmp.b 0x1000000 0x2000000 0x0049a6df

bootm 0x2000000

And the comparison is correct, in RAM the kernel run perfectly, but when i restart NO!

I tried o use this commands:

set sfboot 'sf probe 1; sf read 0x1000000 0x40000 0x0049a6df; bootm 0x2000000'

set bootcmd run sfboot

save

But when i restart and i have the error, finally if i use

printenv

to debug the last three commands are loses after restart!

Can you give me some suggestions?

Outcomes