summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb')
-rw-r--r--recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb18
1 files changed, 18 insertions, 0 deletions
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 646833a7..099473b4 100644
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -6,6 +6,7 @@ DEPENDS_append_j7200-hs-evm-k3r5 = " virtual/bootloader"
6DEPENDS_append_j721s2-evm-k3r5 = " virtual/bootloader" 6DEPENDS_append_j721s2-evm-k3r5 = " virtual/bootloader"
7DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader" 7DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader"
8DEPENDS_append_am64xx-hs-evm-k3r5 = " virtual/bootloader" 8DEPENDS_append_am64xx-hs-evm-k3r5 = " virtual/bootloader"
9DEPENDS_append_am62xx-evm-k3r5 = " virtual/bootloader"
9 10
10CLEANBROKEN = "1" 11CLEANBROKEN = "1"
11PR = "${INC_PR}.2" 12PR = "${INC_PR}.2"
@@ -29,6 +30,7 @@ SYSFW_PREFIX_j7-hs-evm-k3r5-sr1-1 = "ti-fs-firmware"
29SYSFW_PREFIX_j7200-evm-k3r5 = "ti-fs-firmware" 30SYSFW_PREFIX_j7200-evm-k3r5 = "ti-fs-firmware"
30SYSFW_PREFIX_j7200-hs-evm-k3r5 = "ti-fs-firmware" 31SYSFW_PREFIX_j7200-hs-evm-k3r5 = "ti-fs-firmware"
31SYSFW_PREFIX_j721s2-evm-k3r5 = "ti-fs-firmware" 32SYSFW_PREFIX_j721s2-evm-k3r5 = "ti-fs-firmware"
33SYSFW_PREFIX_am62xx-evm-k3r5 = "ti-fs-firmware"
32 34
33SYSFW_SUFFIX ?= "unknown" 35SYSFW_SUFFIX ?= "unknown"
34 36
@@ -63,6 +65,7 @@ EXTRA_OEMAKE_append_j7200-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-s
63EXTRA_OEMAKE_append_j721s2-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" 65EXTRA_OEMAKE_append_j721s2-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
64EXTRA_OEMAKE_append_am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" 66EXTRA_OEMAKE_append_am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
65EXTRA_OEMAKE_append_am64xx-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" 67EXTRA_OEMAKE_append_am64xx-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
68EXTRA_OEMAKE_append_am62xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
66 69
67do_compile() { 70do_compile() {
68 cd ${WORKDIR}/imggen/ 71 cd ${WORKDIR}/imggen/
@@ -170,4 +173,19 @@ do_deploy_am64xx-hs-evm-k3r5() {
170 install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ 173 install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
171} 174}
172 175
176do_install_am62xx-evm-k3r5() {
177 install -d ${D}/boot
178 install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
179 ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK}
180 ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
181}
182
183do_deploy_am62xx-evm-k3r5() {
184 install -d ${DEPLOYDIR}
185 install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
186 ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
187 ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
188 install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
189}
190
173addtask deploy before do_build after do_compile 191addtask deploy before do_build after do_compile