crc32 command

Peter Korsgaard jacmet at
Sat May 14 03:09:55 EDT 2011

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

 >> How can I use crc32 to verify the files I transfer?

 Sascha> The algorithms differ, so cksum is not usable here. Got curious
 Sascha> myself and looked around in the net. the zip tool is usable for
 Sascha> this:

 Sascha> zip barebox.bin; unzip -lv

 Sascha> Ok, this sucks, but there is also a standalone program (haven't tested
 Sascha> this). See here:


The crc32 command is largely legacy from u-boot. Would there be interest
in a cksum command (it's afaik just like the normal crc32 except it also
uses the length) or md5/sha1/sha256sum? We have all the infrastructure,
so it should be easy to add.

Bye, Peter Korsgaard

More information about the barebox mailing list