[PATCH] mkimage: Default to adding a crc32 hash with '-f auto'

Tom Rini trini at konsulko.com
Wed Jun 3 18:26:51 CEST 2020


On Wed, May 27, 2020 at 07:24:55AM -0600, Simon Glass wrote:

> This option currently does not add any sort of hash to the images in the
> FIT.
> 
> Add a hash node requesting a crc32 checksum, which at least provides some
> protection.
> 
> The crc32 value is easily ignored (e.g. in SPL) if not needed. and takes
> up only about 48 bytes per image, including overhead.
> 
> Suggested-by: Wolfgang Denk <wd at denx.de>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Wolfgang Denk <wd at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200603/bb40f660/attachment.sig>


More information about the U-Boot mailing list