From: Vitor Soares <[email protected]>

TI_CORE_INITRAMFS_KERNEL_MODULES is set in j784s4.inc, causing all
machines based on the J784S4 SoC to unconditionally build and deploy
an initramfs. The cdns-pltfrm and ti-j721e-ufs modules are required
by the EVM to access UFS storage and are not a SoC-level requirement.

Moving it to j784s4-evm.conf scopes initramfs creation to the board
that needs it, allowing other integrators to rely on the empty default
without explicit overrides.

Signed-off-by: Vitor Soares <[email protected]>
---
Tested on Toradex Aquila AM69 with bsp-mainline. EVM not tested.

 meta-ti-bsp/conf/machine/include/j784s4.inc | 3 ---
 meta-ti-bsp/conf/machine/j784s4-evm.conf    | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta-ti-bsp/conf/machine/include/j784s4.inc 
b/meta-ti-bsp/conf/machine/include/j784s4.inc
index 4dc3a71b4444..f29cd69bf9f5 100644
--- a/meta-ti-bsp/conf/machine/include/j784s4.inc
+++ b/meta-ti-bsp/conf/machine/include/j784s4.inc
@@ -14,6 +14,3 @@ OPTEEMACHINE = "k3-j784s4"
 
 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw 
ti-eth-fw-j784s4"
 
-TI_CORE_INITRAMFS_KERNEL_MODULES = "kernel-module-cdns-pltfrm 
kernel-module-ti-j721e-ufs"
-TI_CORE_INITRAMFS_KERNEL_MODULES:bsp-ti-6_6 = ""
-TI_CORE_INITRAMFS_KERNEL_MODULES:bsp-ti-6_12 = ""
diff --git a/meta-ti-bsp/conf/machine/j784s4-evm.conf 
b/meta-ti-bsp/conf/machine/j784s4-evm.conf
index bf53b07c33f4..333bd24d938a 100644
--- a/meta-ti-bsp/conf/machine/j784s4-evm.conf
+++ b/meta-ti-bsp/conf/machine/j784s4-evm.conf
@@ -27,3 +27,7 @@ KERNEL_DEVICETREE = " \
 "
 
 UBOOT_MACHINE = "j784s4_evm_a72_defconfig"
+
+TI_CORE_INITRAMFS_KERNEL_MODULES = "kernel-module-cdns-pltfrm 
kernel-module-ti-j721e-ufs"
+TI_CORE_INITRAMFS_KERNEL_MODULES:bsp-ti-6_6 = ""
+TI_CORE_INITRAMFS_KERNEL_MODULES:bsp-ti-6_12 = ""
-- 
2.52.0

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

  • [meta-ti] [PATCH] j784s4: move T... Vitor Soares via lists.yoctoproject.org

Reply via email to