On my board, both USB controller is configured as host only, and they are working fine under Linux kernel. But under u-boot, they cannot be found. There is not any message about USB initialization message. I type "usb start" and it reports "USB0: Port not available", My board is boot up from SPI flash and I need to program the flash chip via USB mass storage under u-boot environment.
In am335x_evm.h, I have defined:
#define CONFIG_USB_MUSB_DSPS
#define CONFIG_ARCH_MISC_INIT
#define CONFIG_MUSB_GADGET
#define CONFIG_MUSB_PIO_ONLY
#define CONFIG_MUSB_DISABLE_BULK_COMBINE_SPLIT
#define CONFIG_USB_GADGET
#define CONFIG_USBDOWNLOAD_GADGET
#define CONFIG_USB_GADGET_DUALSPEED
#define CONFIG_USB_GADGET_VBUS_DRAW 2
#define CONFIG_MUSB_HOST
#define CONFIG_AM335X_USB0
#define CONFIG_AM335X_USB0_MODE MUSB_HOST
#define CONFIG_AM335X_USB1
#define CONFIG_AM335X_USB1_MODE MUSB_HOST
I am using ti-processor-sdk-Linux-evm-02.00.02.11.
Do I miss something?
Regards,
Colman