Re: crc32 command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Sascha" == Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> 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 test.zip barebox.bin; unzip -lv test.zip

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

 Sascha> http://docwiki.gumstix.org/index.php/Calculating_32_bit_CRCs

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

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


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux