[meta-ti][master/wrynose][PATCH 1/2] packagegroup-ti-co re-initramfs: Move the inclusion of initramfs-modu le-netsetup

Ryan Eatmon <[email protected]> Tue, 28 Jul 2026 09:10:50 -0500
Newsgroups org.yoctoproject.lists.meta-ti
Message-ID <[email protected]>
The list of what modules are required for the initramfs has changed as
of 7.1.  The CPSW driver is no longer built into the kernel and is
required to be built as a module and included in the initramfs for all K3
boards.

While the existing solution for including initramfs-module-netsetup was
fine, it did not trigger the building of initramfs for all k3 platforms.
It would just include it if the ti-core-initramfs was built.

This change tells the system to build and include the needed packages
for all k3 and makes sure that the ti-core-initramfs is built for all of
them.

Signed-off-by: Ryan Eatmon <[email protected]>
---
 meta-ti-bsp/conf/machine/include/k3.inc                        | 3 +++
 .../recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb     | 2 --
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
index 6833789c..2ebbfb9e 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -31,6 +31,9 @@ EXTRA_IMAGEDEPENDS += "virtual/bootloader"
 
 MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image ti-kernel-fitimage"
 
+TI_CORE_INITRAMFS_EXTRA_INSTALL:append:bsp-mainline = " initramfs-module-netsetup"
+TI_CORE_INITRAMFS_EXTRA_INSTALL:append:bsp-next = " initramfs-module-netsetup"
+
 TFA_PLATFORM = "k3"
 
 # Use the expected value of the ubifs filesystem's volume name in the kernel
diff --git a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
index b4e6adff..a9eff847 100644
--- a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
+++ b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
@@ -23,5 +23,3 @@ RDEPENDS:${PN} += "\
     initramfs-module-nfsrootfs \
     nfs-utils-mount \
 "
-
-RDEPENDS:${PN}:append:bsp-next = " initramfs-module-netsetup"
-- 
2.43.0