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

Re: [microblaze-uclinux] Error building v0.40-rc2




Michal

Sorry if this is a repeat. However, a lot of things where done with the v0.30-rc1 to get it to build which caused a lost page from my notes which stated how to correct the problem (note I'm very frustrated with dropping the ball on this). My real thought here was to demonstrate what happens with the new distro if the shortest, least interactive startup took place. If this was wrong, I apologies. But just a suggested if I may, change to the default settings of the hardware, maybe to something other than >Vendor selection>Petalinux but to Vendor selection>Xilinx which then allows a successful quick trial building of the environment. Or maybe adding a few words in the "Quick Start Guide" to this effect. It would help assure first time users that a baseline works. Particularly before adding hardware build configurations that are not part of the default distro.

....Thanks......Chris

Michal Simek wrote:
Chris Robson wrote:
simply untarring the distro, running make menuconfig and then make the
following error occurs, what needs to be done to
correct......thanks.....chris

microblaze-uclinux-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -D__KERNEL__
-DTEXT_BASE=0x23fc0000 -I/petalinux-dist/u-boot/include -fno-builtin
-ffreestanding -nostdinc -isystem
/petalinux-v0.40-rc2/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/gcc/microblaze-uclinux/3.4.1/include

-pipe -ffixed-r31 -D__microblaze__ -mno-xl-soft-mul -mno-xl-soft-div
-mxl-barrel-shift -mcpu=v4.00.a -c -o asm.o
/petalinux-v0.40-rc2/software/petalinux-dist/u-boot/post/cpu/asm.S
In file included from
/petalinux-v0.40-rc2/software/petalinux-dist/u-boot/include/config.h:2,
from
//petalinux-v0.40-rc2/software/petalinux-dist/u-boot/include/common.h:35,
from hello_world.c:24:
//petalinux-dist/u-boot/include/configs/petalogix-microblaze-auto.h:100:3:
#error UART not defined

this is the same error as was discussed sometimes.
Please look at your hw design. Go there and rerun
make -f system.make libsclean
make -f system.make libs
and run
petalinux-copy-autoconfig

The problem is that you use any older design which don't have updated Kconfig.auto for U-BOOT
support. I'll take a look at it too.

The second way is of course disable U-BOOT in menuconfig.

Thanks,
Michal



gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x23fc0000
-DUSE_HOSTCC -O -c mkimage.c
make[2]: *** [hello_world.o] Error 1
make[2]: Leaving directory
`/develop/PETALINUX/petalinux-v0.40-rc2/software/petalinux-dist/u-boot/examples'
make[1]: *** [examples] Error 2




------------------------------------------------------------------------
Hotmail® goes with you. Get it on your BlackBerry or iPhone.
<http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009>

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