2a0fab1a77
Before this change the script assumed that the device has only one UDC. However it is possible for a device to have multiple UDCs, in which case the deviceinfo is the appropriate place to specify which one should be used. This change adds an optional deviceinfo variable `deviceinfo_usb_network_udc` to specify the UDC that should be used. Also, before this change the script assumed the USB network interface name is "usb0". But other gadget drivers like `g_cdc` can claim USB interfaces before the initramfs script gets around to creating one for USB networking, so the interface might be "usb1" or something else. The configfs gadget itself can provide the actual interface name, so this change makes the script use that. |
||
---|---|---|
.. | ||
00-default.modules | ||
00-initramfs-base.dirs | ||
00-initramfs-base.files | ||
00-initramfs-extra-base.files | ||
APKBUILD | ||
init.sh | ||
init_functions.sh | ||
mdev.conf | ||
unudhcpd.conf |