public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tolunay Orkun <betatester@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Accessing mkimage checksum
Date: Fri, 28 Apr 2006 10:53:01 -0500	[thread overview]
Message-ID: <44523A5D.1040201@orkun.us> (raw)
In-Reply-To: <20060428034515.7523.qmail@web15904.mail.cnb.yahoo.com>

Sam Song wrote:
> NZG <ngustavson@emacinc.com> wrote:
>> Sounds good, it just isn't obvious to me since
>> mkimage -l was verifying the 
>> checksum, since it doesn't display an checksum
>> information.
>> Now that you've said it, I see it in the README.
> 
> I also haven't seen mkimage -l displaying checksum
> info. Is mkimage I used out of date?
> 
> # tools/mkimage -l /tftpboot/uImage
> Image Name:   Linux-2.4.23
> Created:      Tue Dec 20 16:58:58 2005
> Image Type:   PowerPC Linux Kernel Image (gzip
> compressed)
> Data Size:    1442558 Bytes = 1408.75 kB = 1.38 MB
> Load Address: 0x00000000
> Entry Point:  0x00000000
> #
> 
> Thanks in advance,
> 
> Sam
> 

It does not print crc. Inspecting code quickly, it only displays crc
**Warning** if there is mismatch but proceeds after that as if nothing
has happened. So, it was not suitable for the task anyhow.

I think -v option can be added to verify the integrity of archive and
return 0 [OK] or an shell error code so it could be used in a shell
script properly.

Best regards,
Tolunay

  parent reply	other threads:[~2006-04-28 15:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-26 15:10 [U-Boot-Users] Accessing mkimage checksum NZG
2006-04-26 16:06 ` Wolfgang Denk
2006-04-26 16:11   ` NZG
2006-04-26 19:11     ` Wolfgang Denk
2006-04-26 19:20       ` NZG
2006-04-26 19:26         ` Wolfgang Denk
2006-04-26 20:02           ` NZG
2006-04-26 20:14             ` Wolfgang Denk
2006-04-26 21:16               ` Tolunay Orkun
2006-04-26 22:33                 ` Wolfgang Denk
2006-04-26 23:41                   ` Tolunay Orkun
2006-04-27  7:26                     ` Wolfgang Denk
2006-04-27 14:00               ` NZG
2006-04-27 14:58                 ` Wolfgang Denk
2006-04-27 15:48                   ` NZG
2006-04-28  3:45                     ` Sam Song
2006-04-28  6:45                       ` Wolfgang Denk
2006-04-28  7:07                         ` Sam Song
2006-04-28  7:38                           ` Wolfgang Denk
2006-04-28 15:53                       ` Tolunay Orkun [this message]
2006-04-28 19:23                         ` Wolfgang Denk
2006-04-29  1:22                           ` Sam Song
     [not found] <20060428080933.11288.qmail@web15903.mail.cnb.yahoo.com>
2006-04-28  9:54 ` Wolfgang Denk

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=44523A5D.1040201@orkun.us \
    --to=betatester@orkun.us \
    --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