[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] SPI compile problem
Hi,
On Sun, Aug 16, 2009 at 10:39 PM, Darko Tasovac<tdarko@xxxxxxxxx> wrote:
>
> I have spartan3e500 development board. Using EDK I added the Xilinx SPI IP
> into the design. Problem occurs when I try to compile petalinux image
> (arch/microblaze/platform/common/xspi.c:51: error:
> `CONFIG_XILINX_SPI_0_SPI_SLAVE_ONLY' undeclared here (not in a function)).
> I've checked kconfig.auto and it has not XILINX_SPI_0_SPI_SLAVE_ONLY. Only
> file in my design which has XILINX_SPI_0_SPI_SLAVE_ONLY is xparameter.h. I
> can manually add the XILINX_SPI_0_SPI_SLAVE_ONLY in kconfig.auto and the
> problem can be solved.
>
> Is petalinux-copy-autoconfig responsible for kconfig.auto?
After adding the IP core in your project, you should re-run "make -f
system.make libs" - this should update the local copy of Kconfig.auto.
Then, run petalinux-copy-autoconfig, to update the settings in the
kernel directory.
Finally, rebuild your kernel to get the changes.
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
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/