From 95d1f6503c679596e29a4ed5d7a12a9d7c7a818a Mon Sep 17 00:00:00 2001 From: Manorit Chawdhry Date: Mon, 7 Nov 2022 14:50:45 +0530 Subject: [PATCH] j784s4-hs: changes to support new hs platform Changes to support new j784s4-hs platform in: 1) ti-sci-fw_git: Update firmware prefix for j784s4-hs 2) atf: sign the image 4) optee: sign the image Signed-off-by: Manorit Chawdhry Signed-off-by: Ryan Eatmon --- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 + recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 4 ++++ recipes-security/optee/optee-os_%.bbappend | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb index e5dcdd61..79c39ee5 100644 --- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb @@ -36,6 +36,7 @@ SYSFW_PREFIX_j7200-hs-evm-k3r5 = "fs" SYSFW_PREFIX_j721s2-evm-k3r5 = "fs" SYSFW_PREFIX_j721s2-hs-evm-k3r5 = "fs" SYSFW_PREFIX_j784s4-evm-k3r5 = "fs" +SYSFW_PREFIX_j784s4-hs-evm-k3r5 = "fs" SYSFW_PREFIX_am62xx-evm-k3r5 = "fs" SYSFW_PREFIX_am62xx-lp-evm-k3r5 = "fs" diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend index 53e88d7e..e3c171dc 100644 --- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend @@ -42,3 +42,7 @@ do_compile_append_j7200-hs-evm() { do_compile_append_j721s2-hs-evm() { tfa_sign_k3hs } + +do_compile_append_j784s4-hs-evm() { + tfa_sign_k3hs +} diff --git a/recipes-security/optee/optee-os_%.bbappend b/recipes-security/optee/optee-os_%.bbappend index 4a4ebfd7..2b591d58 100644 --- a/recipes-security/optee/optee-os_%.bbappend +++ b/recipes-security/optee/optee-os_%.bbappend @@ -81,6 +81,10 @@ do_compile_append_j721s2-hs-evm() { optee_sign_k3hs } +do_compile_append_j784s4-hs-evm() { + optee_sign_k3hs +} + do_install_append_ti-soc() { install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true