[meta-ti][master/wrynose][PATCH v2 0/2] Fix NFS boot on K3 platforms with bsp-next kernel
Moteen Shah <[email protected]> Wed, 3 Jun 2026 12:59:30 +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 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
--
2.34.1