Skip to contentSkip to conversation

packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set

PATCH In review Denys Dmytriyenko 3 participants 6 messages Oct 23, 2025 – Oct 24, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set

From: Denys Dmytriyenko <[email protected]>

TI_INITRAMFS_KERNEL_MODULES gets set only for TI platfroms and ends up being undefined otherwise, which breaks parsing in yocto-check-layer and/or in multi-BSP setups. Ensure the variable is defined in the packagegroup, if not already set by the machine configuration.

---
 .../recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb      | 2 ++
 1 file changed, 2 insertions(+)
meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb +2 -0
index e9cf5e6b..6845f0c9 100644
@@ -2,6 +2,8 @@ SUMMARY = "Minimal initramfs for boot requirements"
 
 require recipes-core/packagegroups/packagegroup-core-boot.bb
 
+TI_INITRAMFS_KERNEL_MODULES ?= ""
+
 RDEPENDS:${PN} += "\
     ${TI_INITRAMFS_KERNEL_MODULES} \
     initramfs-framework-base \
Signature · 1 line
2.35.3
#1 lore raw

meta-ti / na / 20251023181013.25365-1-denis

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [master][PATCH] packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set
WARN: Commit message does not include file/recipe name: packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set. (COMMIT-MESSAGE-2)
patch

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [master][PATCH] packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set
- Submitter: From: Denys Dmytriyenko <[email protected]>
From: Denys Dmytriyenko <[email protected]>
- Date: Date: Thu, 23 Oct 2025 14:10:13 -0400
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: e5168559f0afa34f5b9a12215cfc418a2b6c77c5

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Telukula Jeevan Kumar Sahu <[email protected]>
- Commit Subject: conf: am335x-evm and am437x-evm: Bump up max_leb_cnt
- Commit SHA: 0473044cc244ce98ccd0300e5c8086433e5e520d

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

=========================================================
check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-ti-bsp/conf/machine/include/am62axx.inc:15
TI_INITRAMFS_KERNEL_MODULES:append:bsp-mainline = "kernel-module-tps6594-i2c"

WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-ti-bsp/conf/machine/include/am62axx.inc:16
TI_INITRAMFS_KERNEL_MODULES:append:bsp-next = "kernel-module-tps6594-i2c"

Code Summary
============

APPEND-2
-------------------------------------------
:append simply takes the specified string and concatenates it directly to the variable. Most of the time we want there to spaces between entries. This check flags us to check if the missing space is actually needed.

#2 lore raw

Hey, Ryan,

Something is wrong with PRC...

Quoted 11 lines · PRC Automation via lists.yoctoproject.org

meta-ti / na / 20251023181013.25365-1-denis

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [master][PATCH] packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set
WARN: Commit message does not include file/recipe name: packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set. (COMMIT-MESSAGE-2)

Well, packagegroup-ti-core-initramfs is actually the name of the recipe.

Quoted 10 lines

=========================================================
check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-ti-bsp/conf/machine/include/am62axx.inc:15
TI_INITRAMFS_KERNEL_MODULES:append:bsp-mainline = "kernel-module-tps6594-i2c"

Quoted 3 lines

WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-ti-bsp/conf/machine/include/am62axx.inc:16
TI_INITRAMFS_KERNEL_MODULES:append:bsp-next = "kernel-module-tps6594-i2c"

This is not in my patch, but is a valid concern - need to correct it for am62axx.inc, while other machines appending to this variable already use a leading space...

Quoted 14 lines

Code Summary
============

APPEND-2
-------------------------------------------
:append simply takes the specified string and concatenates it directly to the variable. Most of the time we want there to spaces between entries. This check flags us to check if the missing space is actually needed.

#3 lore raw
Quoted 26 lines · Denys Dmytriyenko

Hey, Ryan, Something is wrong with PRC. . . On Thu, Oct 23, 2025 at 01:  15: 25PM -0500, PRC Automation via lists. yoctoproject. org wrote: > meta-ti / na / 20251023181013. 25365-1-denis > > PRC Results: FAIL > > ========================================================= ZjQcmQRYFpfptBannerStart
This message was sent from outside of Texas Instruments.
Do not click links or open attachments unless you recognize the source of this email and know the content is safe.
Report Suspicious
<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/G3vK!uJdqXRfP1k0bamYkPPNDnBRijNbc-tnZWIKmvuQwEU3-lCPVdNywd9Z3mgF2f24Zn2T7Or4b$>
ZjQcmQRYFpfptBannerEnd

Hey, Ryan,

Something is wrong with PRC...

Quoted 11 lines · PRC Automation via lists.yoctoproject.org

meta-ti / na / 20251023181013.25365-1-denis

PRC Results: FAIL

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [master][PATCH] packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set
WARN: Commit message does not include file/recipe name: packagegroup-ti-core-initramfs: ensure TI_INITRAMFS_KERNEL_MODULES is set. (COMMIT-MESSAGE-2)

Quoted 1 line

Well, packagegroup-ti-core-initramfs is actually the name of the recipe.

Yeah, it's on my list to fix. Hoping today I can knock off the small things like this (and hooking up check-layers) into PRC.

Quoted 11 lines
Quoted 11 lines

=========================================================
check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-ti-bsp/conf/machine/include/am62axx.inc:15
TI_INITRAMFS_KERNEL_MODULES:append:bsp-mainline = "kernel-module-tps6594-i2c"

Quoted 7 lines
Quoted 3 lines

WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-ti-bsp/conf/machine/include/am62axx.inc:16
TI_INITRAMFS_KERNEL_MODULES:append:bsp-next = "kernel-module-tps6594-i2c"

This is not in my patch, but is a valid concern - need to correct it for am62axx.inc, while other machines appending to this variable already use a leading space...

Just sent the patch that fixes this.

Quoted 15 lines
Quoted 14 lines

Code Summary
============

APPEND-2
-------------------------------------------
:append simply takes the specified string and concatenates it directly to the variable. Most of the time we want there to spaces between entries. This check flags us to check if the missing space is actually needed.

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#4 lore raw
In reply to Denys Dmytriyenko
Quoted 17 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

TI_INITRAMFS_KERNEL_MODULES gets set only for TI platfroms and ends up being undefined otherwise, which breaks parsing in yocto-check-layer and/or in multi-BSP setups. Ensure the variable is defined in the packagegroup, if not already set by the machine configuration.

---
  .../recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb      | 2 ++
  1 file changed, 2 insertions(+)
meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb +0 -0
index e9cf5e6b..6845f0c9 100644

meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb SUMMARY = "Minimal initramfs for boot requirements" · line 9

Quoted 8 lines
meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb +2 -0
@@ -2,6 +2,8 @@ SUMMARY = "Minimal initramfs for boot requirements"
 
  require recipes-core/packagegroups/packagegroup-core-boot.bb
 
+TI_INITRAMFS_KERNEL_MODULES ?= ""
+
  RDEPENDS:${PN} += "\
      ${TI_INITRAMFS_KERNEL_MODULES} \
      initramfs-framework-base \

I'm going to send an alternative patch. We have the default assignment in ti-soc.inc, and my patch will remove that as well as it not needed there. I'm going to blend your commit message and mine into a v2. Sending shortly.

Quoted 10 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19156): https://lists.yoctoproject.org/g/meta-ti/message/19156
Mute This Topic: https://lists.yoctoproject.org/mt/115915657/6551054
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
#5 lore raw
Quoted 15 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 12 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

TI_INITRAMFS_KERNEL_MODULES gets set only for TI platfroms and ends up being undefined otherwise, which breaks parsing in yocto-check-layer and/or in multi-BSP setups. Ensure the variable is defined in the packagegroup, if not already set by the machine configuration.

---
 .../recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb      | 2 ++
 1 file changed, 2 insertions(+)
Quoted 16 lines

meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb SUMMARY = "Minimal initramfs for boot requirements" · line 7

Quoted 11 lines
meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb +2 -0
index e9cf5e6b..6845f0c9 100644
@@ -2,6 +2,8 @@ SUMMARY = "Minimal initramfs for boot requirements"
 require recipes-core/packagegroups/packagegroup-core-boot.bb
+TI_INITRAMFS_KERNEL_MODULES ?= ""
+
 RDEPENDS:${PN} += "\
     ${TI_INITRAMFS_KERNEL_MODULES} \
     initramfs-framework-base \

I'm going to send an alternative patch. We have the default assignment in ti-soc.inc, and my patch will remove that as well as it not needed there. I'm going to blend your commit message and mine into a v2. Sending shortly.

Yeah, I thought about the same, but decided to leave it there, as it doesn't hurt.