summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-bsp/u-boot
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2023-04-18 15:23:40 -0500
committerRyan Eatmon <reatmon@ti.com>2023-04-20 08:14:48 -0500
commit6fa3a588b7a1250a756c06e94fe6fdd28a57a8a6 (patch)
tree6fe08a1be7f2760a78c66bb9439a5f5174f456dd /meta-ti-bsp/recipes-bsp/u-boot
parentc2ae899fd4eeb47dbc07aa5a4bfd0e9b1cca4e19 (diff)
downloadmeta-ti-6fa3a588b7a1250a756c06e94fe6fdd28a57a8a6.tar.gz
ti-rtos-firmware: Use the same directory structure as linux-firmware
Currently we move this firmware around and put it in a directories named pdk-ipc/ and ethfw/. This does not match what is in linux-firmware which is what projects should expect /lib/firmware to match. This causes issues for projects that want to work both on meta-ti and also on any other distro. Switch to shipping the same directory structure as linux-firmware here. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-bsp/u-boot')
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
index 4f73a7b9..8e236dfe 100644
--- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
@@ -27,9 +27,19 @@ DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native python3-se
27 27
28DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f" 28DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
29 29
30PLAT_SFX = ""
31PLAT_SFX:j721e = "j721e"
32PLAT_SFX:j7200 = "j7200"
33PLAT_SFX:j721s2 = "j721s2"
34PLAT_SFX:j784s4 = "j784s4"
35PLAT_SFX:am65xx = "am65xx"
36PLAT_SFX:am64xx = "am64xx"
37PLAT_SFX:am62xx = "am62xx"
38PLAT_SFX:am62axx = "am62axx"
39
30PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a" 40PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
31PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os" 41PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os"
32PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/pdk-ipc/${DM_FIRMWARE},,ti-rtos-firmware" 42PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-rtos-firmware"
33 43
34PACKAGECONFIG:append:aarch64 = " atf optee" 44PACKAGECONFIG:append:aarch64 = " atf optee"
35PACKAGECONFIG:append:j721e = " dm" 45PACKAGECONFIG:append:j721e = " dm"