I would like to contribute a new feature for the FreeBSD boot loader - a
command that calculates the CRC32 of a specified file name. It uses libz's CRC32
While attempting to make libstand's nandfs to work adequately I've
experienced NAND flash page/block misreadings from U-Boot's API side. Therefore I was in a need of a tool that could prove that a file had been read correctly in this very stage of the FreeBSD boot process. So here it is.
In addition to the CRC calculation the size of the stipulated file is
printed as well.
Any comments will be appreciated - http://lists.freebsd.org/pipermail/freebsd-fs/2012-October/015288.html
Fix: See patch.
Patch attached with submission follows:
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped