public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Sequoia EHCI
@ 2010-01-02 22:25 Chris Zhang
  2010-01-02 23:17 ` Wolfgang Denk
  2010-01-04  5:45 ` Stefan Roese
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Zhang @ 2010-01-02 22:25 UTC (permalink / raw)
  To: u-boot

I was trying to get EHCI running on sequoia board (ppc440epx).

 

I'm getting the following message when issuing "usb start" .

 

Cannot enable port 1 after 5 retries, disabling port. 

Maybe the USB cable is bad?

Cannot reset port 1!?

1 USB Device(s) found

                Scanning bus for storage devices. 0 Storage Device(s)
found

=>

 

EHCI works fine under operating system (a customized NetBSD). This is the
configuration I'm using,

.

#define CONFIG_USB_EHCI

#define CONFIG_USB_EHCI_PPC4XX     /* added ehci-ppc4xx.c similar as
ehci-ixp4xx.c */ 

#define CONFIG_EHCI_DESC_BIG_ENDIAN

#define CONFIG_EHCI_MMIO_BIG_ENDIAN

 

Has anybody tried sequoia?

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

* [U-Boot] Sequoia EHCI
  2010-01-02 22:25 [U-Boot] Sequoia EHCI Chris Zhang
@ 2010-01-02 23:17 ` Wolfgang Denk
  2010-01-04  5:45 ` Stefan Roese
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2010-01-02 23:17 UTC (permalink / raw)
  To: u-boot

Dear "Chris Zhang",

In message <314701ca8bfa$d0a99520$71fcbf60$@com> you wrote:
>
> I was trying to get EHCI running on sequoia board (ppc440epx).

Which exact version of U-Boot is this?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Real programmers don't comment their code. It was hard to  write,  it
should be hard to understand.

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

* [U-Boot] Sequoia EHCI
  2010-01-02 22:25 [U-Boot] Sequoia EHCI Chris Zhang
  2010-01-02 23:17 ` Wolfgang Denk
@ 2010-01-04  5:45 ` Stefan Roese
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Roese @ 2010-01-04  5:45 UTC (permalink / raw)
  To: u-boot

Hi Chris,

On Saturday 02 January 2010 23:25:50 Chris Zhang wrote:
> I was trying to get EHCI running on sequoia board (ppc440epx).

EHCI is currently not supported in U-Boot for PPC4xx.
 
> I'm getting the following message when issuing "usb start" .
> 
> 
> 
> Cannot enable port 1 after 5 retries, disabling port.
> 
> Maybe the USB cable is bad?
> 
> Cannot reset port 1!?
> 
> 1 USB Device(s) found
> 
>                 Scanning bus for storage devices. 0 Storage Device(s)
> found
> 
> =>
> 
> 
> 
> EHCI works fine under operating system (a customized NetBSD). This is the
> configuration I'm using,
> 
> .
> 
> #define CONFIG_USB_EHCI
> 
> #define CONFIG_USB_EHCI_PPC4XX     /* added ehci-ppc4xx.c similar as
> ehci-ixp4xx.c */

I don't know of an ehci-ppc4xx.c file. Did you create it yourself?
 
Cheers,
Stefan

--
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] 5+ messages in thread

* [U-Boot] Sequoia EHCI
       [not found] <1822517310.15271.1262601753786.JavaMail.root@smtp.seamicro.com>
@ 2010-01-04 10:46 ` Chris Zhang
  2010-01-04 11:03   ` Stefan Roese
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Zhang @ 2010-01-04 10:46 UTC (permalink / raw)
  To: u-boot


> I don't know of an ehci-ppc4xx.c file. Did you create it yourself?

I created the file by myself. But it's nothing more than setting up register base addresses similar with ehci-ixp4xx.c ...

I checked out from current source a few days ago. Maybe it's not very straight forward to get ppc4xx  support working (as I originally thought). I'll take a look later this week.

thanks,

Chris

----- Original Message -----
From: "Stefan Roese" <sr@denx.de>
To: u-boot at lists.denx.de
Cc: "Chris Zhang" <chris@seamicro.com>
Sent: Sunday, January 3, 2010 9:45:04 PM
Subject: Re: [U-Boot] Sequoia EHCI

Hi Chris,

On Saturday 02 January 2010 23:25:50 Chris Zhang wrote:
> I was trying to get EHCI running on sequoia board (ppc440epx).

EHCI is currently not supported in U-Boot for PPC4xx.
 
> I'm getting the following message when issuing "usb start" .
> 
> 
> 
> Cannot enable port 1 after 5 retries, disabling port.
> 
> Maybe the USB cable is bad?
> 
> Cannot reset port 1!?
> 
> 1 USB Device(s) found
> 
>                 Scanning bus for storage devices. 0 Storage Device(s)
> found
> 
> =>
> 
> 
> 
> EHCI works fine under operating system (a customized NetBSD). This is the
> configuration I'm using,
> 
> .
> 
> #define CONFIG_USB_EHCI
> 
> #define CONFIG_USB_EHCI_PPC4XX     /* added ehci-ppc4xx.c similar as
> ehci-ixp4xx.c */

I don't know of an ehci-ppc4xx.c file. Did you create it yourself?
 
Cheers,
Stefan

--
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] 5+ messages in thread

* [U-Boot] Sequoia EHCI
  2010-01-04 10:46 ` Chris Zhang
@ 2010-01-04 11:03   ` Stefan Roese
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Roese @ 2010-01-04 11:03 UTC (permalink / raw)
  To: u-boot

On Monday 04 January 2010 11:46:00 Chris Zhang wrote:
> > I don't know of an ehci-ppc4xx.c file. Did you create it yourself?
> 
> I created the file by myself. But it's nothing more than setting up
> register base addresses similar with ehci-ixp4xx.c ...

I see.
 
> I checked out from current source a few days ago.

You should always base your work on the latest version available in the git 
tree.

> Maybe it's not very
> straight forward to get ppc4xx  support working (as I originally thought).
> I'll take a look later this week.

That would be great. EHCI support for PPC4xx would be nice to have.

Thanks.

Cheers,
Stefan

--
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] 5+ messages in thread

end of thread, other threads:[~2010-01-04 11:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-02 22:25 [U-Boot] Sequoia EHCI Chris Zhang
2010-01-02 23:17 ` Wolfgang Denk
2010-01-04  5:45 ` Stefan Roese
     [not found] <1822517310.15271.1262601753786.JavaMail.root@smtp.seamicro.com>
2010-01-04 10:46 ` Chris Zhang
2010-01-04 11:03   ` Stefan Roese

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