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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19956): 
https://lists.yoctoproject.org/g/meta-ti/message/19956
Mute This Topic: https://lists.yoctoproject.org/mt/119625130/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to