Skip to contentSkip to conversation

new PPC Questions

DISCUSSION Micael balow 2 participants 2 messages Jan 8, 2001

lore
Share & tools
lore
#0 lore raw

Dear sir,
Today I 'd like to ask you a question like this:

Quoted 2 lines

AfterI ported a image into the board,when I used the following commmand

=> bootm 10020000

Quoted 2 lines

to boot that image,the message just like the one
listed below was displayed.

=> # Booting Linux kernel at 10020000
=> Bad Header Checksum

I think,the reason for this has something to do
with the way I compile the image. What do you think? Please give a hint.Thank you!

Best Regards
Yours sincerely Micael Balow

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Dear Micael,

Quoted 11 lines · in message <[email protected]> you wrote:
Quoted 3 lines

AfterI ported a image into the board,when I used the following commmand

   => bootm 10020000
Quoted 2 lines

to boot that image,the message just like the one
listed below was displayed.

=> # Booting Linux kernel at 10020000
=> Bad Header Checksum

The linuxppc-embedded mailing listy is not exactly the right place to ask this question; what you see is an error message from the PPCBoot firmware on your board, so if you have to ask the ppcboot-users list is probably a better place.

Quoted 3 lines

I think,the reason for this has something to do
with the way I compile the image. What do you think? Please give a hint.Thank you!

Well, I think the error message is pretty clear: the one of the checksums stored with your image is not what PPCboot expects (PPCBoot
images have two checksums: the first to validate the header
information, the second to check the data payload).

Either the image you stored at address 0x10020000 is not a PPCBoot image at all, or it got corrupted during download or in memory. You can try to dump the memory region using

	md 10020000

This might give an indication what happened.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] There are three things I always forget. Names, faces - the third I
can't remember. - Italo Svevo

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/