Skip to contentSkip to conversation

ppc4xx: PCI init failure on kilauea?

U-Boot-Users H L 2 participants 4 messages Mar 3, 2008 – Mar 4, 2008

lore
Share & tools
lore

H L

author
#0 lore raw

Greetings from Austin, TX. My first posting to this list. Searched through the archives first, but didn't see any mention, so.....

On recently obtained new kilauea boards, I noted on all of them PCI init failure at boot:

U-Boot 1.3.1-g5dd372a2 (Jan 14 2008 - 11:01:38)

CPU: AMCC PowerPC 405EX Rev. A at 400 MHz (PLB=200, OPB=100, EBC=100 MHz)
Security support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52) 16 kB I-Cache 16 kB D-Cache

Board: Kilauea - AMCC PPC405EX Evaluation Board
I2C:   ready
DTT1:  22 C
DRAM:  256 MB
FLASH: 64 MB
NAND:  64 MiB
PCI:   Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE0: initialization as root-complex failed
PCIE1: link is not up.
PCIE1: initialization as root-complex failed

I did a git on ppc4xx and built/flashed that, but still seeing the same failure. Appears to die in ppc4xx_init_pcie_port() on the:

    /*
     * Verify link is up
     */
    val = SDR_READ(SDRN_PESDR_LOOP(port));
    if (!(val & 0x00001000)) {

val is coming back with a value of zero. This occurs whether or not any adapters are plugged into the PCIe slots. Anyone else seeing this?

thx,
LH

---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search. -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080303/20e9859e/attachment.htm

#1 lore raw
Quoted 7 lines · H L

Greetings from Austin, TX. My first posting to this list. Searched through the archives first, but didn't see any mention, so.....

On recently obtained new kilauea boards, I noted on all of them PCI init failure at boot:

U-Boot 1.3.1-g5dd372a2 (Jan 14 2008 - 11:01:38)

<snip>

Quoted 2 lines

val is coming back with a value of zero. This occurs whether or not any adapters are plugged into the PCIe slots. Anyone else seeing this?

Are you using the ATX power supply or the external 5V power supply? You have to use the ATX power supply for the PCIe slots to work correctly. I'm pretty sure this is your problem.

If not, then please list which PCIe boards are failing on your system.

Best regards,
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
=====================================================================

author
#2 lore raw

Yup, that was it! And along with, of course, the needed J14 jumper. Thank you!

Curiously with an adapter in PCIE0 which comes up fine, one still sees the same "complaint" message on the other PCIE slot when there's no adapter therein.

Quoted 6 lines · H L

Greetings from Austin, TX. My first posting to this list. Searched through the archives first, but didn't see any mention, so.....

On recently obtained new kilauea boards, I noted on all of them PCI init failure at boot:

Quoted 6 lines

U-Boot 1.3.1-g5dd372a2 (Jan 14 2008 - 11:01:38)

val is coming back with a value of zero. This occurs whether or not any adapters are plugged into the PCIe slots. Anyone else seeing this?

Are you using the ATX power supply or the external 5V power supply? You have to use the ATX power supply for the PCIe slots to work correctly. I'm pretty sure this is your problem.

If not, then please list which PCIe boards are failing on your system.

Best regards,
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
=====================================================================

---------------------------------
Never miss a thing. Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080303/50e0495e/attachment.htm

#3 lore raw
Quoted 1 line · H L

Yup, that was it! And along with, of course, the needed J14 jumper.

Right.

Quoted 6 lines

Thank
you!

Curiously with an adapter in PCIE0 which comes up fine, one still sees the same "complaint" message on the other PCIE slot when there's no adapter therein.

This message will always appear when no PCIe board is detected.

Best regards,
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
=====================================================================