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>2019-02-25 21:52:16 -0800
commitaf03284ad38bd03ef1f0d4942842629db93d2c11 (patch)
tree2043223e6502cdb97850534144b94c9bd1622260 /doc
parent0803b4a9d4074a5bb101d194633cbdd7510a1e9a (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>
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 69ef244dea..8c8eb8dd42 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
------------------------------