
Hi,
I wonder if anyone has used USB host on the AT91sam9g45.
In current u-boot-usb, USB host can be configured, but I can't make it work. I used the configuration from the AT91sam9m10g45 regarding the USB host part.
It does the following (usb storage device is attached)
Sam9> usb start (Re)start USB... USB: scanning bus for devices... 1 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found Sam9> usb info 1: Hub, USB Revision 1.10 - OHCI Root Hub - Class: Hub - PacketSize: 8 Configurations: 1 - Vendor: 0x0000 Product 0x0000 Version 0.0 Configuration: 1 - Interfaces: 1 Self Powered 0mA Interface: 0 - Alternate Setting 0, Endpoints: 1 - Class Hub - Endpoint 1 In Interrupt MaxPacket 2 Interval 255ms
Below are the related config items :
#define CONFIG_ARM926EJS 1 /* This is an ARM926EJS Core */ #define CONFIG_ICNOVA_ARM9 1 /* It's an ICnova SAM9G45 OEM boardR */ #define CONFIG_AT91SAM9G45 1 /* It's an Atmel AT91SAM9G45 SoC */ #define CONFIG_AT91_LEGACY 1 /* needed for some defines */ #define CONFIG_ARCH_CPU_INIT #undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */
/* USB */ #define CONFIG_USB_ATMEL 1 #define CONFIG_USB_OHCI_NEW 1 #define CONFIG_SYS_USB_OHCI_CPU_INIT 1 #define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00700000 #define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9g45" #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2 #define CONFIG_DOS_PARTITION 1 #define CONFIG_USB_STORAGE 1
Any ideas what I can check ?
Best regards, Marcel