Tool/software: Linux
Dear Sir:
We use AM4377, and SDK is ti-processor-sdk-linux-am437x-evm-04.03.00.05-Linux-x86-Install.bin
If I config the following flags in the am43xx_evm_defconfig, there is a conflict with the flag "CONFIG_USB_XHCI_HCD".
# CONFIG_USB_XHCI_HCD is not set
CONFIG_USB_XHCI_DWC3=y
CONFIG_USB_DWC3=y
CONFIG_USB_DWC3_GADGET=y
CONFIG_USB_DWC3_OMAP=y
CONFIG_USB_DWC3_PHY_OMAP=y
CONFIG_USB_EHCI=y
CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
it will show the following error after with above settings.
starting USB...
No controllers found
USB is stopped. Please issue 'usb start' first.
Booting from nand ...
no devices available
no devices available
=> usb start
starting USB...
No controllers found
if I open the flag "CONFIG_USB_XHCI_HCD", I need to remove the EHCI settings, because it will error when I compile the u-boot.
But it can not detect the usb correctly.
log:
starting USB...
USB0: Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
USB device 0: unknown device
Booting from nand ...
no devices available
no devices available
=> usb reset
resetting USB...
USB0: Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
=> usb start
=> usb info
1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 9 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms
device tree setting: (because the USB0_PWR_ON is controlled by this pin, and the pull down is enable.
usb1_pins: usb1_pins {
pinctrl-single,pins = <
0x2c0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* usb0_drvvbus.usb0_drvvbus */
>;
};
Please help to analyze the reason about it in the u-boot settings.
Thanks