public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: sbabic@denx.de
To: Fabio Estevam <festevam@gmail.com>,u-boot@lists.denx.de
Subject: [PATCH] imx7: Disable CAAM Job Ring 0
Date: Sat, 23 Sep 2023 20:51:49 +0200 (CEST)	[thread overview]
Message-ID: <20230923185151.EFDB986963@phobos.denx.de> (raw)
In-Reply-To: <20230912151100.1735378-1-festevam@gmail.com>

> From: Fabio Estevam <festevam@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@lionizers.com>
> Signed-off-by: Fabio Estevam <festevam@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@denx.de
=====================================================================

      reply	other threads:[~2023-09-23 18:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-12 15:11 [PATCH] imx7: Disable CAAM Job Ring 0 Fabio Estevam
2023-09-23 18:51 ` sbabic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230923185151.EFDB986963@phobos.denx.de \
    --to=sbabic@denx.de \
    --cc=festevam@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox