public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] MPC8343 PCI setup
@ 2008-04-03 16:37 Andre Schwarz
  2008-04-03 18:51 ` Tor Krill
  0 siblings, 1 reply; 3+ messages in thread
From: Andre Schwarz @ 2008-04-03 16:37 UTC (permalink / raw)
  To: u-boot

All,

currently I'm trying to bring up a mpc8343 based system.
Latest u-boot v1.3.2 is running fine.

The MPC8343 has a single 32-Bit PCI Bus running at 66MHz.
Connected are a FPGA (IDSEL 11 + IRQ0) and a miniPCI Slot (IDSEL12 + 
IRQ1).                                    

Unfortunately the kernel panics during/after PCI setup.

As always I expect my device tree to be wrong or at least is missing 
something.
I startet with "mpc834x_mds.dts", removed the 2nd PCI and switched to 
"PowerPC,8343 at 0".



u-boot shows this pci node :


        pci at e0008500 {
                cell-index = <0x00000001>;
                interrupt-map-mask = [00 00 f8 00 00 00 00 00 00 00 00 
00 00 00 00 07];
                interrupt-map = [00 00 58 00 00 00 00 00 00 00 00 00 00 
00 00 01 00 00 00 01 00 00 00 30 00 00 00 08 00 00
60 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 11 00 00 
00 08];
                interrupt-parent = <0x00000001>;
                interrupts = <0x00000042 0x00000008>;
                bus-range = <0x00000000 0x00000000>;
                ranges = [02 00 00 00 00 00 00 00 90 00 00 00 90 00 00 
00 00 00 00 00 10 00 00 00 42 00 00 00 00 00 00 00 8
0 00 00 00 80 00 00 00 00 00 00 00 10 00 00 00 01 00 00 00 00 00 00 00 
00 00 00 00 e2 00 00 00 00 00 00 00 00 10 00 00];
                clock-frequency = <0x03f940aa>;
                #interrupt-cells = <0x00000001>;
                #size-cells = <0x00000002>;
                #address-cells = <0x00000003>;
                reg = <0xe0008500 0x00000100>;
                compatible = "fsl,mpc8349-pci";
                device_type = "pci";
        };




Booting the kernel :


Using mvBlueLYNX-M7 machine description
Linux version 2.6.25-rc7-01000-ga1ba6f0-dirty (root at nova) (gcc version 
4.0.0 (DENX ELDK 4.1 4.0.0)) #23 PREEMPT Thu Apr 3 1
6:46:17 CEST 2008
Found initrd at 0xc3978000:0xc3c00000
console [udbg0] enabled
setup_arch: bootmem
mvblm7_setup_arch()
Adding PCI host bridge /pci at e0008500
Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus 
number: 0->0
 ->Hose at 0xc02bf000, cfg_addr=0xfdffd300,cfg_data=0xfdffd304
PCI host bridge /pci at e0008500 (primary) ranges:
 MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
 MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 Prefetch
  IO 0x00000000e2000000..0x00000000e20fffff -> 0x0000000000000000
Unable to handle kernel paging request for data at address 0x00000000



Call trace gives address last called function "of_device_is_compatible".

Any help is welcome !


regards,
Andre Schwarz
Matrix Vision



MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

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

end of thread, other threads:[~2008-04-04 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03 16:37 [U-Boot-Users] MPC8343 PCI setup Andre Schwarz
2008-04-03 18:51 ` Tor Krill
2008-04-04 12:56   ` Andre Schwarz

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