New to ML-310

Grant Likely grant.likely at secretlab.ca
Thu Jun 14 12:39:51 EST 2007


On 6/13/07, biovore <biovore at biovore.net> wrote:
>   CC      arch/ppc/syslib/xilinx_pic.o
> arch/ppc/syslib/xilinx_pic.c:30:5: warning: "XPAR_XINTC_USE_DCR" is not
> defined
> arch/ppc/syslib/xilinx_pic.c:121:5: warning: "XPAR_XINTC_USE_DCR" is not
> defined
> arch/ppc/syslib/xilinx_pic.c: In function 'ppc4xx_pic_init':
> arch/ppc/syslib/xilinx_pic.c:122: error: 'XPAR_INTC_0_BASEADDR' undeclared
> (first use in this function)
> arch/ppc/syslib/xilinx_pic.c:122: error: (Each undeclared identifier is
> reported only once
> arch/ppc/syslib/xilinx_pic.c:122: error: for each function it appears in.)
> arch/ppc/syslib/xilinx_pic.c:148: error: 'XPAR_INTC_0_KIND_OF_INTR' undeclared
> (first use in this function)
> make[1]: *** [arch/ppc/syslib/xilinx_pic.o] Error 1
> make: *** [arch/ppc/syslib] Error 2
>
> This to me looks like my xparameters.h file is missing something..    Any
> ideas?

Go into software settings, and set a driver for the intc core.  (Or
you might be missing an interrupt controller entirely in your design)

BTW, I wouldn't bother with getting EDK to patch your kernel tree.
You're better off to generate the BSP into an empty directory and just
copy in your custom xparams file.  The EDK patching is fragile if you
don't use exactly the right kernel version.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195



More information about the Linuxppc-dev mailing list