[U-Boot] Problem with transparent PCI-PCI bridge on Canyonlands

Hi,
I'm running latest u-boot on 1GHz Canyonlands board and have trouble using 64-bit transparent PCI-PCI PLX 6254 bridge. With PLX evaluation board plugged into Canyonlands PCI slot u-boot hangs. With PCI support disabled u-boot works fine. The PLX board is OK, it was recognized by both u-boot and kernel on Freescale MPC8536DS board. On Canyonlands linux-2.6.32 silently resets the board when PLX is plugged in. Any ideas what could be wrong in u-boot ? I'll post a separate question to linuxppc-dev.
U-Boot 2009.11-rc2-00002-g386118a (Dec 09 2009 - 18:48:44)
CPU: AMCC PowerPC 460EX Rev. A at 1000 MHz (PLB=200 OPB=100 EBC=100) Security/Kasumi support Bootstrap Option H - Boot ROM Location I2C (Addr 0x52) Internal PCI arbiter enabled 32 kB I-Cache 32 kB D-Cache Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 14 I2C: ready DRAM: 512 MB (ECC not enabled, 400 MHz, CL3) FLASH: 64 MB NAND: 256 MiB PCI: Bus Dev VenId DevId Class Int
Thanks a lot.
Felix.

Dear Felix Radensky,
In message 4B1FE62C.7080407@embedded-sol.com you wrote:
I'm running latest u-boot on 1GHz Canyonlands board and have trouble using 64-bit transparent PCI-PCI PLX 6254 bridge. With PLX evaluation board plugged into Canyonlands PCI slot u-boot hangs. With PCI support
-----------------------------------------^^^^^^^^^^^^^
Where exactly does U-Boot hang?
What are the console messages you see? And which U-Boot version is this, and which version of the Canyonlands board?
disabled u-boot works fine. The PLX board is OK, it was recognized by both u-boot and kernel on Freescale MPC8536DS board. On Canyonlands linux-2.6.32 silently resets the board when PLX is plugged in. Any ideas
--^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is inconsistent: above you report U-Boot hangs, here you claim that Linux reboots?
U-Boot 2009.11-rc2-00002-g386118a (Dec 09 2009 - 18:48:44)
CPU: AMCC PowerPC 460EX Rev. A at 1000 MHz (PLB=200 OPB=100 EBC=100)
--------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Did you try running in another configuration, like 800-nor or 1066-nor?
Best regards,
Wolfgang Denk

Hi, Wolfgang
Wolfgang Denk wrote:
Dear Felix Radensky,
In message 4B1FE62C.7080407@embedded-sol.com you wrote:
I'm running latest u-boot on 1GHz Canyonlands board and have trouble using 64-bit transparent PCI-PCI PLX 6254 bridge. With PLX evaluation board plugged into Canyonlands PCI slot u-boot hangs. With PCI support
-----------------------------------------^^^^^^^^^^^^^
Where exactly does U-Boot hang?
What are the console messages you see? And which U-Boot version is this, and which version of the Canyonlands board?
disabled u-boot works fine. The PLX board is OK, it was recognized by both u-boot and kernel on Freescale MPC8536DS board. On Canyonlands linux-2.6.32 silently resets the board when PLX is plugged in. Any ideas
--^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is inconsistent: above you report U-Boot hangs, here you claim that Linux reboots?
As I said, if I disable PCI support in u-boot, it runs fine and can start booting linux.
U-Boot 2009.11-rc2-00002-g386118a (Dec 09 2009 - 18:48:44)
CPU: AMCC PowerPC 460EX Rev. A at 1000 MHz (PLB=200 OPB=100 EBC=100)
--------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Did you try running in another configuration, like 800-nor or 1066-nor?
I did try 600-nor and 800-nor, but that didn't change anything. With 1066-nor u-boot hangs earlier, the console messages show
U-Boot 2009.11-rc2-00002-g386118a (Dec 09 2009 - 18:48:44)
CPU: AMCC PowerPC 460EX Rev. A at 1066.667 MHz (PLB=266 OPB=88 EBC=88) Security/Kasumi support Bootstrap Option H - Boot ROM Location I2C (Addr 0x52) Internal PCI arbiter enabled 32 kB I-Cache 32 kB D-Cache Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 14 I2C: ready DRAM: 512 MB (ECC not enabled, 533 MHz, CL4)
Felix.

Hi, Wolfgang
Felix Radensky wrote:
Hi, Wolfgang
--------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Did you try running in another configuration, like 800-nor or 1066-nor?
I did try 600-nor and 800-nor, but that didn't change anything. With 1066-nor u-boot hangs earlier, the console messages show
U-Boot 2009.11-rc2-00002-g386118a (Dec 09 2009 - 18:48:44)
CPU: AMCC PowerPC 460EX Rev. A at 1066.667 MHz (PLB=266 OPB=88 EBC=88) Security/Kasumi support Bootstrap Option H - Boot ROM Location I2C (Addr 0x52) Internal PCI arbiter enabled 32 kB I-Cache 32 kB D-Cache Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 14 I2C: ready DRAM: 512 MB (ECC not enabled, 533 MHz, CL4)
Felix.
Actually, 1066-nor is not different from other configurations. Switching to 1066-nor requires power-cycle, it's not enough to simply run "reset" command. Anyway, in this configuration u-boot also hangs when PLX board is plugged in.
Felix.

Dear Felix Radensky,
In message 4B2022D6.7040104@embedded-sol.com you wrote:
Anyway, in this configuration u-boot also hangs when PLX board is plugged in.
Are you using an ATX power supply? If not: do that!
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
Dear Felix Radensky,
In message 4B2022D6.7040104@embedded-sol.com you wrote:
Anyway, in this configuration u-boot also hangs when PLX board is plugged in.
Are you using an ATX power supply? If not: do that!
I do use ATX power supply, but it only has 20 pins, while Canyonlands connector has 24 pins. Could that be a problem ?
Felix.

Can you turn on the additional debug information. That will give a better Clue as to what part is hanging.
Feng Kan AMCC Software
-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Felix Radensky Sent: Wednesday, December 09, 2009 10:02 AM To: u-boot@lists.denx.de; Stefan Roese Subject: [U-Boot] Problem with transparent PCI-PCI bridge on Canyonlands
Hi,
I'm running latest u-boot on 1GHz Canyonlands board and have trouble using 64-bit transparent PCI-PCI PLX 6254 bridge. With PLX evaluation board plugged into Canyonlands PCI slot u-boot hangs. With PCI support disabled u-boot works fine. The PLX board is OK, it was recognized by both u-boot and kernel on Freescale MPC8536DS board. On Canyonlands linux-2.6.32 silently resets the board when PLX is plugged in. Any ideas what could be wrong in u-boot ? I'll post a separate question to linuxppc-dev.
U-Boot 2009.11-rc2-00002-g386118a (Dec 09 2009 - 18:48:44)
CPU: AMCC PowerPC 460EX Rev. A at 1000 MHz (PLB=200 OPB=100 EBC=100) Security/Kasumi support Bootstrap Option H - Boot ROM Location I2C (Addr 0x52) Internal PCI arbiter enabled 32 kB I-Cache 32 kB D-Cache Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 14 I2C: ready DRAM: 512 MB (ECC not enabled, 400 MHz, CL3) FLASH: 64 MB NAND: 256 MiB PCI: Bus Dev VenId DevId Class Int
Thanks a lot.
Felix.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Hi,
Feng Kan wrote:
Can you turn on the additional debug information. That will give a better Clue as to what part is hanging.
I've enabled debugging in drivers/pci/pci.c. I'm seeing an infinite flow of messages
PCI: Bus Dev VenId DevId Class Int PCI Scan: Found Bus 0, Device 6, Function 0 PCI Scan: Found Bus 1, Device 6, Function 0 ... PCI Scan: Found Bus 255, Device 6, Function 0 PCI Scan: Found Bus 0, Device 6, Function 0 PCI Scan: Found Bus 1, Device 6, Function 0 ...
Felix.
Feng Kan AMCC Software
-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Felix Radensky Sent: Wednesday, December 09, 2009 10:02 AM To: u-boot@lists.denx.de; Stefan Roese Subject: [U-Boot] Problem with transparent PCI-PCI bridge on Canyonlands
Hi,
I'm running latest u-boot on 1GHz Canyonlands board and have trouble using 64-bit transparent PCI-PCI PLX 6254 bridge. With PLX evaluation board plugged into Canyonlands PCI slot u-boot hangs. With PCI support disabled u-boot works fine. The PLX board is OK, it was recognized by both u-boot and kernel on Freescale MPC8536DS board. On Canyonlands linux-2.6.32 silently resets the board when PLX is plugged in. Any ideas what could be wrong in u-boot ? I'll post a separate question to linuxppc-dev.
U-Boot 2009.11-rc2-00002-g386118a (Dec 09 2009 - 18:48:44)
CPU: AMCC PowerPC 460EX Rev. A at 1000 MHz (PLB=200 OPB=100 EBC=100) Security/Kasumi support Bootstrap Option H - Boot ROM Location I2C (Addr 0x52) Internal PCI arbiter enabled 32 kB I-Cache 32 kB D-Cache Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 14 I2C: ready DRAM: 512 MB (ECC not enabled, 400 MHz, CL3) FLASH: 64 MB NAND: 256 MiB PCI: Bus Dev VenId DevId Class Int
Thanks a lot.
Felix.
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Feng, Stefan
Can I do anything else to help you identify the problem ?
Thanks.
Felix.
Felix Radensky wrote:
Hi,
Feng Kan wrote:
Can you turn on the additional debug information. That will give a better Clue as to what part is hanging.
I've enabled debugging in drivers/pci/pci.c. I'm seeing an infinite flow of messages
PCI: Bus Dev VenId DevId Class Int PCI Scan: Found Bus 0, Device 6, Function 0 PCI Scan: Found Bus 1, Device 6, Function 0 ... PCI Scan: Found Bus 255, Device 6, Function 0 PCI Scan: Found Bus 0, Device 6, Function 0 PCI Scan: Found Bus 1, Device 6, Function 0 ...
Felix.
Feng Kan AMCC Software
-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Felix Radensky Sent: Wednesday, December 09, 2009 10:02 AM To: u-boot@lists.denx.de; Stefan Roese Subject: [U-Boot] Problem with transparent PCI-PCI bridge on Canyonlands
Hi,
I'm running latest u-boot on 1GHz Canyonlands board and have trouble using 64-bit transparent PCI-PCI PLX 6254 bridge. With PLX evaluation board plugged into Canyonlands PCI slot u-boot hangs. With PCI support disabled u-boot works fine. The PLX board is OK, it was recognized by both u-boot and kernel on Freescale MPC8536DS board. On Canyonlands linux-2.6.32 silently resets the board when PLX is plugged in. Any ideas what could be wrong in u-boot ? I'll post a separate question to linuxppc-dev.
U-Boot 2009.11-rc2-00002-g386118a (Dec 09 2009 - 18:48:44)
CPU: AMCC PowerPC 460EX Rev. A at 1000 MHz (PLB=200 OPB=100 EBC=100) Security/Kasumi support Bootstrap Option H - Boot ROM Location I2C (Addr 0x52) Internal PCI arbiter enabled 32 kB I-Cache 32 kB D-Cache Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 14 I2C: ready DRAM: 512 MB (ECC not enabled, 400 MHz, CL3) FLASH: 64 MB NAND: 256 MiB PCI: Bus Dev VenId DevId Class Int
Thanks a lot.
Felix.
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Felix,
On Tuesday 15 December 2009 08:30:26 Felix Radensky wrote:
Can I do anything else to help you identify the problem ?
Do you have other PPC4xx boards, in which you could test this PCI-PCI bridge board?
Some other comments below.
Thanks.
Felix.
Felix Radensky wrote:
Hi,
Feng Kan wrote:
Can you turn on the additional debug information. That will give a better Clue as to what part is hanging.
I've enabled debugging in drivers/pci/pci.c. I'm seeing an infinite flow of messages
PCI: Bus Dev VenId DevId Class Int PCI Scan: Found Bus 0, Device 6, Function 0 PCI Scan: Found Bus 1, Device 6, Function 0 ... PCI Scan: Found Bus 255, Device 6, Function 0 PCI Scan: Found Bus 0, Device 6, Function 0 PCI Scan: Found Bus 1, Device 6, Function 0 ...
Strange to see an infinite loop here. I suggest you debug, why pci_hose_scan_bus() is called endlessly. Hard to guess without access to such a board.
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@denx.de

Hi, Stefan
Stefan Roese wrote:
Felix,
On Tuesday 15 December 2009 08:30:26 Felix Radensky wrote:
Can I do anything else to help you identify the problem ?
Do you have other PPC4xx boards, in which you could test this PCI-PCI bridge board?
No, I don't.
Some other comments below.
Thanks.
Felix.
Felix Radensky wrote:
Hi,
Feng Kan wrote:
Can you turn on the additional debug information. That will give a better Clue as to what part is hanging.
I've enabled debugging in drivers/pci/pci.c. I'm seeing an infinite flow of messages
PCI: Bus Dev VenId DevId Class Int PCI Scan: Found Bus 0, Device 6, Function 0 PCI Scan: Found Bus 1, Device 6, Function 0 ... PCI Scan: Found Bus 255, Device 6, Function 0 PCI Scan: Found Bus 0, Device 6, Function 0 PCI Scan: Found Bus 1, Device 6, Function 0 ...
Strange to see an infinite loop here. I suggest you debug, why pci_hose_scan_bus() is called endlessly. Hard to guess without access to such a board.
OK, thanks. I'll look into it.
Felix.
participants (4)
-
Felix Radensky
-
Feng Kan
-
Stefan Roese
-
Wolfgang Denk