Skip to contentSkip to conversation

packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup

PATCH Superseded Ryan Eatmon 3 participants 5 messages Jul 28

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup

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.

---
 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(-)
meta-ti-bsp/conf/machine/include/k3.inc +3 -0
index 6833789c..2ebbfb9e 100644
@@ -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
meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb +0 -2
index b4e6adff..a9eff847 100644
@@ -23,5 +23,3 @@ RDEPENDS:${PN} += "\
     initramfs-module-nfsrootfs \
     nfs-utils-mount \
 "
-
-RDEPENDS:${PN}:append:bsp-next = " initramfs-module-netsetup"
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 ti-core-initramfs: Decrease IMAGE_OVERHEAD_FACTOR

Adding in the initramfs-module-netsetup has grown the initramfs by a small amount.

---
 meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb +1 -1
index e5834656..d6981131 100644
@@ -11,7 +11,7 @@ INITRAMFS_FSTYPES = "cpio cpio.xz"
 
 INITRAMFS_MAXSIZE = "131072"
 
-IMAGE_OVERHEAD_FACTOR = "1.25"
+IMAGE_OVERHEAD_FACTOR = "1.20"
 
 IMAGE_NAME = "ti-core-initramfs"
 
Signature · 1 line
2.43.0
#2 lore raw

Re: [meta-ti][master/wrynose][PATCH 1/2] =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=

In reply to Ryan Eatmon

meta-ti / na / 20260728141051.2851131-1-reatmon

PRC Results: FAIL

=========================================================
check-yocto-patches: FAIL
=========================================================
Patches
----------------------------------------
FAIL - [meta-ti][master/wrynose][PATCH 1/2] packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup

    ERROR: Commit message too long (> 80 chars): =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=. (COMMIT-MESSAGE-1)
        patch:90
            Subject: [meta-ti][master/wrynose][PATCH 1/2] =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=
    
    WARN: Commit message does not include file/recipe name: =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=. (COMMIT-MESSAGE-2)
        patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
#3 lore raw
Quoted 11 lines · PRC Automation via lists.yoctoproject.org

meta-ti / na / 20260728141051.2851131-1-reatmon

PRC Results: FAIL

=========================================================
check-yocto-patches: FAIL
=========================================================
Patches
----------------------------------------
FAIL - [meta-ti][master/wrynose][PATCH 1/2] packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup

    ERROR: Commit message too long (> 80 chars): =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=. (COMMIT-MESSAGE-1)

Moreover, there's non-ASCII character right before "Move", hence UTF-8 encoding - instead of a regular =20 whitespace, it's =C2=A0 which is a non-breaking space.

Quoted 7 lines
        patch:90
            Subject: [meta-ti][master/wrynose][PATCH 1/2] =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=
    
    WARN: Commit message does not include file/recipe name: =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=. (COMMIT-MESSAGE-2)
        patch
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
#4 lore raw
Quoted 13 lines · Denys Dmytriyenko
Quoted 11 lines · PRC Automation via lists.yoctoproject.org

meta-ti / na / 20260728141051.2851131-1-reatmon

PRC Results: FAIL

=========================================================
check-yocto-patches: FAIL
=========================================================
Patches
----------------------------------------
FAIL - [meta-ti][master/wrynose][PATCH 1/2] packagegroup-ti-core-initramfs: Move the inclusion of initramfs-module-netsetup

     ERROR: Commit message too long (> 80 chars): =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=. (COMMIT-MESSAGE-1)
Quoted 3 lines

Moreover, there's non-ASCII character right before "Move", hence UTF-8 encoding - instead of a regular =20 whitespace, it's =C2=A0 which is a non-breaking space.

Well.. that's just odd. That's what git format-patch produced... What the heck... And the actual string in git is 79 chars. So this is all a product of the email encoding.

Quoted 8 lines
Quoted 8 lines
         patch:90
             Subject: [meta-ti][master/wrynose][PATCH 1/2] =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=
     
     WARN: Commit message does not include file/recipe name: =?UTF-8?q?packagegroup-ti-co?= =?UTF-8?q?re-initramfs:=C2=A0Move=20the=20inclusion=20of=20initramfs-modu?= =?UTF-8?q?le-netsetup?=. (COMMIT-MESSAGE-2)
         patch
     
     For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS