public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] USB host on the AT91sam9g45
@ 2010-09-30 21:43 Marcel
  2010-10-01 23:53 ` Marcel
  0 siblings, 1 reply; 2+ messages in thread
From: Marcel @ 2010-09-30 21:43 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-01 23:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-30 21:43 [U-Boot] USB host on the AT91sam9g45 Marcel
2010-10-01 23:53 ` Marcel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox