Dear Anupam,

In message <CAEmaDyHtO=2+jZXLa=afz6+oyxvndarabhfl-ssjhhv-kmz...@mail.gmail.com> 
you wrote:
>
>     printf "bootm 0x%X\n" $(expr $(stat -c%s u-boot.bin) + 65536)
>     bootm 0x218F20

The value 0x218F20 printed here is the offset where your image
starts relative to the begin of the U-Boot binary.

> **Then run :**
> 
>     qemu-system-arm -M vexpress-a9 -kernel flash.bin -m 128M -nographic
> 
> Interrupted it and then run `bootm 0x218F20`
> But it says
> 
>     Wrong Image Format for bootm command
>     ERROR: can't get kernel image!

This can only be correct if your U-Boot binary was loaded to address
0x0000, which probably is not correct.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"We don't care.  We don't have to.  We're the Phone Company."
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to