[PATCH] commands/crc32: add compare 2 files crc

Peter Korsgaard jacmet at sunsite.dk
Wed Sep 22 11:25:49 EDT 2010

>>>>> "Sascha" == Sascha Hauer <s.hauer at pengutronix.de> writes:

 Sascha> 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

 Sascha> Why don't you use memcmp?

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

It's sometimes interesting to be able to compare a checksum with a file
on the host (E.G. output of cksum/md5sum/sha1sum/..)

Bye, Peter Korsgaard

More information about the barebox mailing list