[REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

Rasmus Villemoes rasmus.villemoes at prevas.dk
Mon Oct 10 16:07:07 CEST 2022


On 15/07/2022 14.40, ZHIZHIKIN Andrey wrote:
> Hello Gaurav,
> 
> In the new v2022.07, I've stumbled upon the issue with calculating the SHA256 of
> memory blocks with CAAM hashing. This causes the FIT image not to pass the hash
> validation, and also `sha256` command not operable.
> 
> I'm also wondering if any i.MX8M-based board maintainers have seen the same issues
> at their end?
> 
> I've made a small test executing the following command sequence (with corresponding
> serial output):
> 
> U-Boot 2022.07 (Jul 15 2022 - 14:36:00 +0200)

This is still broken in v2022.10. Are there any plans to fix this?

Booting FIT images where image nodes are hashed with sha1 or sha256 on
imx8m boards is currently impossible.

Rasmus


More information about the U-Boot mailing list