[meta-ti,dunfell,07/11] recipes-bsp: tifs-lpm-stub: Introduce new recipe

Message ID 20220322162528.15298-8-reatmon@ti.com
State Superseded
Headers show
Series Adding support for am62xx | expand

Commit Message

Ryan Eatmon March 22, 2022, 4:25 p.m. UTC
From: Nikhil Devshatwar <nikhil.nd@ti.com>

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 <nikhil.nd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../tifs-lpm-stub/tifs-lpm-stub_git.bb        | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb

Patch

diff --git a/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
new file mode 100644
index 00000000..bc341035
--- /dev/null
+++ b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb
@@ -0,0 +1,21 @@ 
+SUMMARY = "TI Foundational security Low Power Management Stub"
+
+require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
+
+PV = "v2021.09a"
+
+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}${base_libdir}/firmware/ti-sysfw/
+	install -m 0644 ${S}/ti-sysfw/${TARGET} ${D}${base_libdir}/firmware/ti-sysfw/${TARGET}
+}
+
+FILES_${PN} = "${base_libdir}/firmware"