On 9/3/2026 4:50 AM, Moteen Shah wrote:
Hey Ryan,

On 02/09/26 19:35, Ryan Eatmon wrote:


On 9/2/2026 8:28 AM, Moteen Shah wrote:
Neither image sets TI_CORE_INITRAMFS_KERNEL_MODULES or
TI_CORE_INITRAMFS_EXTRA_INSTALL for j722s, so the machine-wide
TI_CORE_INITRAMFS_ENABLED gate in meta-ti-bsp stays off by default for
this machine. Force ti-core-initramfs to build via an explicit
do_build dependency in arago-image.inc, the common include every
tisdk-*-image recipe require.

Why do we need to force an initramfs on every platform/image? What is the point?  The point of the initramfs was that *some* boards need some kernel modules to boot so we only require it for those platforms.


Is something like this okay?

To be fair, I'm not 100% certain about backporting any of this. We did the initramfs in response to the newer kernels (ie upstream) building something as modules and not built in. And we moved to that model in 6.18 (master/wrynose).

If there is something in scarthgap for 6.12 that requires this then we should just update our 6.12 kernel to build the correct thing and not need the initramfs. We haven't tested any of this code under scarthgap and I'm not comfortable just shoving this in. We need to try and keep scarthgap somewhat stable and not do things like this.

We should be able to have a config fragment that only applies for j722s when building the kernel to configure it exactly how we want for just j722s. No need to shoehorn in the initramfs for this.


--- a/meta-arago-distro/recipes-core/images/arago-image.inc
+++ b/meta-arago-distro/recipes-core/images/arago-image.inc
@@ -30,3 +30,11 @@ BAD_RECOMMENDATIONS += " \
 BAD_RECOMMENDATIONS += "${@oe.utils.conditional("INIT_MANAGER", "sysvinit", "", "busybox-syslog", d)}"

  inherit core-image remove-net-rules
+
+ARAGO_TI_CORE_INITRAMFS_STEP ?= ""
+ARAGO_TI_CORE_INITRAMFS_STEP:j722s = "ti-core-initramfs:do_image_complete"
+
+do_build[depends] += "${ARAGO_TI_CORE_INITRAMFS_STEP}"


With the above change I need to do some meta-ti fix as well.

Regards,
Moteen



Signed-off-by: Moteen Shah <[email protected]>
---
This patch has a dependency on the following series:
https://lists.yoctoproject.org/g/meta-ti/message/20235

  meta-arago-distro/recipes-core/images/arago-image.inc | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/meta-arago-distro/recipes-core/images/arago-image.inc b/meta-arago-distro/recipes-core/images/arago-image.inc
index 37b20850..398e299f 100644
--- a/meta-arago-distro/recipes-core/images/arago-image.inc
+++ b/meta-arago-distro/recipes-core/images/arago-image.inc
@@ -30,3 +30,7 @@ BAD_RECOMMENDATIONS += " \
  BAD_RECOMMENDATIONS += "${@oe.utils.conditional("INIT_MANAGER", "sysvinit", "", "busybox-syslog", d)}"
    inherit core-image remove-net-rules
+
+# Force ti-core-initramfs to build alongside every image based on this common include.
+
+do_build[depends] += "ti-core-initramfs:do_image_complete"


--
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17654): 
https://lists.yoctoproject.org/g/meta-arago/message/17654
Mute This Topic: https://lists.yoctoproject.org/mt/121051129/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to