[U-Boot-Users] iminfo - Bad Header Checksum

Wolfgang Denk wd at denx.de
Mon May 30 13:32:16 CEST 2005


In message <429AEC4E.8040202 at commergy.com> you wrote:
>
> Metrowerks=> tftpboot 200000 test.img
> Enet starting in Full Duplex
> Enet starting in 1000BT
> TFTP from server 10.82.190.3; our IP address is 10.82.190.238
> Filename 'test.img'.
> Load address: 0x200000
> Loading: *packetHandler changed.
> #################################################################
>      #################################################################
> done
> Bytes transferred = 662475 (a1bcb hex)
> Metrowerks=> imi
> 
> ## Checking Image at 00200000 ...
>    Bad Header Checksum
> Metrowerks=> md 200000
> 00200000: 27051956 32cf8de9 429679c4 000a1b8b    '..V2...B.y.....
> 00200010: 00000000 00000000 fbc58b91 05070201    ................
> 00200020: 4c696e75 782d322e 342e3235 00000000    Linux-2.4.25....
> 00200030: 00000000 00000000 00000000 00000000    ................
> 00200040: 1f8b0808 c4799642 0203766d 6c696e75    .....y.B..vmlinu
> 00200050: 7800e45a 7b705455 9aff6e3f 4847b2da    x..Z{pTU..n?HG..
...


=> tftp 200000 test.img
Using FEC ETHERNET device
TFTP from server 192.168.1.1; our IP address is 192.168.160.4
Filename 'test.img'.
Load address: 0x200000
Loading: #################################################################
         #################################################################
done
Bytes transferred = 662475 (a1bcb hex)
=> imi

## Checking Image at 00200000 ...
   Image Name:   Linux-2.4.25
   Created:      2005-05-27   1:37:08 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    662411 Bytes = 646.9 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
=> md 200000
00200000: 27051956 32cf8de9 429679c4 000a1b8b    '..V2...B.y.....
00200010: 00000000 00000000 fbc58b91 05070201    ................
00200020: 4c696e75 782d322e 342e3235 00000000    Linux-2.4.25....
00200030: 00000000 00000000 00000000 00000000    ................
00200040: 1f8b0808 c4799642 0203766d 6c696e75    .....y.B..vmlinu
00200050: 7800e45a 7b705455 9aff6e3f 4847b2da    x..Z{pTU..n?HG..
...


I didn't want to believe  it,  but  it  seems  that  you  are  right:
Metrowerks  seems to have changed U-Boot in some incompatible way. As
them for the source code of the version they distribute,  and  please
let me know if there should be any problems with that.

My recommendation: get rid of their crippled version.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The IQ of the group is the lowest IQ of a member of the group divided
by the number of people in the group.




More information about the U-Boot mailing list