public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] USB OHCI support for PXA270 - no device found
@ 2007-08-18 19:53 stefano babic
  0 siblings, 0 replies; only message in thread
From: stefano babic @ 2007-08-18 19:53 UTC (permalink / raw)
  To: u-boot

Hi,

I have a PXA270 based board and it is required the support for USB
Storage in u-boot. I have merged the USB files for pxa27x from the
usb-testing repository (drivers/usb_ohci.c, cpu/pxa/usb.c, usb.h) and
the host controller is correctly initialized, reporting no error.

However, no devices are found. After some investigation I have seen that
the hub does not provided the power supply to the devices.

In the code the Root Hub Descriptor registers (UHCRHDA/UHCRHDB) are not
initialized. I set the UHCRHDA and everything works fine.

It seems to me that the job to enable/disable ports is let to the board
initialization code (usb_board_init()), even if I have not found any
board setting them.

However, access to the UHCRHDA register is the same for all boards
having this CPU - it could be done in the cpu/pxa/usb.c file. There is
already a #define (CFG_USB_OHCI_MAX_ROOT_PORTS), that can be used to set
the required number of ports for each board.

Has somebody discovered the same problems (hub initialized, but no 
devices founded) ? How do you manage it ?

Thanks,
stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-18 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-18 19:53 [U-Boot-Users] USB OHCI support for PXA270 - no device found stefano babic

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