public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dale Dunlea <daledunlea@commergy.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] iminfo - Bad Header Checksum
Date: Sun, 29 May 2005 22:25:35 +0100	[thread overview]
Message-ID: <429A334F.9070408@commergy.com> (raw)
In-Reply-To: <42991F3B.5000104@commergy.com>

I wrote:

> I'm using a Metrowerks MPC8540 test board, which came pre-installed 
> with U-Boot 1.0.1(eval-20040206-0-pre4). I suspect that this may be 
> part of the problem i.e. that I have an old version of U-Boot burned 
> to flash. I do not currently have the means to re-flash the board back 
> to its current state, and so I am reluctant to try and upgrade U-Boot 
> just yet.
>
I've done a little bit more digging and have discovered the following:

If I zero out the CRC block on my downloaded image and run the crc32 
command, it generates the same CRC that was already in there, implying 
that it is correct. I then copied the Linux image which is stored in 
flash down into ram, and ran iminfo. The image passed. I then zeroed the 
CRC block of this image, and ran the crc32 command. The CRC it generated 
was different from the one that had been there.

It appears to me that Metrowerks have flashed a modified version of 
U-Boot which uses a different checksum function when verifying the 
header. If this is the case, then presumably under the terms of the GPL, 
they have to publish their changes? I've not been able to find anything 
to this effect though.

Has anyone else used this board? Further searching of the archives led 
me to this thread:

http://sourceforge.net/mailarchive/message.php?msg_id=9964369

Which seems to be exactly the problem I am having. Unfortunately, that 
thread seems to end without a resolution.

Again, thanks to anyone who can shed light on the situation.

Regards,
Dale Dunlea

  reply	other threads:[~2005-05-29 21:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-29  1:47 [U-Boot-Users] iminfo - Bad Header Checksum Dale Dunlea
2005-05-29 21:25 ` Dale Dunlea [this message]
2005-05-29 21:32   ` Wolfgang Denk
2005-05-29 23:25     ` [U-Boot-Users] ARC A4 richard at uclinux.net
     [not found] <429A6A6C.10106@commergy.com>
2005-05-30  8:04 ` [U-Boot-Users] iminfo - Bad Header Checksum Wolfgang Denk
2005-05-30 10:20   ` Dale Dunlea
2005-05-30 10:27     ` Wolfgang Denk
2005-05-30 10:34       ` Dale Dunlea
2005-05-30 10:54         ` Wolfgang Denk
2005-05-30 11:32         ` Wolfgang Denk
2005-05-30 11:38           ` Dale Dunlea

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429A334F.9070408@commergy.com \
    --to=daledunlea@commergy.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox