summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2021-02-10 12:58:23 +0000
committerPraneeth Bajjuri <praneeth@ti.com>2021-02-10 13:59:30 -0600
commita882433f3e340d6fa20441cac15af5f3473c7bb5 (patch)
tree93ec6db33dfa17f0394c575d2ae2899393f0dc62 /recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
parent9ae470af880a1395ce5f2cfe18cfd368fc2cb7e8 (diff)
downloadmeta-ti-a882433f3e340d6fa20441cac15af5f3473c7bb5.tar.gz
am64xx-sk Add combined boot build support
Add combined boot flow support for the AM64XX SK device. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
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.bb16
1 files changed, 16 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 d1d10a60..e7580a57 100644
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -3,6 +3,7 @@ require recipes-bsp/ti-sci-fw/ti-sci-fw.inc
3DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" 3DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
4DEPENDS_append_j7200-evm-k3r5 = " virtual/bootloader" 4DEPENDS_append_j7200-evm-k3r5 = " virtual/bootloader"
5DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader" 5DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader"
6DEPENDS_append_am64xx-sk-k3r5 = " virtual/bootloader"
6 7
7CLEANBROKEN = "1" 8CLEANBROKEN = "1"
8PR = "r1" 9PR = "r1"
@@ -53,6 +54,7 @@ EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}
53 54
54EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" 55EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
55EXTRA_OEMAKE_append_am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" 56EXTRA_OEMAKE_append_am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
57EXTRA_OEMAKE_append_am64xx-sk-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
56 58
57do_compile() { 59do_compile() {
58 cd ${WORKDIR}/imggen/ 60 cd ${WORKDIR}/imggen/
@@ -113,4 +115,18 @@ do_deploy_am64xx-evm-k3r5() {
113 ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} 115 ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
114} 116}
115 117
118do_install_am64xx-sk-k3r5() {
119 install -d ${D}/boot
120 install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
121 ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK}
122 ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
123}
124
125do_deploy_am64xx-sk-k3r5() {
126 install -d ${DEPLOYDIR}
127 install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
128 ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
129 ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
130}
131
116addtask deploy before do_build after do_compile 132addtask deploy before do_build after do_compile