项目中使用ti-processor-sdk-linux-am335x-evm-05.00.00.15版本开发包,调试USB1作为主站,dts如下
&usb0 {
status = "okay";
dr_mode = "host";
};
&usb1 {
status = "okay";
dr_mode = "host";
};
USB1_ID接地,USB_VBUS直接连5V电源,USB1_DP,USB1_DM直连Usb接口座子,menuconfig配置如下:
-*- SCSI device support
[ ] SCSI: use blk-mq I/O path by default
[*] legacy /proc/scsi/ support │ │
*** SCSI support type (disk, tape, CD-ROM) ***
SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
< > SCSI CDROM support
SCSI generic support
│ │ --- USB support │ │
│ │ Support for Host-side USB │ │
│ │ [*] PCI based USB host interface │ │
│ │ [ ] USB announce new devices │ │
│ │ *** Miscellaneous USB options *** │ │
│ │ [*] Enable USB persist by default │ │
│ │ [ ] Dynamic USB minor allocation │ │
│ │ [*] OTG support
│ │ xHCI HCD (USB 3.0) support │ │
│ │ Generic xHCI driver for a platform device │ │
│ │ EHCI HCD (USB 2.0) support │ │
│ │ [*] Root Hub Transaction Translators │ │
│ │ [*] Improved Transaction Translator scheduling │ │
│ │ EHCI support for OMAP3 and later chips │ │
│ │ Generic EHCI driver for a platform device
内核启动后出现错误打印信息如下:
[ 1.390713] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.397328] ehci-pci: EHCI PCI platform driver
[ 1.402087] ehci-platform: EHCI generic platform driver
[ 1.407733] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.413215] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.419454] ohci-pci: OHCI PCI platform driver
[ 1.424043] ohci-platform: OHCI generic platform driver
[ 1.430130] usbcore: registered new interface driver usb-storage
[ 1.438906] #musb_init_controller:status=-19
[ 1.443331] musb-hdrc musb-hdrc.0: musb_init_controller failed with status -19
[ 1.452067] #musb_init_controller:status=-19
[ 1.456382] musb-hdrc musb-hdrc.1: musb_init_controller failed with status -19
插上U盘无任何反应,不知道哪里出错了,请帮忙看看问题,谢谢!!!