summaryrefslogtreecommitdiffstats
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 01:05:36 +0000
commit6f56c41ec8b677144bd6faeb29abe84a49525a3c (patch)
tree370f463291e687402054478db00586ad7eded667
parentd231ad8d09cd80654b2749aa67ede5aa9b538d3a (diff)
downloadmeta-ti-6f56c41ec8b677144bd6faeb29abe84a49525a3c.tar.gz
u-boot-ti: deploy u-boot-spl.bin for all K3 and add staging into sysroot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-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 4fe82661..f07dcfd0 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"
53TI_SECURE_DEV_PKG ?= "" 53TI_SECURE_DEV_PKG ?= ""
54export TI_SECURE_DEV_PKG 54export TI_SECURE_DEV_PKG
55 55
56SYSROOT_DIRS += "/boot"
57
56# SPL (Second Program Loader) to be loaded over UART 58# SPL (Second Program Loader) to be loaded over UART
57SPL_UART_BINARY = "u-boot-spl.bin" 59SPL_UART_BINARY = "u-boot-spl.bin"
58SPL_UART_BINARY_keystone = "" 60SPL_UART_BINARY_keystone = ""
59SPL_UART_BINARY_k3 = ""
60SPL_UART_BINARY_k3r5 = "" 61SPL_UART_BINARY_k3r5 = ""
61SPL_UART_BINARY_lego-ev3 = "" 62SPL_UART_BINARY_lego-ev3 = ""
62SPL_UART_BINARY_j7200-evm-k3r5 = "u-boot-spl.bin" 63SPL_UART_BINARY_j7200-evm-k3r5 = "u-boot-spl.bin"
@@ -384,9 +385,10 @@ do_deploy_append_keystone () {
384 385
385# j7200 uses combined image for tiboot3.bin that includes u-boot-spl.bin and sysfw 386# j7200 uses combined image for tiboot3.bin that includes u-boot-spl.bin and sysfw
386# along with board PM/RM configs generated by k3-image-gen and comes from ti-sci-fw 387# along with board PM/RM configs generated by k3-image-gen and comes from ti-sci-fw
387# hence move the legacy u-boot's tiboot3.bin out of the way 388# hence move the legacy u-boot's tiboot3.bin and u-boot-spl.bin out of the way
388do_deploy_append_j7200-evm-k3r5 () { 389do_deploy_append_j7200-evm-k3r5 () {
389 mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true 390 mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
391 mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
390} 392}
391 393
392TOOLCHAIN = "gcc" 394TOOLCHAIN = "gcc"