Hi,<br><br>Thanks to the valuable information provided by this discussion group and particularly by Grant Likely from Secret Lab Technologies, I was able to setup and run Linux 2.6 on my ML-310 development platform.<br><br>
On the ML-310, if I want to use the Ethernet port and some other peripherals, I need to go through the PCI bus via the opb_pci core on the FPGA.<br><br>However, when I enable PCI support in the kernel, I get the following error messages:
<br><br>arch/ppc/syslib/ppc4xx_setup.c: In function `ppc4xx_map_io&#39;:<br>arch/ppc/syslib/ppc4xx_setup.c:118: error: `PPC4xx_PCI_IO_VADDR&#39; undeclared (first use in this function)<br>arch/ppc/syslib/ppc4xx_setup.c:118: error: (Each undeclared identifier is reported only once
<br>arch/ppc/syslib/ppc4xx_setup.c:118: error: for each function it appears in.)<br>arch/ppc/syslib/ppc4xx_setup.c:119: error: `PPC4xx_PCI_IO_PADDR&#39; undeclared (first use in this function)<br>arch/ppc/syslib/ppc4xx_setup.c:119: error: `PPC4xx_PCI_IO_SIZE&#39; undeclared (first use in this function)
<br>arch/ppc/syslib/ppc4xx_setup.c:120: error: `PPC4xx_PCI_CFG_VADDR&#39; undeclared (first use in this function)<br>arch/ppc/syslib/ppc4xx_setup.c:121: error: `PPC4xx_PCI_CFG_PADDR&#39; undeclared (first use in this function)
<br>arch/ppc/syslib/ppc4xx_setup.c:121: error: `PPC4xx_PCI_CFG_SIZE&#39; undeclared (first use in this function)<br>arch/ppc/syslib/ppc4xx_setup.c:122: error: `PPC4xx_PCI_LCFG_VADDR&#39; undeclared (first use in this function)
<br>arch/ppc/syslib/ppc4xx_setup.c:123: error: `PPC4xx_PCI_LCFG_PADDR&#39; undeclared (first use in this function)<br>arch/ppc/syslib/ppc4xx_setup.c:123: error: `PPC4xx_PCI_LCFG_SIZE&#39; undeclared (first use in this function)
<br>make[1]: *** [arch/ppc/syslib/ppc4xx_setup.o] Error 1<br><br>My Xilinx Platform Studio has the proper PCI bridge component, but the exported constants in xparameters_ml300.h are not helping me figure out the mapping that I should give to those PPC4xx values (the parameters contain a lot of XPAR_PCI32_BRIDGE_* constants).&nbsp; I&#39;m guessing that the address mappings must be set from some of those for the PCI range to appear in the PowerPC address space.&nbsp; Please correct me if I&#39;m misunderstanding something here...
<br><br>I only saw one mention of this error related to the ML-310 in a discussion dating in 2005 and the answer was that the 2.6 kernel was not supporting the Virtex-II Pro too well at the time.&nbsp; Has this changed and does anyone have had success using the PCI bridge in Linux 
2.6 on an ML-310 development platform ?<br clear="all"><br>Thanks,<br><br>Jean-Samuel<br>-- <br>Integrated Microsystems Laboratory<br>McGill University, Montréal, QC, CANADA<br>Web Page: <a href="http://chaos.ece.mcgill.ca">
http://chaos.ece.mcgill.ca</a>