mbox series

[master,v5,0/4] Add recipes to build initramfs image

Message ID 20251015120032.288741-1-m-shah@ti.com
Headers show
Series Add recipes to build initramfs image | expand

Message

Moteen Shah Oct. 15, 2025, noon UTC
The series aims to add a new recipe which will package boot
essential and some other modules in image which can later be
used in the boot process of all K3 platforms. This will result
in the addition of ~20MB initramfs image in the bootflow.

The motivation behind the work is to probe modules(in boot time)
which could not be built in the upstream Linux kernel
image, as using it as inbuilt drivers will increase the
kernel image size, which is undesirable by the upstream folks.

Hence, build those drivers as modules and package it inside
initramfs and later get it probed through initramfs-udev(device manager).

The series will introduce an additional 20MB initramfs image in the
bootflow of all K3 platforms regardless of whether any platform chooses
to add modules to it or not, so as to keep the bootflow for all devices
uniform. Hence, the build/packaging of initrd image is being triggered
in k3.inc.

Bootlogs for J784s4: 
https://gist.github.com/Jamm02/8fc4c60b113a420ac0a0dee375228faf

Changes since V4:
- Save the initramfs file name in a variable instead of hardcoding it.
- Optionally include initrd inside .wks using a varible to avoid build
failures for non mainline builds.

Link to V4: https://lists.yoctoproject.org/g/meta-ti/message/19110
Link to V3: https://lists.yoctoproject.org/g/meta-ti/message/19083
Link to V2: https://lists.yoctoproject.org/g/meta-ti/message/19043
Link to V1: https://lists.yoctoproject.org/g/meta-ti/topic/115128108

Moteen Shah (4):
  meta-ti-bsp: conf: machine: include: Add common module variable for TI
    Initramfs image
  recipes-ti: initramfs: Make minimal initramfs image
  meta-ti-bsp: wic: Add initramfs path to to grub config
  meta-ti-bsp: conf: machine: include: Build initramfs for all TI SoCs.

 meta-ti-bsp/conf/machine/include/am62axx.inc  |  3 ++
 meta-ti-bsp/conf/machine/include/j721e.inc    |  3 ++
 meta-ti-bsp/conf/machine/include/j784s4.inc   |  3 ++
 meta-ti-bsp/conf/machine/include/ti-soc.inc   | 18 ++++++++++
 .../packagegroup-ti-core-initramfs.bb         | 15 +++++++++
 .../recipes-ti/initramfs/ti-core-initramfs.bb | 33 +++++++++++++++++++
 meta-ti-bsp/wic/sdimage-2part-efi.wks.in      |  2 +-
 7 files changed, 76 insertions(+), 1 deletion(-)
 create mode 100644 meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb
 create mode 100644 meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb

Comments

PRC Automation Oct. 15, 2025, 12:05 p.m. UTC | #1
meta-ti / na / 20251015120032.288741-1-m-shah

PRC Results: FAIL

=========================================================
  check-yocto-patches: FAIL
=========================================================
Patches
----------------------------------------
FAIL - [master][PATCH v5 1/4] meta-ti-bsp: conf: machine: include: Add common module variable for TI Initramfs image
    ERROR: Commit message too long (> 80 chars): meta-ti-bsp: conf: machine: include: Add common module variable for TI Initramfs image. (COMMIT-MESSAGE-1)
        patch:44
            Subject: [master][PATCH v5 1/4] meta-ti-bsp: conf: machine: include: Add common module variable for TI Initramfs image
    
    WARN: Commit message does not include file/recipe name: meta-ti-bsp: conf: machine: include: Add common module variable for TI Initramfs image. (COMMIT-MESSAGE-2)
        patch
    
    WARN: Commit message should not include directory path to recipe: meta-ti-bsp: conf: machine: include: Add common module variable for TI Initramfs image.
              meta-ti-bsp:
              conf:
              machine:
              include: (COMMIT-MESSAGE-3)
        patch
    
    WARN: Revised patch missing a comment. (REVISION-1)
        patch
WARN - [master][PATCH v5 2/4] recipes-ti: initramfs: Make minimal initramfs image
    WARN: Commit message does not include file/recipe name: recipes-ti: initramfs: Make minimal initramfs image. (COMMIT-MESSAGE-2)
        patch
    
    WARN: Commit message should not include directory path to recipe: recipes-ti: initramfs: Make minimal initramfs image.
              recipes-ti: (COMMIT-MESSAGE-3)
        patch
    
    WARN: Revised patch missing a comment. (REVISION-1)
        patch
WARN - [master][PATCH v5 3/4] meta-ti-bsp: wic: Add initramfs path to to grub config
    WARN: Commit message does not include file/recipe name: meta-ti-bsp: wic: Add initramfs path to to grub config. (COMMIT-MESSAGE-2)
        patch
    
    WARN: Commit message should not include directory path to recipe: meta-ti-bsp: wic: Add initramfs path to to grub config.
              meta-ti-bsp:
              wic: (COMMIT-MESSAGE-3)
        patch
    
    WARN: Revised patch missing a comment. (REVISION-1)
        patch
WARN - [master][PATCH v5 4/4] meta-ti-bsp: conf: machine: include: Build initramfs for all TI SoCs.
    WARN: Commit message does not include file/recipe name: meta-ti-bsp: conf: machine: include: Build initramfs for all TI SoCs.. (COMMIT-MESSAGE-2)
        patch
    
    WARN: Commit message should not include directory path to recipe: meta-ti-bsp: conf: machine: include: Build initramfs for all TI SoCs..
              meta-ti-bsp:
              conf:
              machine:
              include: (COMMIT-MESSAGE-3)
        patch
    
    WARN: Revised patch missing a comment. (REVISION-1)
        patch