
Greetings fellow u-boot'ers:
I've done a port to the ibm ppc440 gx (patch is in Wolfgang's queue for those that are interested).
I am having a problem with PCI 'plug-n-play', specifically with bridge setup.
My topology is the following (from linux):
bash-2.05# lspci -t -[00]-+-01.0-[01-03]--+-00.0-[02]--+-02.0 | | -04.0 | -01.0-[03]----03.0 -02.0
Where 01.0, 00.0[02], and 01.0[03] are intel 21154 p2p bridges in Bus/dev/func speak: 0/1/0, 1/0/0, and 1/1/0.
If I turn on CONFIG_PCI_PNP (in u-boot), the pci enumeration never stops. I turned on DEBUG'ing in pci.c and pci_auto.c and added some debug prints to try to see what is going on, but I cannot figure out why it is seeing more than just the 3 21154 bridges.
Any help would greatly be appreciated.
OUTPUT:
U-Boot 1.0.1 (Jan 19 2004 - 15:17:24)
IBM PowerPC 440 GX Rev. B Board: XES XPedite1000 440GX VCO: 1333 MHz CPU: 666 MHz PLB: 166 MHz OPB: 83 MHz EPB: 27 MHz I2C: ready DRAM: 512 MB FLASH: 512 kB PCI: Bus Dev VenId DevId Class Int PCI Autoconfig: Memory region: [80000000-8fffffff] PCI Autoconfig: I/O region: [0-ffff] PCI Scan: Found Bus 0, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=0x4, address=0x0 PCI Autoconfig: Found P2P bridge, device 0/1 PCI Autoconfig: setting device 0/1 PBUS: 0 SBUS: 1 SUBBUS: ff PCI Autoconfig: Scanning down P2P bridge, busno: 1 PCI Scan: Found Bus 1, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=0x4, address=0x1000 PCI Autoconfig: Found P2P bridge, device 1/1 PCI Autoconfig: setting device 1/1 PBUS: 1 SBUS: 2 SUBBUS: ff PCI Autoconfig: Scanning down P2P bridge, busno: 2 PCI Scan: Found Bus 2, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=0x4, address=0x2000 PCI Autoconfig: Found P2P bridge, device 2/1 PCI Autoconfig: setting device 2/1 PBUS: 2 SBUS: 3 SUBBUS: ff PCI Autoconfig: Scanning down P2P bridge, busno: 3 PCI Scan: Found Bus 3, Device 1, Function 0 PCI Autoconfig: BAR 0, I/O, size=0x4, address=0x3000 PCI Autoconfig: Found P2P bridge, device 3/1 PCI Autoconfig: setting device 3/1 PBUS: 3 SBUS: 4 SUBBUS: ff PCI Autoconfig: Scanning down P2P bridge, busno: 4 [SNIP, goes on forever...]
-travis sawyer