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

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 22 08:36:13 EDT 2010


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 |



More information about the barebox mailing list