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

Dale Dunlea daledunlea at commergy.com
Mon May 30 12:34:54 CEST 2005


Wolfgang Denk wrote:

>In message <429AE902.2000209 at commergy.com> you wrote:
>  
>
>>Metrowerks=> tftpboot 0 test.img
>>    
>>
>
>This CANNOT work. You are overwriting U-Boot exception  vectors  that
>way.  You are really, really lucky if this doesn';t crash your system
>(it should crash).
>
>  
>
>Try "tftp 200000 test.img" instead.
>
>  
>
The situation, though now in a legal addresses range, is no more 
pleasant. See below for details:

U-Boot 1.0.1(eval-20040206-0-pre4) (Jun 18 2004 - 20:17:00)

Motorola PowerPC ProcessorID=00000000 Rev. PVR=80200020
Board: Motorola MPC8540ADS Board
    CPU: 660 MHz
    CCB: 264 MHz
    DDR: 132 MHz
    LBC: 66 MHz
L1 D-cache 32KB, L1 I-cache 32KB enabled.
I2C:   ready
DRAM:  DDR module detected, total size:256MB.
256 MB
FLASH:  8 MB
L2 cache enabled: 256KB
In:    serial
Out:   serial
Err:   serial
Net:   MOTO ETHERNET
Hit any key to stop autoboot:  3
Metrowerks=> setenv servrerip 10.82.190.3
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..
00200060: 03371848 0889526e 82198c2b d4deee0e    .7.H..Rn...+....
00200070: cd0d32b5 8d61a65a 2aa133cc ba760cd6    ..2..a.Z*.3..v..
00200080: 90c1a965 30ccded1 db7d6f27 714a843f    ...e0....}o'qJ.?
00200090: 3ae96417 356ae3a3 4b468b8d 33503ef0    :.d.5j..KF..3P>.
002000a0: 7179e8ca e254b53a e06311c3 80250833    qy...T.:.c...%.3
002000b0: 1305c6f0 cadddf77 bb034978 84dd2a2d    .......w..Ix..*-
002000c0: 7793aad4 bde73be7 7ce77bfc bec7b949    w.....;.|.{....I
002000d0: 9888c2d9 5f552b54 d4c7af57 d4d76e54    ...._U+T...W..nT
002000e0: d4bdb728 ea699fe2 033d40a5 0d2a510a    ...(.i...=@..*Q.
002000f0: 6b2ad542 7baa8a0c ac2fe953 a7d8530b    k*.B{..../.S..S.
Metrowerks=> mw 200004 0
Metrowerks=> md 200000
00200000: 27051956 00000000 429679c4 000a1b8b    '..V....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..
00200060: 03371848 0889526e 82198c2b d4deee0e    .7.H..Rn...+....
00200070: cd0d32b5 8d61a65a 2aa133cc ba760cd6    ..2..a.Z*.3..v..
00200080: 90c1a965 30ccded1 db7d6f27 714a843f    ...e0....}o'qJ.?
00200090: 3ae96417 356ae3a3 4b468b8d 33503ef0    :.d.5j..KF..3P>.
002000a0: 7179e8ca e254b53a e06311c3 80250833    qy...T.:.c...%.3
002000b0: 1305c6f0 cadddf77 bb034978 84dd2a2d    .......w..Ix..*-
002000c0: 7793aad4 bde73be7 7ce77bfc bec7b949    w.....;.|.{....I
002000d0: 9888c2d9 5f552b54 d4c7af57 d4d76e54    ...._U+T...W..nT
002000e0: d4bdb728 ea699fe2 033d40a5 0d2a510a    ...(.i...=@..*Q.
002000f0: 6b2ad542 7baa8a0c ac2fe953 a7d8530b    k*.B{..../.S..S.
Metrowerks=> crc32 200000 40
CRC32 for 00200000 ... 0020003f ==> 32cf8de9

Regards,
Dale Dunlea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20050530/c8061217/attachment.htm 


More information about the U-Boot mailing list