rk3288 内核配置usb
时间: 2023-12-31 22:22:36 浏览: 138
rk3288-evb.rar_RK3288_RK3288 USB
针对rk3288内核配置usb,可以按照以下步骤进行配置:
1. 进入内核配置界面
```shell
make menuconfig
```
2. 选择USB支持
```shell
Device Drivers --->
[*] USB support --->
```
3. 选择USB Gadget支持
```shell
<*> USB Gadget Support --->
```
4. 选择需要的Gadget功能
```shell
[*] Ethernet Gadget (with CDC Ethernet support)
[*] RNDIS Gadget (with CDC Ethernet support)
[*] Mass Storage Gadget
[*] HID Gadget
[*] Audio Gadget
[*] Serial Gadget (with CDC ACM support)
[*] ConfigFS support
```
5. 选择USB OTG支持
```shell
<*> USB Dual-Role Controller Drivers --->
<*> DesignWare USB2 DRD Core Support
<*> DesignWare USB3 DRD Core Support
<*> DWC2 Mode Selection (Dual Role mode)
<*> DWC3 Mode Selection (Dual Role mode)
```
6. 选择USB Host支持
```shell
<*> USB Host Controller Drivers --->
<*> xHCI HCD (USB 3.0) support
<*> EHCI HCD (USB 2.0) support
<*> OHCI HCD (USB 1.1) support
```
7. 保存配置并退出
```shell
make savedefconfig
```
阅读全文