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

Re: [microblaze-uclinux] error UART not defined




Michal

I give these suggestion a try but I did find that if Spartan3DSP1800A-Rev1-MMU-edk101 is the product target it works.
...Chris

Michal Simek wrote:
Hi Chris,

I just did a SVN pull (svn checkout
https://developer.petalogix.com/pr/internal/petalinux/trunk) and when
attempting to build the system the following error is generated.  The
reference to Xilinx uartlite serial port support in serial devices
Device Driver>Character Devices> is selected.  And even un-selecting
the reference doesnt fix the error.  ??

make[2]: Entering directory `/software/petalinux-dist/u-boot/post'
mb-linux-gcc -Wa,-gstabs -D__ASSEMBLY__ -g  -Os   -D__KERNEL__
-DTEXT_BASE=0x8ffc0000 -I/software/petalinux-dist/u-boot/include
-fno-builtin -ffreestanding -nostdinc -isystem
/tools/linux-i386/microblaze-glibc-root/bin/../lib/gcc/microblaze-linux-elf/4.1.1/include
-pipe  -ffixed-r31 -D__microblaze__ -mno-xl-soft-mul -mxl-barrel-shift
-mcpu=v7.10.c   -c -o cache_8xx.o
/software/petalinux-dist/u-boot/post/cache_8xx.S
In file included from ../include/config.h:2,
                from envcrc.c:32:
../include/configs/petalogix-microblaze-auto.h:100:3: error: #error UART
not defined

This problems comes from old design (till edk10.1). I added there checking for
specify which uart you want to use -> the best way is to open older design and
run make -f system.make libs -> You get new Kconfig.auto which is necessary to
copy to linux kernel. Then your build will be clean.

The second choice is disable u-boot building in menuconfig.

Regards,
Michal


___________________________
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/



___________________________
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/