diff options
| author | Denys Dmytriyenko <denys@ti.com> | 2020-08-26 07:00:23 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2020-08-26 02:47:39 +0000 |
| commit | 6f2d567c25970836e5903d9c3181d7c2255556c9 (patch) | |
| tree | feb43aa0c3ecb680f628c8f199ec581e66ee513c | |
| parent | ed52f73e7c9e69400d7656214fad99abb053acce (diff) | |
| download | meta-ti-6f2d567c25970836e5903d9c3181d7c2255556c9.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.inc | 6 |
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" | |||
| 53 | TI_SECURE_DEV_PKG ?= "" | 53 | TI_SECURE_DEV_PKG ?= "" |
| 54 | export TI_SECURE_DEV_PKG | 54 | export TI_SECURE_DEV_PKG |
| 55 | 55 | ||
| 56 | SYSROOT_DIRS += "/boot" | ||
| 57 | |||
| 56 | # SPL (Second Program Loader) to be loaded over UART | 58 | # SPL (Second Program Loader) to be loaded over UART |
| 57 | SPL_UART_BINARY = "u-boot-spl.bin" | 59 | SPL_UART_BINARY = "u-boot-spl.bin" |
| 58 | SPL_UART_BINARY_keystone = "" | 60 | SPL_UART_BINARY_keystone = "" |
| 59 | SPL_UART_BINARY_k3 = "" | ||
| 60 | SPL_UART_BINARY_k3r5 = "" | 61 | SPL_UART_BINARY_k3r5 = "" |
| 61 | SPL_UART_BINARY_lego-ev3 = "" | 62 | SPL_UART_BINARY_lego-ev3 = "" |
| 62 | SPL_UART_BINARY_j7200-evm-k3r5 = "u-boot-spl.bin" | 63 | SPL_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 |
| 388 | do_deploy_append_j7200-evm-k3r5 () { | 389 | do_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 | ||
| 392 | TOOLCHAIN = "gcc" | 394 | TOOLCHAIN = "gcc" |
