Support USB-ethernet Gadget on Pi Zero
Following-up from #5278 (closed) and related ones, it seems we are still missing some bits to get proper USB-Ethernet Gadget support at boot-up for PiZero & al.
Following this interesting tutorial (leaving aside the nfs thing for now), it seems we might be missing g_ether
module and its dependencies within initramfs.
g_ether
libcomposite
u_ether
udc-core
usb_f_rndis
usb_f_ecm
Then PiOS cmdline.txt modules-load=dwc2,g_ether
should be translated into modules=dwc2,g_ether
in Alpine's cmdline.txt
, in addition to dtoverlay=dwc2
entry in config.txt
.