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

Wolfgang Denk wd at denx.de
Thu May 28 07:33:46 CEST 2020


Dear Simon,

In message <20200527072419.1.I6b204b428d46addbce0f668960df1756a0bd5a0a at changeid> you 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>

Thanks a lot!

Reviewed-by: Wolfgang Denk <wd at denx.de>


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"I knew then (in 1970) that a 4-kbyte minicomputer would cost as much
as a house. So I reasoned  that  after  college,  I'd  have  to  live
cheaply in an apartment and put all my money into owning a computer."
      - Apple co-founder Steve Wozniak, EE Times, June 6, 1988, pg 45


More information about the U-Boot mailing list