diff mbox series

[meta-ti,master,v2,1/2] packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup

Message ID 20260728160205.2857025-1-reatmon@ti.com
State New
Headers show
Series [meta-ti,master,v2,1/2] packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup | expand

Commit Message

Ryan Eatmon July 28, 2026, 4:02 p.m. UTC
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 <reatmon@ti.com>
---
v2: Fix bad character in subject.

 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(-)

Comments

PRC Automation July 28, 2026, 4:05 p.m. UTC | #1
meta-ti / na / 20260728160205.2857025-1-reatmon

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-ti][master][PATCH v2 2/2] ti-core-initramfs: Decrease IMAGE_OVERHEAD_FACTOR
    WARN: Revised patch missing a comment. (REVISION-1)
        patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887



=========================================================
  apply-yocto-patch: FAIL
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH v2 1/2] packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Tue, 28 Jul 2026 11:02:04 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 0f0dabd880f9a1cfe8a095afb2ef9fa22e275112

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master
- Commit Author: Antonios Christidis <a-christidis@ti.com>
- Commit Subject: mtd-utils-ti: Update SRC_URI:remove due to oe-core update
- Commit SHA: e1286bc5ef11c38c625943184c1dfae711ebf85e

Patches
----------------------------------------
FAIL - [meta-ti][master][PATCH v2 1/2] packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup
    error: patch failed: meta-ti-bsp/conf/machine/include/k3.inc:31
    error: meta-ti-bsp/conf/machine/include/k3.inc: patch does not apply
    Applying: packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup
    Patch failed at 0001 packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup
diff mbox series

Patch

diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
index c08b5612..b571d544 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"
 
 # Change the default memory location for all k3 devices.  This requires an
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"