0.说明:
LINUX内核版本:4.14.79
平台:AM437x
说是移植usb驱动,实则是menuconfig配置一下。因为TI官方已经对USB驱动做了良好的支持,废话不多说,下面进入正题:
PHY Subsystem 配置
PHY Subsystem --->
<*> OMAP USB2 PHY Driver//OTG以及所有USB phy相关,需要选上
<*> TI PIPE3 PHY Driver//TI pcie phy支持
Bus devices 配置
Bus devices --->
<*> OMAP OCP2SCP DRIVER //启用ocp2scp模块的驱动程序,USB phy依赖它
SCSI配置
SCSI device support --->
{*} SCSI device support
[*] legacy /proc/scsi/ support
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support //USB大容量存储相关
[*] SCSI low-level drivers ---> (子项默认即可)
USBsupport配置
[*] USB support --->
<*> Support for Host-side USB