u-boot-ti: deploy u-boot-spl.bin for all K3 and add staging into sysroot
PATCH 1/2 u-boot-ti: deploy u-boot-spl.bin for all K3 and add staging into sysroot
From: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
--- recipes-bsp/u-boot/u-boot-ti.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti.inc +4 -2
@@ -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"
Signature · 1 line
2.7.4
PATCH 2/2 ti-sci-fw: pick up u-boot-spl.bin from sysroot and simplify dependency
From: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
--- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +2 -5
@@ -1,10 +1,7 @@ require recipes-bsp/ti-sci-fw/ti-sci-fw.inc DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" - -UBOOT_DEPENDS = "" -UBOOT_DEPENDS_j7200-evm-k3r5 = "u-boot-ti-staging:do_deploy" -do_compile[depends] += "${UBOOT_DEPENDS}" +DEPENDS_append_j7200-evm-k3r5 = " u-boot-ti-staging" CLEANBROKEN = "1" PR = "r1"
@@ -49,7 +46,7 @@ EXTRA_OEMAKE_HS = " \ " EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}" -EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${DEPLOY_DIR_IMAGE}/u-boot-spl.bin"" +EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" do_compile() { cd ${WORKDIR}/imggen/
Signature · 1 line
2.7.4