[meta-ti][master/wrynose][PATCH v2 1/2] k3.inc: Add CPSW modules to initramfs for bsp-next NFS boot

Moteen Shah <[email protected]> Wed, 3 Jun 2026 12:59:31 +0530
Newsgroups org.yoctoproject.lists.meta-ti
Message-ID <[email protected]>
AM65_CPSW_NUSS and its dependencies changed from built-in to loadable
modules in linux-next. Add them to TI_CORE_INITRAMFS_KERNEL_MODULES so
NFS boot continues to work on K3 platforms with the bsp-next kernel.

Signed-off-by: Moteen Shah <[email protected]>
---
 meta-ti-bsp/conf/machine/include/k3.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
index 6833789c..726c071f 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -61,3 +61,9 @@ FALCON_INCLUDE = ""
 FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc"
 
 require ${FALCON_INCLUDE}
+
+# AM65_CPSW_NUSS and its direct Kconfig dependencies became loadable modules
+# in linux-next (post 7.1). Include them in the initramfs so NFS boot works.
+# TI staging kernels (6.6/6.12/6.18) still have CPSW built-in (=y).
+
+TI_CORE_INITRAMFS_KERNEL_MODULES:append:bsp-next = " kernel-module-ti-am65-cpsw-nuss kernel-module-k3-cppi-desc-pool kernel-module-davinci-mdio kernel-module-ti-cpsw-ale kernel-module-ti-cpsw-sl kernel-module-phylink kernel-module-mdio-bitbang kernel-module-phy-gmii-sel"
-- 
2.34.1