All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] commands/crc32: add compare 2 files crc
Date: Wed, 22 Sep 2010 14:36:13 +0200	[thread overview]
Message-ID: <20100922123613.GD23406@pengutronix.de> (raw)
In-Reply-To: <1285151785-507-1-git-send-email-plagnioj@jcrosoft.com>

On Wed, Sep 22, 2010 at 12:36:25PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> add -F options to compare to file crc
> 
> it's usefull to compare what you flash in a partition

Why don't you use memcmp?

memcmp -s uImage -d /dev/nand0.kernel.bb 0 0

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2010-09-22 12:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22 10:36 [PATCH] commands/crc32: add compare 2 files crc Jean-Christophe PLAGNIOL-VILLARD
2010-09-22 12:36 ` Sascha Hauer [this message]
2010-09-22 13:12   ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-22 15:25   ` Peter Korsgaard
2010-09-22 16:08     ` Sascha Hauer
2010-09-22 16:12       ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-22 16:54         ` Sascha Hauer
2010-09-23 11:25           ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-22 19:09       ` Peter Korsgaard

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=20100922123613.GD23406@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.