summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZelan Zou <zelan.zou@nxp.com>2026-03-17 11:40:44 +0800
committerZelan Zou <zelan.zou@nxp.com>2026-03-17 11:48:52 +0800
commite472f25e61564b20922eb41b0fc6bf8c37f9d7cc (patch)
tree015a3977f8864b4ad95dc0263a7654dc801d2d12
parenta53628c37255a3da2913d29abd1b9d50d43b2507 (diff)
downloadmeta-freescale-e472f25e61564b20922eb41b0fc6bf8c37f9d7cc.tar.gz
imx-secure-enclave: Update to lf-6.18.2-1.0.0
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
-rw-r--r--recipes-bsp/imx-secure-enclave/imx-secure-enclave-prime_git.bb13
-rw-r--r--recipes-bsp/imx-secure-enclave/imx-secure-enclave-seco_git.bb20
-rw-r--r--recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc29
-rw-r--r--recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb29
4 files changed, 71 insertions, 20 deletions
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave-prime_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave-prime_git.bb
new file mode 100644
index 000000000..1bd72d118
--- /dev/null
+++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave-prime_git.bb
@@ -0,0 +1,13 @@
1require imx-secure-enclave.inc
2
3SUMMARY += "PRIME"
4DESCRIPTION += "PRIME"
5
6PLAT = "prime"
7
8do_install:append() {
9 # Remove common content that is to be installed by imx-secure-enclave
10 rm ${D}${datadir}/se/README
11}
12
13COMPATIBLE_MACHINE = "(mx943-nxp-bsp|mx952-nxp-bsp)"
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave-seco_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave-seco_git.bb
new file mode 100644
index 000000000..803cbeffe
--- /dev/null
+++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave-seco_git.bb
@@ -0,0 +1,20 @@
1require imx-secure-enclave.inc
2
3SUMMARY += "SECO"
4DESCRIPTION += "SECO"
5
6PLAT = "seco"
7
8EXTRA_OEMAKE:append:mx8x-nxp-bsp = " COMPATIBLE_MACHINE=mx8dxl-nxp-bsp"
9
10do_install:append:mx9-nxp-bsp() {
11 # Remove common content that is to be installed by imx-secure-enclave
12 for i in common hsm nvm.h; do
13 rm -rf ${D}${includedir}/$i
14 done
15 rm ${D}${datadir}/se/README
16 rm ${D}${bindir}/nvmd_conf_setup.sh
17 rm ${D}${bindir}/se_tools
18}
19
20COMPATIBLE_MACHINE = "(mx8x-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp|mx952-nxp-bsp)"
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc
new file mode 100644
index 000000000..bb045b6fb
--- /dev/null
+++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc
@@ -0,0 +1,29 @@
1# Copyright 2021-2025 NXP
2
3SUMMARY = "NXP i.MX SECURE ENCLAVE library"
4DESCRIPTION = "NXP IMX SECURE ENCLAVE library"
5SECTION = "base"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982"
8
9DEPENDS = " mbedtls openssl"
10
11SRC_URI = "${SECURE_ENCLAVE_LIB_SRC};branch=${SRCBRANCH}"
12SECURE_ENCLAVE_LIB_SRC ?= "git://github.com/NXP/imx-secure-enclave.git;protocol=https"
13SRCBRANCH = "lf-6.18.2_1.0.0"
14SRCREV = "24fdfb728fff1644878f5ab4a5557decf0769959"
15
16PLAT ?= "UNDEFINED"
17
18EXTRA_OEMAKE = "PLAT=${PLAT} OPENSSL_PATH=${STAGING_INCDIR} MBEDTLS_PATH=${STAGING_DIR_HOST}${datadir}/mbedtls-source"
19
20TARGET_CC_ARCH += "${LDFLAGS}"
21
22do_install() {
23 oe_runmake -C ${S} DESTDIR=${D} install_tests
24}
25
26PACKAGE_ARCH = "${MACHINE_SOCARCH}"
27
28FILES:${PN} += "${datadir}/se"
29RDEPENDS:${PN}:append = " bash"
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb
index 525824f79..647a9d768 100644
--- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb
+++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb
@@ -1,29 +1,18 @@
1SUMMARY = "NXP i.MX Secure Enclave Userspace Library" 1require imx-secure-enclave.inc
2DESCRIPTION = "NXP i.MX Secure Enclave Userspace Library"
3SECTION = "base"
4
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982"
7
8DEPENDS = "openssl"
9 2
10inherit systemd 3inherit systemd
11 4
12SRC_URI = "git://github.com/NXP/imx-secure-enclave.git;protocol=https;branch=lf-6.6.52_2.2.0" 5SYSTEMD_AUTO_ENABLE = "disable"
13SRCREV = "dffbb844e86f4a49058ffbb40548474059969c27" 6SYSTEMD_SERVICE:${PN} = "nvm_daemon.service"
14
15PV = "lf-6.6.52_2.2.0"
16 7
17EXTRA_OEMAKE += "PLAT=ele" 8PLAT = "ele"
18 9
19TARGET_CC_ARCH += "${LDFLAGS}" 10PACKAGES =+ "${PN}-crrm"
20 11
21do_install () { 12RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}"
22 oe_runmake DESTDIR=${D} install
23 rm -rf ${D}/usr/share
24}
25 13
26SYSTEMD_AUTO_ENABLE = "disable" 14FILES:${PN}-crrm = " \
27SYSTEMD_SERVICE:${PN} = "nvm_daemon.service" 15 ${bindir}/ele_crrm_test \
16 ${libdir}/lib*crrm${SOLIBS}"
28 17
29COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" 18COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)"