[PATCH] imx7: Disable CAAM Job Ring 0

sbabic at denx.de sbabic at denx.de
Sat Sep 23 20:51:49 CEST 2023


> From: Fabio Estevam <festevam at denx.de>
> Trying to boot a fitImage after a successful hab_auth_img operation
> causes the following error:
>  ## Loading kernel from FIT Image at 88000000 ...
>    Using 'conf-imx7d-smegw01.dtb' configuration
>    Trying 'kernel-1' kernel subimage
>      Description:  Linux kernel
>      Type:         Kernel Image
>      Compression:  uncompressed
>      Data Start:   0x8800010c
>      Data Size:    9901752 Bytes = 9.4 MiB
>      Architecture: ARM
>      OS:           Linux
>      Load Address: 0x80800000
>      Entry Point:  0x80800000
>      Hash algo:    sha256
>      Hash value:   28f8779bbf010780f16dd3d84ecb9b604c44c5c2cf7acd098c264a2d3f68e969
>    Verifying Hash Integrity ... sha256Error in SEC deq
>    CAAM was not setup properly or it is faulty error!
> The reason for this error is that the BootROM uses the CAAM Job Ring 0,
> so disable its node in U-Boot to avoid the resource conflict.
> imx8m dtsi files also have the Job Ring 0 disable since the following
> kernel commit:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch?h=v6.5&id=dc9c1ceb555ff661e6fc1081434600771f29657c
> For a temporary solution, disable the Job Ring 0 in imx7s-u-boot.dtsi.
> Reported-by: Eduard Strehlau <eduard at lionizers.com>
> Signed-off-by: Fabio Estevam <festevam at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list