diff options
author | Ryan Eatmon <reatmon@ti.com> | 2022-05-04 15:11:22 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-05-04 16:45:50 -0500 |
commit | 4eff6e4232442a537e25a8ef8b2b592e6f714ffb (patch) | |
tree | e83fff970a6d4147542ea7105eff1735896fcca4 | |
parent | 1bfa882a58530d570b494ab1d0204b9fe99b5a20 (diff) | |
download | meta-ti-4eff6e4232442a537e25a8ef8b2b592e6f714ffb.tar.gz |
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 <nikhil.nd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 1 | ||||
-rw-r--r-- | recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb | 24 | ||||
-rw-r--r-- | recipes-kernel/linux/kernel-rdepends.inc | 4 |
3 files changed, 29 insertions, 0 deletions
diff --git a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc index 3ebdae30..47e76347 100644 --- a/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +++ b/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | |||
@@ -18,6 +18,7 @@ GOODIX_FW_VERSION = "1.0.0.0" | |||
18 | CADENCE_MHDP_FW_VERSION = "1.2.17" | 18 | CADENCE_MHDP_FW_VERSION = "1.2.17" |
19 | IMG_DEC_FW_VERSION = "1.0" | 19 | IMG_DEC_FW_VERSION = "1.0" |
20 | CNM_WAVE521_FW_VERSION = "1.0.00" | 20 | CNM_WAVE521_FW_VERSION = "1.0.00" |
21 | TIFS_LPM_STUB_FW_VERSION = "08.03.02" | ||
21 | 22 | ||
22 | TI_LINUX_FW_SRCREV ?= "917625c2721eef8677df9e47d919005b0d4f93aa" | 23 | TI_LINUX_FW_SRCREV ?= "917625c2721eef8677df9e47d919005b0d4f93aa" |
23 | SRCREV = "${TI_LINUX_FW_SRCREV}" | 24 | SRCREV = "${TI_LINUX_FW_SRCREV}" |
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..642a8d3a --- /dev/null +++ b/recipes-bsp/tifs-lpm-stub/tifs-lpm-stub_git.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "TI Foundational security Low Power Management Stub" | ||
2 | |||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
4 | |||
5 | PV = "${TIFS_LPM_STUB_FW_VERSION}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | CLEANBROKEN = "1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "am62xx-evm" | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | TARGET = "ti-fs-stub-firmware-am62x-gp-signed.bin" | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}${base_libdir}/firmware/ti-sysfw/ | ||
20 | install -m 0644 ${S}/ti-sysfw/${TARGET} ${D}${base_libdir}/firmware/ti-sysfw/${TARGET} | ||
21 | } | ||
22 | |||
23 | FILES_${PN} = "${base_libdir}/firmware" | ||
24 | |||
diff --git a/recipes-kernel/linux/kernel-rdepends.inc b/recipes-kernel/linux/kernel-rdepends.inc index 522d9674..17aee4c2 100644 --- a/recipes-kernel/linux/kernel-rdepends.inc +++ b/recipes-kernel/linux/kernel-rdepends.inc | |||
@@ -45,3 +45,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw" | |||
45 | 45 | ||
46 | # Add run-time dependency for Chips&Media Wave521 firmware to the rootfs | 46 | # Add run-time dependency for Chips&Media Wave521 firmware to the rootfs |
47 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-evm = " cnm-wave-fw" | 47 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j721s2-evm = " cnm-wave-fw" |
48 | |||
49 | # Add run-time dependency for TIFS Low Power Module stub | ||
50 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am62xx-evm = " tifs-lpm-stub" | ||
51 | |||