summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBreno Lima <breno.lima@nxp.com>2019-02-15 16:09:08 -0200
committerYe Li <ye.li@nxp.com>2020-04-26 23:26:39 -0700
commitbc0c0c9a7f5f8f871abfc559eaaea6bdb115b116 (patch)
tree3f2f725996085c0311f60ffb6258798030b37533 /doc
parent4783d6d4bc6d10b0dd61134e3f9472be09af4bc8 (diff)
MLK-20935-1 doc: imx: habv4: Add section to avoid crash when OP-TEE is enabled
Starting in L4.14.78 release, the OP-TEE CAAM driver does not set the JROWN_NS field in case LMID is locked. We need to include the Unlock MID command in CSF file otherwise device will fail to boot in HAB closed mode. Add section to avoid crash when OP-TEE is enabled. Reported-by: Frank Zhang <frank.zhang@nxp.com> Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit af03284ad38bd03ef1f0d4942842629db93d2c11) (cherry picked from commit 66f05532d587e50631eef066c4190936e0d33583)
Diffstat (limited to 'doc')
-rw-r--r--doc/imx/habv4/guides/mx6_mx7_secure_boot.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt b/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt
index 53f71fbc3e..7439402b6e 100644
--- a/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt
+++ b/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt
@@ -110,6 +110,23 @@ the U-Boot build, the example below is a log for mx7dsabresd_defconfig target:
Block = 0x877ff400 0x00000000 0x0009ec00 "u-boot-dtb.imx"
+1.3.1 Avoiding Kernel crash when OP-TEE is enabled
+---------------------------------------------------
+
+For devices prior to HAB v4.4.0, the HAB code locks the Job Ring and DECO
+master ID registers in HAB closed configuration. In case the user specific
+application requires any changes in CAAM MID registers it's necessary to
+add the "Unlock CAAM MID" command in CSF file.
+
+The current NXP OP-TEE implementation expects the CAAM registers to be unlocked
+when configuring CAAM to operate in non-secure TrustZone world.
+
+- Add Unlock MID command in CSF:
+
+ [Unlock]
+ Engine = CAAM
+ Features = MID
+
1.4 Signing the U-Boot binary
------------------------------