aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2020-08-26 07:00:23 +0000
committerDenys Dmytriyenko <denys@ti.com>2020-08-26 02:47:39 +0000
commit6f2d567c25970836e5903d9c3181d7c2255556c9 (patch)
treefeb43aa0c3ecb680f628c8f199ec581e66ee513c /recipes-bsp
parented52f73e7c9e69400d7656214fad99abb053acce (diff)
downloadmeta-ti-6f2d567c25970836e5903d9c3181d7c2255556c9.tar.gz
meta-ti-6f2d567c25970836e5903d9c3181d7c2255556c9.tar.bz2
meta-ti-6f2d567c25970836e5903d9c3181d7c2255556c9.zip
u-boot-ti: deploy u-boot-spl.bin for all K3 and add staging into sysroot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/u-boot/u-boot-ti.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
index 4fe826613..f07dcfd0f 100644
--- a/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/recipes-bsp/u-boot/u-boot-ti.inc
@@ -53,10 +53,11 @@ S = "${WORKDIR}/git"
TI_SECURE_DEV_PKG ?= ""
export TI_SECURE_DEV_PKG
+SYSROOT_DIRS += "/boot"
+
# SPL (Second Program Loader) to be loaded over UART
SPL_UART_BINARY = "u-boot-spl.bin"
SPL_UART_BINARY_keystone = ""
-SPL_UART_BINARY_k3 = ""
SPL_UART_BINARY_k3r5 = ""
SPL_UART_BINARY_lego-ev3 = ""
SPL_UART_BINARY_j7200-evm-k3r5 = "u-boot-spl.bin"
@@ -384,9 +385,10 @@ do_deploy_append_keystone () {
# j7200 uses combined image for tiboot3.bin that includes u-boot-spl.bin and sysfw
# along with board PM/RM configs generated by k3-image-gen and comes from ti-sci-fw
-# hence move the legacy u-boot's tiboot3.bin out of the way
+# hence move the legacy u-boot's tiboot3.bin and u-boot-spl.bin out of the way
do_deploy_append_j7200-evm-k3r5 () {
mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
+ mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
TOOLCHAIN = "gcc"