[ELDK] Bad Data CRC with self-made uImage

Wolfgang Denk wd at denx.de
Wed Jul 7 13:52:30 CEST 2010

Dear Marc Scherer,

In message <4C345D24.2030904 at mp-ndt.de> you wrote:
> I am trying to create an uncompressed kernel image for U-Boot on a
> TQM5200. However, I end up with a boot message
> ## Booting kernel from Legacy Image at 00400000 ...
>    Image Name:   Linux-2.6.35-rc4-01439-gdf94007
>    Created:      2010-07-07  10:06:47 UTC
>    Image Type:   PowerPC Linux Kernel Image (uncompressed)
>    Data Size:    3262636 Bytes =  3.1 MB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... Bad Data CRC
> All I did was to create a uImage according to:
> mkuboot.sh -A ppc -O linux -T kernel -C none -a 0x00000000 -e 0x00000000
> -n Linux-2.6.35-rc4-01439-gdf94007 -d ./vmlinux.bin arch/powerpc/boot/uImage

I guess the corruption happened later. Most probably because you
overwrite the image because of the too load download address.
See FAQ 14.3.2. and keep your increasedimage size in mind.

but you an check this easily yourself - step by step.

- after creating theimage, try "mkimage -l arch/powerpc/boot/uImage";
  does this work?

- after downloading theimage with TFTP, run "imi <download address>";
  does this work?

Best regards,

Wolfgang Denk

DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Beware of bugs in the above code; I have only proved it correct, not
tried it."                                             - Donald Knuth

More information about the eldk mailing list