public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: stefano babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] USB OHCI support for PXA270 - no device found
Date: Sat, 18 Aug 2007 21:53:38 +0200	[thread overview]
Message-ID: <46C74E42.2070601@denx.de> (raw)

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
=====================================================================

                 reply	other threads:[~2007-08-18 19:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46C74E42.2070601@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox