Difference between revisions of "User:Lth/BPIR2 OTG"
< User:Lth
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | |||
+ | == Debian System == | ||
+ | |||
+ | Working with [https://github.com/lbthomsen/BPI-R2-KERNEL this kernel]. | ||
+ | |||
+ | The [https://github.com/lbthomsen/BPI-R2-KERNEL/blob/bpi-r2-openwrt/arch/arm/configs/mt7623n_evb_fwu_defconfig default config] contains: | ||
+ | |||
+ | <pre> | ||
+ | #OTG | ||
+ | CONFIG_USB_OTG=y | ||
+ | CONFIG_USB_CONN_GPIO=y | ||
+ | CONFIG_USB_MUSB_HDRC=y | ||
+ | CONFIG_USB_MUSB_MEDIATEK=y | ||
+ | CONFIG_NOP_USB_XCEIV=y | ||
+ | CONFIG_USB_CONFIGFS=y | ||
+ | #CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
+ | #CONFIG_PHY_MTK_TPHY=y | ||
+ | CONFIG_USB_GADGET=y | ||
+ | CONFIG_USB_MUSB_DUAL_ROLE=y | ||
+ | CONFIG_USB_INVENTRA_DMA=y | ||
+ | #some gadget-drivers | ||
+ | #CONFIG_USB_G_SERIAL=y | ||
+ | #CONFIG_USB_MASS_STORAGE=y | ||
+ | #CONFIG_USB_ETH=y | ||
+ | |||
+ | CONFIG_USB_LIBCOMPOSITE=y | ||
+ | CONFIG_USB_U_SERIAL=y | ||
+ | CONFIG_USB_U_ETHER=y | ||
+ | CONFIG_USB_F_SERIAL=y | ||
+ | CONFIG_USB_F_ECM=y | ||
+ | CONFIG_USB_F_MASS_STORAGE=y | ||
+ | CONFIG_USB_F_HID=y | ||
+ | CONFIG_USB_CONFIGFS=y | ||
+ | CONFIG_USB_CONFIGFS_SERIAL=y | ||
+ | # CONFIG_USB_CONFIGFS_ACM is not set | ||
+ | # CONFIG_USB_CONFIGFS_OBEX is not set | ||
+ | # CONFIG_USB_CONFIGFS_NCM is not set | ||
+ | CONFIG_USB_CONFIGFS_ECM=y | ||
+ | # CONFIG_USB_CONFIGFS_ECM_SUBSET is not set | ||
+ | # CONFIG_USB_CONFIGFS_RNDIS is not set | ||
+ | # CONFIG_USB_CONFIGFS_EEM is not set | ||
+ | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
+ | # CONFIG_USB_CONFIGFS_F_LB_SS is not set | ||
+ | # CONFIG_USB_CONFIGFS_F_FS is not set | ||
+ | # CONFIG_USB_CONFIGFS_F_UAC1 is not set | ||
+ | # CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set | ||
+ | # CONFIG_USB_CONFIGFS_F_UAC2 is not set | ||
+ | # CONFIG_USB_CONFIGFS_F_MIDI is not set | ||
+ | CONFIG_USB_CONFIGFS_F_HID=y | ||
+ | # CONFIG_USB_CONFIGFS_F_UVC is not set | ||
+ | # CONFIG_USB_CONFIGFS_F_PRINTER is not set | ||
+ | </pre> | ||
+ | |||
== Miscellaneous Links == | == Miscellaneous Links == |
Revision as of 07:32, 9 June 2022
Debian System
Working with this kernel.
The default config contains:
#OTG CONFIG_USB_OTG=y CONFIG_USB_CONN_GPIO=y CONFIG_USB_MUSB_HDRC=y CONFIG_USB_MUSB_MEDIATEK=y CONFIG_NOP_USB_XCEIV=y CONFIG_USB_CONFIGFS=y #CONFIG_USB_CONFIGFS_MASS_STORAGE=y #CONFIG_PHY_MTK_TPHY=y CONFIG_USB_GADGET=y CONFIG_USB_MUSB_DUAL_ROLE=y CONFIG_USB_INVENTRA_DMA=y #some gadget-drivers #CONFIG_USB_G_SERIAL=y #CONFIG_USB_MASS_STORAGE=y #CONFIG_USB_ETH=y CONFIG_USB_LIBCOMPOSITE=y CONFIG_USB_U_SERIAL=y CONFIG_USB_U_ETHER=y CONFIG_USB_F_SERIAL=y CONFIG_USB_F_ECM=y CONFIG_USB_F_MASS_STORAGE=y CONFIG_USB_F_HID=y CONFIG_USB_CONFIGFS=y CONFIG_USB_CONFIGFS_SERIAL=y # CONFIG_USB_CONFIGFS_ACM is not set # CONFIG_USB_CONFIGFS_OBEX is not set # CONFIG_USB_CONFIGFS_NCM is not set CONFIG_USB_CONFIGFS_ECM=y # CONFIG_USB_CONFIGFS_ECM_SUBSET is not set # CONFIG_USB_CONFIGFS_RNDIS is not set # CONFIG_USB_CONFIGFS_EEM is not set CONFIG_USB_CONFIGFS_MASS_STORAGE=y # CONFIG_USB_CONFIGFS_F_LB_SS is not set # CONFIG_USB_CONFIGFS_F_FS is not set # CONFIG_USB_CONFIGFS_F_UAC1 is not set # CONFIG_USB_CONFIGFS_F_UAC1_LEGACY is not set # CONFIG_USB_CONFIGFS_F_UAC2 is not set # CONFIG_USB_CONFIGFS_F_MIDI is not set CONFIG_USB_CONFIGFS_F_HID=y # CONFIG_USB_CONFIGFS_F_UVC is not set # CONFIG_USB_CONFIGFS_F_PRINTER is not set