Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: u boot error
PostPosted: Mon Jun 28, 2010 2:46 pm 
Offline

Joined: Sat Apr 10, 2010 3:59 pm
Posts: 2
Hi,
i am trying to build the uboot given in http://www.at91.com for at91sam9xeek board.I followed the procedure given in the http://www.at91.com/linux4sam/ .But its giving some error.


[root@hosthost u-boot-1.3.4]# make at91sam9xeek_dataflash_cs0_config
... with environment variable in SPI DATAFLASH CS0
Configuring for at91sam9xeek board...
[root@hosthost u-boot-1.3.4]# make
Generating include/autoconf.mk.dep
for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/tools'
ln -s ../common/environment.c environment.c
ln -s ../include/zlib.h zlib.h
ln -s ../lib_generic/crc32.c crc32.c
ln -s ../lib_generic/md5.c md5.c
ln -s ../lib_generic/sha1.c sha1.c
ln -s ../common/image.c image.c
if [ ! -f mkimage.h ] ; then \
ln -s ../tools/mkimage.h mkimage.h; \
fi
if [ ! -f fdt_host.h ] ; then \
ln -s ../tools/fdt_host.h fdt_host.h; \
fi
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/tools'
make[1]: Entering directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/tools'
make[1]: Entering directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/examples'
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/examples'
make[1]: Entering directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/examples'
make[1]: Entering directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/api_examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/api_examples'
Generating include/autoconf.mk
make -C tools all
make[1]: Entering directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/tools'
gcc -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c
gcc -g -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o crc32.o crc32.c
gcc -g -Wall -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o image.o image.c
gcc -g -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o md5.o md5.c
gcc -g -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o sha1.o sha1.c
ln -s ../libfdt/libfdt_internal.h libfdt_internal.h
ln -s ../libfdt/fdt.c fdt.c
gcc -g -Wall -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o fdt.o fdt.c
ln -s ../libfdt/fdt_ro.c fdt_ro.c
gcc -g -Wall -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o fdt_ro.o fdt_ro.c
ln -s ../libfdt/fdt_rw.c fdt_rw.c
gcc -g -Wall -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o fdt_rw.o fdt_rw.c
ln -s ../libfdt/fdt_strerror.c fdt_strerror.c
gcc -g -Wall -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o fdt_strerror.o fdt_strerror.c
ln -s ../libfdt/fdt_wip.c fdt_wip.c
gcc -g -Wall -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o fdt_wip.o fdt_wip.c
gcc -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o image.o md5.o sha1.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o
strip mkimage
gcc -g -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c
gcc -g -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -c -o environment.o environment.c
gcc -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o sha1.o
gcc -g -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o ubsha1.o ubsha1.c
gcc -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -o ubsha1 ubsha1.o sha1.o
gcc -g -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o gen_eth_addr.o gen_eth_addr.c
gcc -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -o gen_eth_addr gen_eth_addr.o
strip gen_eth_addr
gcc -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c
gcc -Wall -pedantic -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include2 -idirafter /root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -DTEXT_BASE=0x23f00000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o
strip bmp_logo
./bmp_logo logos/atmel.bmp >/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include/bmp_logo.h
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/tools'
make -C examples all
make[1]: Entering directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/examples'
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x23f00000 -I/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -march=armv5te -Wall -Wstrict-prototypes -fno-stack-protector -c -o hello_world.o hello_world.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x23f00000 -I/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -march=armv5te -Wall -Wstrict-prototypes -fno-stack-protector -c -o stubs.o stubs.c
arm-linux-ar crv libstubs.a stubs.o
a - stubs.o
arm-linux-ld -g -Ttext 0xc100000 \
-o hello_world -e hello_world hello_world.o libstubs.a \
-L/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t -lgcc
arm-linux-objcopy -O srec hello_world hello_world.srec 2>/dev/null
arm-linux-objcopy -O binary hello_world hello_world.bin 2>/dev/null
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/examples'
make -C api_examples all
make[1]: Entering directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/api_examples'
arm-linux-ar crv libglue.a
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/api_examples'
make -C cpu/arm926ejs start.o
make[1]: Entering directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/cpu/arm926ejs'
arm-linux-as -o start.o start.s
start.s: Assembler messages:
start.s:387: Error: symbol `irq' is already defined
start.s:393: Error: symbol `fiq' is already defined
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/root/test/ubootAtmel/uBootNew/u-boot-1.3.4/u-boot-1.3.4/cpu/arm926ejs


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: