
(Substitute "y" for "m" where desired, if you do not wish modules to be built and want the drivers compiled-in instead.)Īnd any desired gadget drivers on top of that. For successful operation, a number of Kconfig options need to be enabled: (Instructions below were tested on A20 with kernel 4.4.6.)įor Allwinner SoCs based on the sun4i controller (CONFIG_PHY_SUN4I_USB=y), the "MUSB" (Multipoint Highspeed Dual-Role Controller) driver provides the OTG / gadget functionality. Mainline kernel (via Precomposed Configurations) For details, you can refer to our manual build howto. Now you can compile the kernel and modules. Note: You need to select both "Inventra Highspeed Dual Role Controller" and "NOP USB Transceiver Driver" before the required "Allwinner (sunxi)" option ( CONFIG_USB_MUSB_SUNXI) becomes available. USB Gadget functions configurable through configfs

Inventra Highspeed Dual Role Controller (TI, ADI, AW. The RNDIS gadget with configfs requires a number of menuconfig options being enabled: (Instructions below were tested on A20 with kernel 5.9.0.) The configfs approach allows you to configure the device dynamically from user-space.Thereby, additional configuration needs to be done to bring up the gadget compared with precomposed configurations. Kernel support Mainline kernel (via configfs) This allows ethernet emulation over USB, allowing for all sorts of nifty things like SSH and NFS in one go plus charging over the same wire, at higher speeds than most Wifi connections.

1.3 Configuring the gadget under configfs.1.1.2 Mainline kernel (via Precomposed Configurations).
