From: xiaoguizi007 <xiaoguizi007@163.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] EHCI and OHCI deriver in u-boot-2009.03
Date: Thu, 25 Jun 2009 09:06:12 +0800 (CST) [thread overview]
Message-ID: <18091231.49071245891972207.JavaMail.coremail@bj163app121.163.com> (raw)
Hi,
I am using diver of EHCI and OHCI in u-boot-2009.03. My HC is ISP1564, this HC has multi-function, it supports OHCI and EHCI. So, I think that maybe we must define new macros in my NSB405EP.h which is in ./include/config dir. But I find there are many functions in usb_ohci.c and usb_ehci_core.c defined as the same name,so I do not know how to use them at the same time in my project to support both OHCI and EHCI. Any way, another problem is that I can scan 2 functions in pci bus while using cmd: pci. As know that when HC power on, the ports ownership is under OHCI, how can I switch the owmship to EHCI???(write bit OCR of HcControl may not useful while I used).
Also, another problem is that: u-boot allocate base address and size for both OHCI and EHCI while HC be found on pci bus. This step has not problem. OHCI base = 0x80000000, size = 0x1000, EHCI base = 0x80001000, size = 0x100. Then I used command "md" to display the memory on 0x80000000(ohci) has no problem. But When display memory 0x80001000(ehci), u-boot go to dead as belows :
=>md 80001000
=>80001000: 20009500
then the terminal will not display any more info and will not receive any keys you pressed.Maybe u-boot go to dead this time. So I do not know why.
Can anybody help me or provide me some useful info about using muti-function usb HC in u-boot ???
Thanks,
Josh Wei
reply other threads:[~2009-06-25 1:06 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=18091231.49071245891972207.JavaMail.coremail@bj163app121.163.com \
--to=xiaoguizi007@163.com \
--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