[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] { yes "" | make oldconfig dep all } command failure
Hi,
I am trying to boot the petalinux distribution on a Spartan3E500-RevC kit.
I cannot use the DTE RS-232 port so I created a new EDK project with same features as the reference design one except that I am selecting the RS232 DCE uartlite port.
I added the fs-boot project and modified the .mss and .xmp files. I compiled everything, it is ok.
for the "make config" command I selected Xilinx as vendor and the Xilinx....RevC-lite-edk101 (all other features are as the default ones).
the petalinux-copy-autoconfig command works well also.
comming to the last kernel configuration, it fails. I get the errors posted downward. I suppose it is because of the RS232-DCE uartlite port but could not find a solution. Any help is welcome. Thanks in advance.
Here is the error log (only a part of the log is posted):
---------------------------------------
ccmalloc (CONFIG_LIB_LIBCCMALLOC) [N/y/?]
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
make[2]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/config'
make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist'
make[1]: Entering directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist'
[ -z "" ] || make ARCH=microblaze -C oldconfig
make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist'
make ARCH=microblaze CROSS_COMPILE=microblaze-uclinux- -C linux-2.6.x dep
make[1]: Entering directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/linux-2.6.x-petalogix'
scripts/kconfig/conf -s arch/microblaze/Kconfig
make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/linux-2.6.x-petalogix'
make[1]: Entering directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/linux-2.6.x-petalogix'
*** Warning: make dep is unnecessary now.
make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/linux-2.6.x-petalogix'
make -C tools/ucfront
make[1]: Entering directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/tools/ucfront'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/tools/ucfront'
ln -sf /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld
[ -d /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/images ] || mkdir /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/images
touch /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/images/rootfs.cpio
make ARCH=microblaze CROSS_COMPILE=microblaze-uclinux- -j1 -C linux-2.6.x || exit 1
make[1]: Entering directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/linux-2.6.x-petalogix'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC arch/microblaze/kernel/asm-offsets.s
GEN include/asm-microblaze/asm-offsets.h
CC init/main.o
CHK include/linux/compile.h
CC init/version.o
CC init/do_mounts.o
LD init/mounts.o
LD init/built-in.o
GEN usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/microblaze/kernel/init_task.o
CC arch/microblaze/kernel/setup.o
arch/microblaze/kernel/setup.c: In function `machine_restart':
arch/microblaze/kernel/setup.c:232: warning: unused variable `flags'
CC arch/microblaze/kernel/traps.o
CC arch/microblaze/kernel/process.o
CC arch/microblaze/kernel/time.o
arch/microblaze/kernel/time.c: In function `do_settimeofday':
arch/microblaze/kernel/time.c:50: warning: the address of `do_gettimeoffset', will always evaluate as `true'
CC arch/microblaze/kernel/ptrace.o
CC arch/microblaze/kernel/irq.o
CC arch/microblaze/kernel/semaphore.o
CC arch/microblaze/kernel/opb_intc.o
CC arch/microblaze/kernel/opb_timer.o
CC arch/microblaze/kernel/sys_microblaze.o
arch/microblaze/kernel/sys_microblaze.c: In function `sys_ipc':
arch/microblaze/kernel/sys_microblaze.c:66: warning: assignment makes integer from pointer without a cast
arch/microblaze/kernel/sys_microblaze.c:66: warning: assignment makes pointer from integer without a cast
AS arch/microblaze/kernel/hw_exception_handler.o
CC arch/microblaze/kernel/exceptions.o
AS arch/microblaze/kernel/entry-nommu.o
LD arch/microblaze/kernel/built-in.o
CC arch/microblaze/mm/consistent.o
In file included from include/asm/pci.h:22,
from include/linux/pci.h:736,
from arch/microblaze/mm/consistent.c:47:
include/asm-generic/pci-dma-compat.h: In function `pci_unmap_single':
include/asm-generic/pci-dma-compat.h:42: warning: passing arg 2 of `dma_unmap_single' makes pointer from integer without a cast
LD arch/microblaze/mm/built-in.o
CC arch/microblaze/platform/common/physmap-flash.o
CC arch/microblaze/platform/common/xgpio.o
CC arch/microblaze/platform/common/xuartlite.o
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[2]: *** [arch/microblaze/platform/common] Error 2
make[1]: *** [arch/microblaze/platform] Error 2
make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/linux-2.6.x-petalogix'
make: *** [linux] Error 1
---------------------------------------------------------
___________________________
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/