Skip to contentSkip to conversation

ppc4xx_find_bridges( ) hangs kernel on Xilinx ML300 (PCI)]

DISCUSSION Mike Wellington 1 participant 1 message Apr 19, 2004

lore
Share & tools
lore
#0 lore raw

PCI problem solved!

-------- Original Message --------
Subject: Re: ppc4xx_find_bridges( ) hangs kernel on Xilinx ML300 (PCI)
Date: Mon, 19 Apr 2004 13:48:02 -0700
From: Peter Ryser <[email protected]>
Organization: Xilinx, Inc.
To: Mike Wellington <[email protected]>
CC: [email protected]
References: <[email protected]> <[email protected]>

The PCI support that is currently included in the Linux kernel tree is for the V2PDK based OPB -> PCI bridge. It will not work with the EDK based OPB -> PCI bridge, i.e. you will find exactly what you see.

Please download the EDK reference design for ML300 from
http://www.xilinx.com/ise/embedded/edk_examples.htm (design #6). The design contains the V2PDK based bridge (including the pcore therefor) and, thus, the Linux kernel will work fine with that design.

We are currently working on moving to the EDK based bridge and the Linux kernel tree will be patched once this work is completed.

- Peter

Quoted 19 lines · Mike Wellington

Hi-
I am trying to port the Xilinx PCI code to
an embedded linux kernel. The code calls ppc4xx_find_bridges( ) during the kernel initialization and hangs the kernel.

I built the GPL 2.4 kernel from the Open Source
archives and it hangs also.

Then I copied ppc405_pci.c from the GPL source
to my kernel tree and copied head_4xx.S from the GPL source to my kernel tree and it still hangs.

I'm starting to wonder if there is something
wrong with the PCI support for the Xilinx OCP PCI core.

Quoted 11 lines

Does anybody have a working PCI device on a
Xilinx Virtex-II Pro using the Xilinx-supplied PCI core?

-mike wellington
[email protected]
[email protected]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/