[meta-ti][master/wrynose][PATCH 0/2] Fix NFS boot on K3 platforms with bsp-next kernel

Moteen Shah <[email protected]> Tue, 2 Jun 2026 16:18:08 +0530
Newsgroups org.yoctoproject.lists.meta-ti
Message-ID <[email protected]>
AM65_CPSW_NUSS and its dependencies changed from built-in (=y) to
loadable modules (=m) in linux-next. This breaks NFS boot because the
Ethernet driver is no longer available before the NFS root mount.

Patch 1 adds the CPSW module set to TI_CORE_INITRAMFS_KERNEL_MODULES
for bsp-next so udev can load them during early boot.

Patch 2 adds an initramfs-framework module (83-netsetup) that waits
for the Ethernet interface to appear after udev loads the modules and
then configures it via DHCP before the nfsrootfs module runs.

Bootlogs: https://gist.github.com/Jamm02/4b631f90f282030d367561c08503c9e1
Moteen Shah (2):
  k3.inc: Add CPSW modules to initramfs for bsp-next NFS boot
  initramfs: Add netsetup module for DHCP network configuration

 meta-ti-bsp/conf/machine/include/k3.inc       |  6 +++
 .../initramfs-framework/83-netsetup           | 54 +++++++++++++++++++
 .../initramfs-framework_%.bbappend            | 15 ++++++
 .../packagegroup-ti-core-initramfs.bb         |  2 +
 4 files changed, 77 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework/83-netsetup
 create mode 100644 meta-ti-bsp/recipes-core/initramfs-scripts/initramfs-framework_%.bbappend

-- 
2.34.1