Skip to contentSkip to conversation

Use tisdk-tiny-initramfs in the

PATCH In review Moteen Shah 2 participants 3 messages Sep 3, 2025

lore
Share & tools
lore
#0 lore raw

cover Use tisdk-tiny-initramfs in the

Hello all,

The patch aims to package boot essential and some other modules in tisdk-tiny-initramfs image which can later be used in the boot process of all K3 platforms.

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

Moteen Shah (1):
tisdk-tiny-initramfs.bb: Package initramfs scripts and modules in the
image

 .../images/tisdk-tiny-initramfs.bb             | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

---
2.34.1

#1 lore raw

PATCH 1/1 tisdk-tiny-initramfs.bb: Package initramfs scripts and modules in the image

Package boot essential modules and some other modules required during boot time, also add initramfs scripts to modprobe the included modules and eventually perform a switch-root.

---
 .../images/tisdk-tiny-initramfs.bb             | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/images/tisdk-tiny-initramfs.bb +17 -1
index 37b777f6..2316d191 100644
@@ -21,7 +21,23 @@ INITRAMFS_FSTYPES = "cpio cpio.xz"
 
 IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
 
-PACKAGE_INSTALL = "packagegroup-arago-initramfs"
+INITRAMFS_SCRIPTS ?= "initramfs-framework-base initramfs-module-udev initramfs-module-nfsrootfs"
+
+MODULES = "\
+    kernel-module-cdns-pltfrm \
+    kernel-module-sdhci-am654 \
+    kernel-module-ti-cpsw-proxy-client \
+    kernel-module-ti-j721e-ufs \
+    kernel-module-tps6594-i2c \
+"
+
+UTILS = "\
+    cifs-utils \
+    nfs-utils \
+    nfs-utils-client \
+"
+
+PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${MODULES} ${UTILS} packagegroup-arago-initramfs "
 
 export IMAGE_BASENAME = "tisdk-tiny-initramfs${ARAGO_IMAGE_SUFFIX}"
 
Signature · 1 line
2.34.1
#2 lore raw
In reply to Moteen Shah

meta-arago / na / 20250903045559.830651-1-m-shah

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][PATCH 0/1] Use tisdk-tiny-initramfs in the
- Submitter: From: Moteen Shah <[email protected]>
- Date: Date: Wed, 3 Sep 2025 10:25:58 +0530
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 780dc3cfae93d3ce58116cb27bb4410505c12a63

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202508250100
- Commit SHA: 24d17d9be7261e4d78fa74d3f0e90c228a875519

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

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS