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?

--- 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"



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17652): 
https://lists.yoctoproject.org/g/meta-arago/message/17652
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