From 6f56c41ec8b677144bd6faeb29abe84a49525a3c Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Wed, 26 Aug 2020 07:00:23 +0000 Subject: [PATCH] u-boot-ti: deploy u-boot-spl.bin for all K3 and add staging into sysroot Signed-off-by: Denys Dmytriyenko --- recipes-bsp/u-boot/u-boot-ti.inc | 6 ++++-- 1 file 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" 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"