diff options
| author | Beleswar Padhi <b-padhi@ti.com> | 2025-04-10 16:01:02 +0530 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2025-04-23 14:21:16 -0500 |
| commit | a15a36cf34df4d995d4e177306c733cbe81bb79b (patch) | |
| tree | aaa65eec7f4275ec2f6583d41bbacef6e8860f60 /meta-ti-bsp | |
| parent | ab849fb0a960b67077398d2b770c44f30c43e56b (diff) | |
| download | meta-ti-a15a36cf34df4d995d4e177306c733cbe81bb79b.tar.gz | |
ti-hsm-demo-fw: Add a recipe to export prebuilt HSM demo firmware
Add a recipe to deploy the HSM demo firmware to the DEPLOYDIR, to be
picked up by the tisdk-core-bundle for the prebuilt binaries directory.
This firmware is then further picked by U-Boot and packaged inside
tispl.bin FIT image for loading the HSM M4 core in applicable SoCs.
Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp')
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/ti-hsm-fw/ti-hsm-demo-fw_git.bb | 24 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 1 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 4 |
3 files changed, 29 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/ti-hsm-fw/ti-hsm-demo-fw_git.bb b/meta-ti-bsp/recipes-bsp/ti-hsm-fw/ti-hsm-demo-fw_git.bb new file mode 100644 index 00000000..f6a7b43f --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/ti-hsm-fw/ti-hsm-demo-fw_git.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | SUMMARY = "TI HSM demo Firmware" | ||
| 2 | |||
| 3 | inherit deploy | ||
| 4 | |||
| 5 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
| 6 | |||
| 7 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 8 | |||
| 9 | PV = "${TI_HSM_DEMO_FW_VERSION}" | ||
| 10 | PR = "${INC_PR}.0" | ||
| 11 | |||
| 12 | COMPATIBLE_MACHINE = "j721s2|j784s4" | ||
| 13 | |||
| 14 | HSM_FW_SOC:j721s2 = "j721s2" | ||
| 15 | HSM_FW_SOC:j784s4 = "j784s4" | ||
| 16 | |||
| 17 | HSM_BINARY = "hsm-demo-firmware-${HSM_FW_SOC}*.bin" | ||
| 18 | |||
| 19 | do_deploy() { | ||
| 20 | install -d ${DEPLOYDIR}/ti-hsm | ||
| 21 | install -m 644 ${S}/ti-hsm/${HSM_BINARY} ${DEPLOYDIR}/ti-hsm | ||
| 22 | } | ||
| 23 | |||
| 24 | addtask deploy before do_build after do_compile | ||
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 287f3bb7..ba4646be 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 | |||
| @@ -16,6 +16,7 @@ IMG_DEC_FW_VERSION = "1.0" | |||
| 16 | CNM_WAVE521_FW_VERSION = "1.0.7" | 16 | CNM_WAVE521_FW_VERSION = "1.0.7" |
| 17 | TI_DM_FW_VERSION = "11.00.09" | 17 | TI_DM_FW_VERSION = "11.00.09" |
| 18 | TI_SYSFW_VERSION = "11.00.07" | 18 | TI_SYSFW_VERSION = "11.00.07" |
| 19 | TI_HSM_DEMO_FW_VERSION = "11.00.09" | ||
| 19 | 20 | ||
| 20 | TI_LINUX_FW_SRCREV ?= "c3ad8113c766bee7b8ddfae222e9b8017b565ea3" | 21 | TI_LINUX_FW_SRCREV ?= "c3ad8113c766bee7b8ddfae222e9b8017b565ea3" |
| 21 | SRCREV = "${TI_LINUX_FW_SRCREV}" | 22 | SRCREV = "${TI_LINUX_FW_SRCREV}" |
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index 41d4abdd..3c56d8b2 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | |||
| @@ -40,6 +40,10 @@ DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-n | |||
| 40 | DEPENDS:append:k3 = " ti-sci-fw" | 40 | DEPENDS:append:k3 = " ti-sci-fw" |
| 41 | DEPENDS:append:k3r5 = " ti-sci-fw" | 41 | DEPENDS:append:k3r5 = " ti-sci-fw" |
| 42 | 42 | ||
| 43 | # HSM Demo Firmware is only applicable for J721S2 & J784S4 devices | ||
| 44 | DEPENDS:append:j721s2 = " ti-hsm-demo-fw" | ||
| 45 | DEPENDS:append:j784s4 = " ti-hsm-demo-fw" | ||
| 46 | |||
| 43 | DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f" | 47 | DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f" |
| 44 | 48 | ||
| 45 | PLAT_SFX = "" | 49 | PLAT_SFX = "" |
