@@ -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}"
@@ -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
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 <afd@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(+)