From 2c1ae06f18cfc362de984bee817953a3ac053c8a Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Mon, 9 May 2022 17:59:40 +0000 Subject: recipes-bsp: tifs-lpm-stub: Introduce new recipe This firmware stub is required by the TI foundational security software while transitioning to low power mode. Add a recipe for this compatible with am62xx-evm Signed-off-by: Nikhil Devshatwar Signed-off-by: Ryan Eatmon Signed-off-by: Denys Dmytriyenko Signed-off-by: Ryan Eatmon --- .../recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 1 + .../recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb | 23 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 meta-ti-bsp/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb (limited to 'meta-ti-bsp/recipes-bsp') diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc index 3ebdae30..47e76347 100644 --- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc @@ -18,6 +18,7 @@ GOODIX_FW_VERSION = "1.0.0.0" CADENCE_MHDP_FW_VERSION = "1.2.17" IMG_DEC_FW_VERSION = "1.0" CNM_WAVE521_FW_VERSION = "1.0.00" +TIFS_LPM_STUB_FW_VERSION = "08.03.02" TI_LINUX_FW_SRCREV ?= "917625c2721eef8677df9e47d919005b0d4f93aa" SRCREV = "${TI_LINUX_FW_SRCREV}" diff --git a/meta-ti-bsp/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb b/meta-ti-bsp/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb new file mode 100644 index 00000000..90af55f1 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb @@ -0,0 +1,23 @@ +SUMMARY = "TI Foundational security Low Power Management Stub" + +require recipes-bsp/ti-linux-fw/ti-linux-fw.inc + +PV = "${TIFS_LPM_STUB_FW_VERSION}" +PR = "${INC_PR}.0" + +CLEANBROKEN = "1" + +COMPATIBLE_MACHINE = "am62xx-evm" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +S = "${WORKDIR}/git" + +TARGET = "ti-fs-stub-firmware-am62x-gp-signed.bin" + +do_install() { + install -d ${D}${nonarch_base_libdir}/firmware/ti-sysfw/ + install -m 0644 ${S}/ti-sysfw/${TARGET} ${D}${nonarch_base_libdir}/firmware/ti-sysfw/${TARGET} +} + +FILES:${PN} = "${nonarch_base_libdir}/firmware" -- cgit v1.2.3-54-g00ecf