Hi there,
I try to enable USB support in U-Boot for the AM335x eval board.
Therefore I modified am335x_evm.h to this:
#define CONFIG_USB_MUSB_AM335X 1
#define CONFIG_MUSB_HCD 1
/* #define CONFIG_MUSB_UDC 1 */
#ifdef CONFIG_USB_MUSB_AM335X
#ifdef CONFIG_MUSB_HCD
#define CONFIG_CMD_USB
#define CONFIG_USB_STORAGE
#define CONGIG_CMD_STORAGE
#define CONFIG_CMD_FAT
#ifdef CONFIG_USB_KEYBOARD
#define CONFIG_SYS_USB_EVENT_POLL
#define CONFIG_PREBOOT "usb start"
#endif /* CONFIG_USB_KEYBOARD */
#endif /* CONFIG_MUSB_HCD */
Then I rebuilt U-Boot but USB still does not work after starting it with "usb start".
This is what I get from usb reset and usb info:
U-Boot# usb reset
(Re)start USB...
USB: scanning bus for devices... No USB Device found
scanning bus for storage devices... 0 Storage Device(s) found
U-Boot# usb info
Configuration: 0
- Interfaces: 0 Bus Powered 0mA
Of course I had a USB stick in USB1 while testing this :-).
Any suggestions to make USB work?
Thanks and best reagrds,
Daniel