I am trying to reproduce the CRC32 calculations that the u-boot crc32 command does with a Linux utility.
I have discovered, by experiment, that OSX cksum command, with the -o3 option will produce identical check sums to those produced by u-boot crc32 command, but that the GNU coreutils version of cksum does not support the -o3 option and does not produce the same results as u-boot crc32. I have also tried the GNU coreutils 'sum' command.
Does anyone know of a debian package that has a cksum command (or equivalent) that produces the same outputs as the cksum -o3 command on OSX?
cksum from package
coreutils doesn't support
-o3 option, however, there is another
$ sudo apt-get install freebsd-buildutils
After installation of
freebsd-buildutils, be sure that you run the correct
$ dpkg-query -L freebsd-buildutils
gives the file list installed with
freebsd-buildutils, for example in my environment it is in