[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] troubles with Petalinux and libgen in XPS 11.1



Hi Nicolas,

On Tue, Jun 16, 2009 at 4:50 AM, Nicolas Herve <nicolas.herve@xxxxxxxxx> wrote:
Indeed, from the XPS side this is ok, now from the petalinux side
there is some issues.

After a a petalinux-copy-config from the XPS 11.1 project, and a `make
clean all`
from $PETALINUX/software/petalinux-dist, I have the following compiling errors :

make[1]: Entering directory
`/home/users/nicolas/research/SoPC/OS/petalinux-svn/software/linux-2.6.x-petalogix'
[...]
arch/microblaze/platform/common/xuartlite.c:40: error:
‘CONFIG_XILINX_UARTLITE_0_IRQ’ undeclared here (not in a function)
make[3]: *** [arch/microblaze/platform/common/xuartlite.o] Error 1
make[3]: *** Waiting for unfinished jobs....
arch/microblaze/platform/common/xsysace.c:40: error:
‘CONFIG_XILINX_SYSACE_0_IRQ’ undeclared here (not in a function)

There is a problem in your Kconfig,.auto file - the IRQ number assignments are not there.  Causes:

1 - bad HW design with peripheral IRQs not connected
2 - failure to correctly apply the 11.1 patch for the petalinux BSP tools
3 - failure to actually rebuild the Kconfig.auto.  in your HW project, do "make -f  system.make libsclean", then rebuild the libs, to be sure.  Then, do copy-autoconfig.

Regards,

John
--
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com  p: +61-7-30090663  f: +61-7-30090663