Skip to contentSkip to conversation

u-boot: Update trusted-firmware-a locations

PATCH In review Ryan Eatmon 2 participants 2 messages Dec 19, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 u-boot: Update trusted-firmware-a locations

A recent change in meta-arm installs all of files into a trusted-firmware-a directory. We need that added to the paths for the PACKAGECONFIG settings so that u-boot can compile.

Take this opportunity to also break all of the firmware paths into separate variables in case we need to override one of them in the future.

---
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +12 -4
index 277ec7fe..92ec5ca8 100644
@@ -64,10 +64,18 @@ PLAT_SFX:am62dxx = "am62dxx"
 PLAT_SFX:am62lxx = "am62lxx"
 PLAT_SFX:am62pxx = "am62pxx"
 
-PACKAGECONFIG[ap-trusted-rom] = "BL1=${STAGING_DIR_HOST}/firmware/bl1.bin,,trusted-firmware-a"
-PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
-PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os"
-PACKAGECONFIG[dm] = "TI_DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
+ATF_BL1_PATH = "${STAGING_DIR_HOST}/firmware/trusted-firmware-a/bl1.bin"
+
+ATF_BL31_PATH = "${STAGING_DIR_HOST}/firmware/trusted-firmware-a/bl31.bin"
+
+OPTEE_BL32_PATH = "${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin"
+
+TI_DM_PATH = "${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE}"
+
+PACKAGECONFIG[ap-trusted-rom] = "BL1=${ATF_BL1_PATH},,trusted-firmware-a"
+PACKAGECONFIG[atf] = "BL31=${ATF_BL31_PATH},,trusted-firmware-a"
+PACKAGECONFIG[optee] = "TEE=${OPTEE_BL32_PATH},,optee-os"
+PACKAGECONFIG[dm] = "TI_DM=${TI_DM_PATH},,ti-dm-fw"
 
 PACKAGECONFIG:append:aarch64 = " atf optee"
 PACKAGECONFIG:append:j721e = " dm"
Signature · 1 line
2.43.0
#1 lore raw

meta-ti / na / 20251219155144.161794-1-reatmon

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] u-boot: Update trusted-firmware-a locations
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Fri, 19 Dec 2025 09:51:44 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: eea2d449bbda53aa3bb99ad82700937a80c1177d

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-next
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202512190100
- Commit SHA: 6093ac7c4688919ff146b20ea0a5f5f6607dd385

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed