diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index c1243c7fa..78c1e762e 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc @@ -486,6 +486,10 @@ MACHINE_EXTRA_RRECOMMENDS += " \ ${@bb.utils.filter('COMBINED_FEATURES', 'jailhouse', d)} \ " +# ELE extra Firmware +SECOEXT_FIRMWARE_NAME ?= "UNDEFINED" +SECOEXT_FIRMWARE_NAME:mx8ulp-generic-bsp ?= "mx8ulp${IMX_SOC_REV_LOWER}ext-ahab-container.img" + # GStreamer 1.0 plugins MACHINE_GSTREAMER_1_0_PLUGIN ?= "" MACHINE_GSTREAMER_1_0_PLUGIN:mx6dl-nxp-bsp ?= "gstreamer1.0-plugins-imx-meta" diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.0.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb similarity index 63% rename from recipes-bsp/firmware-imx/firmware-ele-imx_0.1.0.bb rename to recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb index 83c865c25..70252c01c 100644 --- a/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.0.bb +++ b/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb @@ -3,19 +3,22 @@ SUMMARY = "NXP i.MX ELE firmware" DESCRIPTION = "EdgeLock Enclave firmware for i.MX series SoCs" SECTION = "base" LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" +LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" inherit fsl-eula-unpack use-imx-security-controller-firmware deploy SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" -SRC_URI[md5sum] = "7532c2e356574c1c9255c01169d38427" -SRC_URI[sha256sum] = "4a0440168d8dfb95989a17be8fafb149589e110e7d4518e5e8a33463dfb5e5ca" +SRC_URI[md5sum] = "f4df2005ec4555e9f177acbf62a7a969" +SRC_URI[sha256sum] = "3f69d6cf6ea448c5c2f87b6acdad1c5c2318616d246cc5047a523f2543fee408" do_compile[noexec] = "1" do_install() { install -d ${D}${nonarch_base_libdir}/firmware/imx/ele install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele + if [ -e ${S}/${SECOEXT_FIRMWARE_NAME} ]; then + install -m 0644 ${S}/${SECOEXT_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele + fi } do_deploy () { @@ -24,7 +27,12 @@ do_deploy () { } addtask deploy after do_install before do_build +PACKAGES += "${PN}-ext" + +ALLOW_EMPTY:${PN}-ext = "1" + FILES:${PN} += "${nonarch_base_libdir}/firmware/imx/ele/${SECO_FIRMWARE_NAME}" +FILES:${PN}-ext += "${nonarch_base_libdir}/firmware/imx/ele/${SECOEXT_FIRMWARE_NAME}" RREPLACES:${PN} = "firmware-sentinel" RPROVIDES:${PN} = "firmware-sentinel"