Skip to contentSkip to conversation

ti-core-initramfs: Change assignment of IMAGE_BOOT_FILES

PATCH In review Ryan Eatmon 3 participants 5 messages Feb 17

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ti-core-initramfs: Change assignment of IMAGE_BOOT_FILES

The += setting was overriding the weak ?= assignment of IMAGE_BOOT_FILES in k3.inc. This resulted in nothing going into the boot partition of the wic image. Change to :append to force this to occur after all other settings of IMAGE_BOOT_FILES in the conf files have processed.

---
v2: Fix spelling error in commit message.

 meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc +1 -1
index 9d3cc612..475234a1 100644
@@ -20,4 +20,4 @@ do_image_wic[depends] += "${@ '${TI_CORE_INITRAMFS_IMAGE}:do_image_complete' if
 
 TI_WKS_INITRAMFS ?= "${@ ',initrd=${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
 
-IMAGE_BOOT_FILES += "${@ '${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
+IMAGE_BOOT_FILES:append = " ${@ '${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
Signature · 1 line
2.43.0
#1 lore raw

meta-ti / na / 20260217161041.786432-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 v2] ti-core-initramfs: Change assignment of IMAGE_BOOT_FILES
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Tue, 17 Feb 2026 10:10:41 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 191366355266f3f009dc43227083621baadb592c

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-ltsprep.202602130934
- Commit SHA: 1c2398c320609f8f473a30f15de592549c461fbb

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

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

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

#2 lore raw
In reply to Ryan Eatmon
Quoted 2 lines · Ryan Eatmon via lists.yoctoproject.org

The += setting was overriding the weak ?= assignment of IMAGE_BOOT_FILES in k3.inc. This resulted in nothing going into the boot partition of the

Could the weak assignment in k3.inc be changed to a +=? Seems like that would have the same effect and prevent any future issues like this.

Andrew

Quoted 31 lines

wic image. Change to :append to force this to occur after all other settings of IMAGE_BOOT_FILES in the conf files have processed.

---
v2: Fix spelling error in commit message.

  meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc +1 -2
index 9d3cc612..475234a1 100644
@@ -20,4 +20,4 @@ do_image_wic[depends] += "${@ '${TI_CORE_INITRAMFS_IMAGE}:do_image_complete' if
 
  TI_WKS_INITRAMFS ?= "${@ ',initrd=${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
 
-IMAGE_BOOT_FILES += "${@ '${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
+IMAGE_BOOT_FILES:append = " ${@ '${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#19524): https://lists.yoctoproject.org/g/meta-ti/message/19524
Mute This Topic: https://lists.yoctoproject.org/mt/117859038/3619733
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
Quoted 6 lines · Andrew Davis
Quoted 2 lines · Ryan Eatmon via lists.yoctoproject.org

The += setting was overriding the weak ?= assignment of IMAGE_BOOT_FILES in k3.inc.  This resulted in nothing going into the boot partition of the

Could the weak assignment in k3.inc be changed to a +=? Seems like that would have the same effect and prevent any future issues like this.

I would say no. That is the default list. If a platform needs something else then it can simply set IMAGE_BOOT_FILES to something else. But if it was a +=, then the platform would need to use :remove to remove things it does not want.

Quoted 35 lines

Andrew

Quoted 32 lines

wic image.  Change to :append to force this to occur after all other settings of IMAGE_BOOT_FILES in the conf files have processed.

---
v2: Fix spelling error in commit message.

  meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc +0 -0
index 9d3cc612..475234a1 100644
@@ -20,4 +20,4 @@ do_image_wic[depends] += "${@ 

'${TI_CORE_INITRAMFS_IMAGE}:do_image_complete' if
  TI_WKS_INITRAMFS ?= "${@ ',initrd=${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}" -IMAGE_BOOT_FILES += "${@ '${TI_CORE_INITRAMFS_IMAGE_FILE}' if
d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
+IMAGE_BOOT_FILES:append = " ${@ '${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19524): https://lists.yoctoproject.org/g/meta-ti/message/19524
Mute This Topic: https://lists.yoctoproject.org/mt/117859038/3619733
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#4 lore raw
Quoted 12 lines · Ryan Eatmon
Quoted 6 lines · Andrew Davis
Quoted 2 lines · Ryan Eatmon via lists.yoctoproject.org

The += setting was overriding the weak ?= assignment of IMAGE_BOOT_FILES in k3.inc.  This resulted in nothing going into the boot partition of the

Could the weak assignment in k3.inc be changed to a +=? Seems like that would have the same effect and prevent any future issues like this.

I would say no.  That is the default list.  If a platform needs something else then it can simply set IMAGE_BOOT_FILES to something else.   But if it was a +=, then the platform would need to use :remove to remove things it does not want.

Given this patch, isn't the need for :remove now also true for ti-core-initramfs.cpio.xz? IMAGE_BOOT_FILES seems to be a purely additive list, I can't image some K3 platform wanting to remove say tiboot3.bin..

Andrew

Quoted 34 lines
Quoted 33 lines

Andrew

Quoted 29 lines

wic image.  Change to :append to force this to occur after all other settings of IMAGE_BOOT_FILES in the conf files have processed.

---
v2: Fix spelling error in commit message.

  meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc +0 -0
index 9d3cc612..475234a1 100644
@@ -20,4 +20,4 @@ do_image_wic[depends] += "${@ '${TI_CORE_INITRAMFS_IMAGE}:do_image_complete' if

  TI_WKS_INITRAMFS ?= "${@ ',initrd=${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"

meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc +1 -2
-IMAGE_BOOT_FILES += "${@ '${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
+IMAGE_BOOT_FILES:append = " ${@ '${TI_CORE_INITRAMFS_IMAGE_FILE}' if d.getVar('TI_CORE_INITRAMFS_ENABLED') == "1" else ''}"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#19524): https://lists.yoctoproject.org/g/meta-ti/message/19524
Mute This Topic: https://lists.yoctoproject.org/mt/117859038/3619733
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-