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':<br>arch/ppc/syslib/ppc4xx_setup.c:118: error: `PPC4xx_PCI_IO_VADDR' 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' undeclared (first use in this function)<br>arch/ppc/syslib/ppc4xx_setup.c:119: error: `PPC4xx_PCI_IO_SIZE' undeclared (first use in this function)
<br>arch/ppc/syslib/ppc4xx_setup.c:120: error: `PPC4xx_PCI_CFG_VADDR' undeclared (first use in this function)<br>arch/ppc/syslib/ppc4xx_setup.c:121: error: `PPC4xx_PCI_CFG_PADDR' undeclared (first use in this function)
<br>arch/ppc/syslib/ppc4xx_setup.c:121: error: `PPC4xx_PCI_CFG_SIZE' undeclared (first use in this function)<br>arch/ppc/syslib/ppc4xx_setup.c:122: error: `PPC4xx_PCI_LCFG_VADDR' undeclared (first use in this function)
<br>arch/ppc/syslib/ppc4xx_setup.c:123: error: `PPC4xx_PCI_LCFG_PADDR' undeclared (first use in this function)<br>arch/ppc/syslib/ppc4xx_setup.c:123: error: `PPC4xx_PCI_LCFG_SIZE' 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). I'm guessing that the address mappings must be set from some of those for the PCI range to appear in the PowerPC address space. Please correct me if I'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. 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>