By the way, Thagrol has two USB Ethernet Gadget guides.
I do.
But it isn't. As I and PhilE said it's about network booting a zero (or any other model that supports the USB ethernet gadget) over a USB cable from a USB host that is running both rpiboot (to provide the stuff normally on the boot partition) and an NFS server (for the root partition).The one I referred to is about network booting a Pi Zero.
While some of it is applicable to your configuration (boot from SD with root partition over NFS) much of it is not.
Anything in it related to dwc2 and g_ether should be ignored by you. What's required in your initramfs will be different to what is in my guide.
The USB ethernet gadget is not the same as a physical USB ethernet adapter. It's software running on the zero that present to Linux on the PI as an ethernet adapter and present to a USB host as another ethernet adapter. It provides a point to point link over a USB cable without the need for an actual ethernet link and adapters on both devices.
Statistics: Posted by thagrol — Wed Sep 03, 2025 6:10 pm