diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2021-02-10 12:58:23 +0000 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2021-02-10 13:59:30 -0600 |
commit | a882433f3e340d6fa20441cac15af5f3473c7bb5 (patch) | |
tree | 93ec6db33dfa17f0394c575d2ae2899393f0dc62 /recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | |
parent | 9ae470af880a1395ce5f2cfe18cfd368fc2cb7e8 (diff) | |
download | meta-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.bb | 16 |
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 | |||
3 | DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" | 3 | DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" |
4 | DEPENDS_append_j7200-evm-k3r5 = " virtual/bootloader" | 4 | DEPENDS_append_j7200-evm-k3r5 = " virtual/bootloader" |
5 | DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader" | 5 | DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader" |
6 | DEPENDS_append_am64xx-sk-k3r5 = " virtual/bootloader" | ||
6 | 7 | ||
7 | CLEANBROKEN = "1" | 8 | CLEANBROKEN = "1" |
8 | PR = "r1" | 9 | PR = "r1" |
@@ -53,6 +54,7 @@ EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']} | |||
53 | 54 | ||
54 | EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" | 55 | EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" |
55 | EXTRA_OEMAKE_append_am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" | 56 | EXTRA_OEMAKE_append_am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" |
57 | EXTRA_OEMAKE_append_am64xx-sk-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" | ||
56 | 58 | ||
57 | do_compile() { | 59 | do_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 | ||
118 | do_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 | |||
125 | do_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 | |||
116 | addtask deploy before do_build after do_compile | 132 | addtask deploy before do_build after do_compile |