mbox series

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

Message ID 20260603072522.1272337-1-m-shah@ti.com
Headers show
Series Fix NFS boot on K3 platforms with bsp-next kernel | expand

Message

Moteen Shah June 3, 2026, 7:25 a.m. UTC
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 a standalone initramfs-module-netsetup recipe that waits
for the Ethernet interface to appear after udev loads the modules and
then configures it via DHCP before the nfsrootfs module runs.

Changes in v2:
- Move netsetup from an initramfs-framework bbappend subpackage to a
  standalone initramfs-module-netsetup_1.0.bb recipe (Denys, Ryan)

Bootlogs: https://gist.github.com/Jamm02/351d46885e20b6043d464166ee313614

Moteen Shah (2):
  k3.inc: Add CPSW modules to initramfs for bsp-next NFS boot
  initramfs: Add initramfs-module-netsetup recipe for DHCP network
    configuration

 meta-ti-bsp/conf/machine/include/k3.inc       |  6 +++
 .../initramfs-module-netsetup/83-netsetup     | 54 +++++++++++++++++++
 .../initramfs-module-netsetup_1.0.bb          | 24 +++++++++
 .../packagegroup-ti-core-initramfs.bb         |  1 +
 4 files changed, 85 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup/83-netsetup
 create mode 100644 meta-ti-bsp/recipes-ti/initramfs/initramfs-module-netsetup_1.0.bb