This allows users of the HS SDK to run on GP EVMs. This file
can be used instead of the HS default.

Signed-off-by: Andrew Davis <a...@ti.com>
---
 conf/machine/am64xx-hs-evm.conf        |  2 ++
 recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 13 +++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/conf/machine/am64xx-hs-evm.conf b/conf/machine/am64xx-hs-evm.conf
index ebbe2e62..85c5325b 100644
--- a/conf/machine/am64xx-hs-evm.conf
+++ b/conf/machine/am64xx-hs-evm.conf
@@ -18,4 +18,6 @@ SPL_BINARY = "tispl.bin_HS"
 UBOOT_BINARY = "u-boot.img_HS"
 UBOOT_SYMLINK = "u-boot.img"
 
+IMAGE_BOOT_FILES += "tiboot3-am64x-gp-evm.bin"
+
 TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
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 1b2ea184..c96078e6 100644
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -69,6 +69,11 @@ do_compile() {
        oe_runmake
 }
 
+do_compile_prepend_am64xx-hs-evm-k3r5() {
+       cd ${WORKDIR}/imggen/
+       oe_runmake SOC_TYPE=gp
+}
+
 do_install() {
        install -d ${D}/boot
 
@@ -86,6 +91,10 @@ do_install() {
        fi
 }
 
+do_install_append_am64xx-hs-evm-k3r5() {
+       install -m 644 
${WORKDIR}/imggen/tiboot3-${SYSFW_SOC}-gp-${SYSFW_CONFIG}.bin 
${D}/boot/tiboot3-${SYSFW_SOC}-gp-${SYSFW_CONFIG}.bin
+}
+
 FILES_${PN} = "/boot"
 
 inherit deploy
@@ -109,4 +118,8 @@ do_deploy () {
        install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
 }
 
+do_deploy_append_am64xx-hs-evm-k3r5() {
+       install -m 644 
${WORKDIR}/imggen/tiboot3-${SYSFW_SOC}-gp-${SYSFW_CONFIG}.bin 
${DEPLOYDIR}/tiboot3-${SYSFW_SOC}-gp-${SYSFW_CONFIG}.bin
+}
+
 addtask deploy before do_build after do_compile
-- 
2.36.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14864): 
https://lists.yoctoproject.org/g/meta-ti/message/14864
Mute This Topic: https://lists.yoctoproject.org/mt/92120378/21656
Group Owner: meta-ti+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to