diff mbox series

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

Message ID 20260602104810.1068959-2-m-shah@ti.com
State Changes Requested
Delegated to: Ryan Eatmon
Headers show
Series Fix NFS boot on K3 platforms with bsp-next kernel | expand

Commit Message

Moteen Shah June 2, 2026, 10:48 a.m. UTC
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 <m-shah@ti.com>
---
 meta-ti-bsp/conf/machine/include/k3.inc | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

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"