PCI on ML310 Xilinx board

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hello,

I'm trying to use Linux 2.6 on the ML310 Xilinx board with PCI support.
After adding the PCI bridge, I generate the BSP headers to compile the
Linux kernel. I do __make menuconfig__ and add PCI support but when I
__make__ I get the following errors:

arch/ppc/syslib/ppc4xx_setup.c: In function `ppc4xx_map_io':
arch/ppc/syslib/ppc4xx_setup.c:123: error: `PPC4xx_PCI_IO_VADDR'
undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_setup.c:123: error: (Each undeclared identifier
is reported only once
arch/ppc/syslib/ppc4xx_setup.c:123: error: for each function it appears
in.)
arch/ppc/syslib/ppc4xx_setup.c:124: error: `PPC4xx_PCI_IO_PADDR'
undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_setup.c:124: error: `PPC4xx_PCI_IO_SIZE'
undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_setup.c:125: error: `PPC4xx_PCI_CFG_VADDR'
undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_setup.c:126: error: `PPC4xx_PCI_CFG_PADDR'
undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_setup.c:126: error: `PPC4xx_PCI_CFG_SIZE'
undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_setup.c:127: error: `PPC4xx_PCI_LCFG_VADDR'
undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_setup.c:128: error: `PPC4xx_PCI_LCFG_PADDR'
undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_setup.c:128: error: `PPC4xx_PCI_LCFG_SIZE'
undeclared (first use in this function)
make[1]: *** [arch/ppc/syslib/ppc4xx_setup.o] Error 1

What do I have to do to get rid of these errors? Is there a patch
available?

Thanks a lot,
Sven


Re: PCI on ML310 Xilinx board
Currently, the 2.6 Linux kernel only has very limited support for V2P
and V4. Please use the Linux 2.4 kernel and consult the ML310 web pages
(http://www.xilinx.com/ml310 ) on how to get Linux, including PCI, up and
running on the ML310.

In the 2.4 kernel these constants are defined in
arch/ppc/platforms/xilinx_ml300.h

- Peter


Sven Gowal wrote:
Quoted text here. Click to load it


Re: PCI on ML310 Xilinx board
Unfortunately I have to use the linux 2.6 kernel... but thanks for the
info.

- Sven


Re: PCI on ML310 Xilinx board
What features of the 2.6 kernel do you require?  Just curious...

Paul

Sven Gowal wrote:
Quoted text here. Click to load it

Re: PCI on ML310 Xilinx board
Actually, I could use Linux 2.4 but it would ask me to make all my char
drivers compatible with it. Since they changed a lot of stuff for
module compiling, loading, ... it would be too much work.

Sven


Site Timeline