All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] configure ppc440spe as pci adapter
@ 2009-09-10 19:01 dbrazeau
  2009-09-11 13:21 ` Stefan Roese
  2009-09-11 13:33 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: dbrazeau @ 2009-09-10 19:01 UTC (permalink / raw)
  To: u-boot


I'm trying to get my ppc440spe (Katmai) board to initialize in PCI adapter
mode.  I was hoping that someone could give me some pointers on what changes
I need in the katmai config file, i.e. do I need to define
CONFIG_SYS_PCI_MASTER_INIT.  Also I noticed that some ppc4xx have
PCI_HOST_ADAPTER defined, but this is not defined in the Katmai config file. 
Should I define it and define CONFIG_PCI_HOST to it?  Any comments are
greatly appreciated.  Thanks. 
-- 
View this message in context: http://www.nabble.com/configure-ppc440spe-as-pci-adapter-tp25389144p25389144.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] configure ppc440spe as pci adapter
  2009-09-10 19:01 [U-Boot] configure ppc440spe as pci adapter dbrazeau
@ 2009-09-11 13:21 ` Stefan Roese
  2009-09-11 13:33 ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Roese @ 2009-09-11 13:21 UTC (permalink / raw)
  To: u-boot

On Thursday 10 September 2009 21:01:57 dbrazeau wrote:
> I'm trying to get my ppc440spe (Katmai) board to initialize in PCI adapter
> mode.  I was hoping that someone could give me some pointers on what
>  changes I need in the katmai config file, i.e. do I need to define
> CONFIG_SYS_PCI_MASTER_INIT.  Also I noticed that some ppc4xx have
> PCI_HOST_ADAPTER defined, but this is not defined in the Katmai config
>  file. Should I define it and define CONFIG_PCI_HOST to it?  Any comments
>  are greatly appreciated.  Thanks.

I don't know of any 440SPe based board used in PCI adapter mode. But you could 
probably check the esd PMC440 board. This is a PPC440EPx based PMC module 
which can be configured/built either as PCI host or as PCI adapter.

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] configure ppc440spe as pci adapter
  2009-09-10 19:01 [U-Boot] configure ppc440spe as pci adapter dbrazeau
  2009-09-11 13:21 ` Stefan Roese
@ 2009-09-11 13:33 ` Wolfgang Denk
  2009-09-14 15:56   ` dbrazeau
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2009-09-11 13:33 UTC (permalink / raw)
  To: u-boot

Dear dbrazeau,

In message <25389144.post@talk.nabble.com> you wrote:
> 
> I'm trying to get my ppc440spe (Katmai) board to initialize in PCI adapter
> mode.  I was hoping that someone could give me some pointers on what changes

You are really talking about the PCI-X port on the Katmai board, are
you? You don't by any chance mean PCIe?

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
Never underestimate the bandwidth of a station wagon full of tapes.
                                -- Dr. Warren Jackson, Director, UTCS

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

* [U-Boot] configure ppc440spe as pci adapter
  2009-09-11 13:33 ` Wolfgang Denk
@ 2009-09-14 15:56   ` dbrazeau
  2009-09-14 22:47     ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: dbrazeau @ 2009-09-14 15:56 UTC (permalink / raw)
  To: u-boot


Yes, I do mean PCIe.  Sorry should have mentioned that.

wd wrote:
> 
> Dear dbrazeau,
> 
> In message <25389144.post@talk.nabble.com> you wrote:
>> 
>> I'm trying to get my ppc440spe (Katmai) board to initialize in PCI
>> adapter
>> mode.  I was hoping that someone could give me some pointers on what
>> changes
> 
> You are really talking about the PCI-X port on the Katmai board, are
> you? You don't by any chance mean PCIe?
> 
> 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
> Never underestimate the bandwidth of a station wagon full of tapes.
>                                 -- Dr. Warren Jackson, Director, UTCS
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 

-- 
View this message in context: http://www.nabble.com/configure-ppc440spe-as-pci-adapter-tp25389144p25438442.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] configure ppc440spe as pci adapter
  2009-09-14 15:56   ` dbrazeau
@ 2009-09-14 22:47     ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2009-09-14 22:47 UTC (permalink / raw)
  To: u-boot

Dear dbrazeau,


please do not top-post / full quote. Make sure to read
http://www.netmeister.org/news/learn2quote.html


In message <25438442.post@talk.nabble.com> you wrote:
> 
> Yes, I do mean PCIe.  Sorry should have mentioned that.

Well, in this case...

> > In message <25389144.post@talk.nabble.com> you wrote:
> >> 
> >> I'm trying to get my ppc440spe (Katmai) board to initialize in PCI
> >> adapter
> >> mode.  I was hoping that someone could give me some pointers on what
> >> changes

...you should also make sure to use right terminology. "Adapter mode"
is a PCI (and PCI-X) related term, but is not used with PCI-e.

With PCI-e, we are talking about "root" versus "end point" mode, and
you do not have to implement any changes for this. You only have to
set the "pcie_mode" environment variable correctly.

Please see this commit message for a description:


commit d4cb2d17946466740afeb195a57d6cb290bf4cc0
Author: Stefan Roese <sr@denx.de>
Date:   Sat Oct 13 16:43:23 2007 +0200

    ppc4xx: Dynamic configuration of 4xx PCIe mode as root or endpoint mode
    
    This patch adds support for dynamic configuration of PCIe ports for the
    AMCC PPC4xx boards equipped with PCIe interfaces. These are the PPC440SPe
    boards Yucca & Katmai and the 405EX board Kilauea.
    
    This dynamic configuration is done via the "pcie_mode" environement
    variable. This variable can be set to "EP" or "RP" for endpoint or
    rootpoint mode. Multiple values can be joined via the ":" delimiter.
    Here an example:
    
    pcie_mode=RP:EP:EP
    
    This way, PCIe port 0 will be configured as rootpoint, PCIe port 1 and 2
    as endpoint.
    
    Per default Yucca will be configured as:
    pcie_mode=RP:EP:EP
    
    Per default Katmai will be configured as:
    pcie_mode=RP:RP:REP
    
    Per default Kilauea will be configured as:
    pcie_mode=RP:RP
    
    Signed-off-by: Tirumala R Marri <tmarri@amcc.com>
    Signed-off-by: Stefan Roese <sr@denx.de>



Sorry that this is not documented properly - Stefan, can you please
add at least some description to the README?

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
It is your destiny.                                     - Darth Vader

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

end of thread, other threads:[~2009-09-14 22:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-10 19:01 [U-Boot] configure ppc440spe as pci adapter dbrazeau
2009-09-11 13:21 ` Stefan Roese
2009-09-11 13:33 ` Wolfgang Denk
2009-09-14 15:56   ` dbrazeau
2009-09-14 22:47     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.