2008-05-06 22:24:31     u-boot-1.1.6-2008R1 failed

Document created by Aaronwu Employee on Sep 18, 2013
Version 1Show Document
  • View in full screen mode

2008-05-06 22:24:31     u-boot-1.1.6-2008R1 failed

hongtao yang (CHINA)

Message: 55589   

 

My OS is Fedora 8.  

 

blackfin-toolchain-08r1-8.i386

 

The process is as follows,could anybody help me. thanks a lot.

 

 

 

[root@localhost u-boot-1.1.6-2008R1]# make clean

find /home/yht/u-boot-1.1.6-2008R1 -type f \

                \( -name 'core' -o -name '*.bak' -o -name '*~' \

                -o -name '*.o'  -o -name '*.a'  \) -print \

                | xargs rm -f

rm -f examples/hello_world examples/timer \

              examples/eepro100_eeprom examples/sched \

              examples/mem_to_mem_idma2intr examples/82559_eeprom \

              examples/smc91111_eeprom examples/interrupt \

              examples/test_burst examples/smsc9118_eeprom

rm -f tools/img2srec tools/mkimage tools/envcrc \

                tools/gen_eth_addr

rm -f tools/mpc86x_clk tools/ncb

rm -f tools/easylogo/easylogo tools/bmp_logo

rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend

rm -f tools/env/fw_printenv tools/env/fw_setenv

rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image

rm -f board/netstar/eeprom board/netstar/crcek board/netstar/crcit

rm -f board/netstar/*.srec board/netstar/*.bin

rm -f board/trab/trab_fkt board/voiceblue/eeprom

rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds

rm -f board/bf527-ezkit/u-boot.lds

rm -f board/bf533-ezkit/u-boot.lds board/bf533-stamp/u-boot.lds

rm -f board/bf537-stamp/u-boot.lds board/bf537-pnav/u-boot.lds

rm -f board/bf537-minotaur/u-boot.lds

rm -f board/bf537-srv1/u-boot.lds

rm -f board/bf548-ezkit/u-boot.lds

rm -f board/bf561-ezkit/u-boot.lds

rm -f cpu/blackfin/bootrom-asm-offsets.[chs] .syms.u-boot.S

rm -f include/bmp_logo.h

rm -f nand_spl/u-boot-spl nand_spl/u-boot-spl.map

[root@localhost u-boot-1.1.6-2008R1]# make mrproper

find /home/yht/u-boot-1.1.6-2008R1 -type f \

                \( -name 'core' -o -name '*.bak' -o -name '*~' \

                -o -name '*.o'  -o -name '*.a'  \) -print \

                | xargs rm -f

rm -f examples/hello_world examples/timer \

              examples/eepro100_eeprom examples/sched \

              examples/mem_to_mem_idma2intr examples/82559_eeprom \

              examples/smc91111_eeprom examples/interrupt \

              examples/test_burst examples/smsc9118_eeprom

rm -f tools/img2srec tools/mkimage tools/envcrc \

                tools/gen_eth_addr

rm -f tools/mpc86x_clk tools/ncb

rm -f tools/easylogo/easylogo tools/bmp_logo

rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend

rm -f tools/env/fw_printenv tools/env/fw_setenv

rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image

rm -f board/netstar/eeprom board/netstar/crcek board/netstar/crcit

rm -f board/netstar/*.srec board/netstar/*.bin

rm -f board/trab/trab_fkt board/voiceblue/eeprom

rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds

rm -f board/bf527-ezkit/u-boot.lds

rm -f board/bf533-ezkit/u-boot.lds board/bf533-stamp/u-boot.lds

rm -f board/bf537-stamp/u-boot.lds board/bf537-pnav/u-boot.lds

rm -f board/bf537-minotaur/u-boot.lds

rm -f board/bf537-srv1/u-boot.lds

rm -f board/bf548-ezkit/u-boot.lds

rm -f board/bf561-ezkit/u-boot.lds

rm -f cpu/blackfin/bootrom-asm-offsets.[chs] .syms.u-boot.S

rm -f include/bmp_logo.h

rm -f nand_spl/u-boot-spl nand_spl/u-boot-spl.map

find /home/yht/u-boot-1.1.6-2008R1 -type f \( -name .depend \

                -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \

                -print0 \

                | xargs -0 rm -f

rm -f cpu/blackfin/start.o *.bak ctags etags TAGS include/version_autogenerated.h

rm -fr *.*~

rm -f u-boot u-boot.map u-boot.hex u-boot.srec u-boot.hex u-boot.bin System.map  u-boot.ldr u-boot.ldr.srec u-boot.ldr.hex

rm -f tools/crc32.c tools/environment.c tools/env/crc32.c

rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c

rm -f include/asm/proc include/asm/arch include/asm

[ ! -d /home/yht/u-boot-1.1.6-2008R1/nand_spl ] || find nand_spl -lname "*" -print | xargs rm -f

[root@localhost u-boot-1.1.6-2008R1]# make bf533-ezkit_config

Configuring for bf533-ezkit board...

[root@localhost u-boot-1.1.6-2008R1]# make bf533-ezkit

make bf533-ezkit_config

make[1]: Entering directory `/home/yht/u-boot-1.1.6-2008R1'

Configuring for bf533-ezkit board...

make[1]: Leaving directory `/home/yht/u-boot-1.1.6-2008R1'

make

make[1]: Entering directory `/home/yht/u-boot-1.1.6-2008R1'

for dir in tools examples ; do make -C $dir _depend ; done

make[2]: Entering directory `/home/yht/u-boot-1.1.6-2008R1/tools'

ln -s -f ../common/environment.c environment.c

ln -s -f ../lib_generic/crc32.c crc32.c

rnd="$RANDOM.$$" ; \

                gcc -MM -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC environment.c crc32.c img2srec.c mkimage.c envcrc.c gen_eth_addr.c bmp_logo.c | sed '/:/s|^||' > .depend.$rnd ; \

                mv .depend.$rnd .depend

make[2]: Leaving directory `/home/yht/u-boot-1.1.6-2008R1/tools'

make[2]: Entering directory `/home/yht/u-boot-1.1.6-2008R1/tools'

make[2]: Nothing to be done for `_depend'.

make[2]: Leaving directory `/home/yht/u-boot-1.1.6-2008R1/tools'

make[2]: Entering directory `/home/yht/u-boot-1.1.6-2008R1/examples'

rnd="$RANDOM.$$" ; \

                bfin-uclinux-gcc -MM  -g  -Os   -ffixed-P5 -fomit-frame-pointer -mcpu=bf533-0.3 -D__KERNEL__ -I/home/yht/u-boot-1.1.6-2008R1/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe  -DCONFIG_BLACKFIN -I.. hello_world.c smc91111_eeprom.c smsc9118_eeprom.c stubs.c  | sed '/:/s|^||' > .depend.$rnd ; \

                mv .depend.$rnd .depend

make[2]: Leaving directory `/home/yht/u-boot-1.1.6-2008R1/examples'

make[2]: Entering directory `/home/yht/u-boot-1.1.6-2008R1/examples'

make[2]: Nothing to be done for `_depend'.

make[2]: Leaving directory `/home/yht/u-boot-1.1.6-2008R1/examples'

make -C tools all

make[2]: Entering directory `/home/yht/u-boot-1.1.6-2008R1/tools'

gcc -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c

gcc -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O  -o img2srec img2srec.o

strip img2srec

gcc -g -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c

gcc -g -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o crc32.o crc32.c

gcc -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O  -o mkimage mkimage.o crc32.o

strip mkimage

gcc -g -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c

gcc -g  -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -c -o environment.o environment.c

gcc -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o

gcc -g -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o gen_eth_addr.o gen_eth_addr.c

gcc -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O  -o gen_eth_addr gen_eth_addr.o

strip gen_eth_addr

gcc -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c

gcc -Wall -pedantic -idirafter /home/yht/u-boot-1.1.6-2008R1/include -idirafter /home/yht/u-boot-1.1.6-2008R1/include2 -idirafter /home/yht/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O  -o bmp_logo bmp_logo.o

strip bmp_logo

./bmp_logo logos/denx.bmp >/home/yht/u-boot-1.1.6-2008R1/include/bmp_logo.h

make[2]: Leaving directory `/home/yht/u-boot-1.1.6-2008R1/tools'

make -C examples all

make[2]: Entering directory `/home/yht/u-boot-1.1.6-2008R1/examples'

bfin-uclinux-gcc -g  -Os   -ffixed-P5 -fomit-frame-pointer -mcpu=bf533-0.3 -D__KERNEL__ -I/home/yht/u-boot-1.1.6-2008R1/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe  -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c

在包含自 hello_world.c:24 的文件中:

/home/yht/u-boot-1.1.6-2008R1/include/common.h:40:20: 错误:stdarg.h:没有那个文件或目录

In file included from hello_world.c:24:

/home/yht/u-boot-1.1.6-2008R1/include/common.h:573: 错误:expected declaration specifiers or ‘...’ before ‘va_list’

/home/yht/u-boot-1.1.6-2008R1/include/common.h:603: 错误:expected declaration specifiers or ‘...’ before ‘va_list’

In file included from hello_world.c:25:

/home/yht/u-boot-1.1.6-2008R1/include/exports.h:21: 错误:expected declaration specifiers or ‘...’ before ‘va_list’

make[2]: *** [hello_world.o] 错误 1

make[2]: Leaving directory `/home/yht/u-boot-1.1.6-2008R1/examples'

make[1]: *** [examples] 错误 2

make[1]: Leaving directory `/home/yht/u-boot-1.1.6-2008R1'

make: *** [bf533-ezkit] 错误 2

 

QuoteReplyEditDelete

 

 

2008-05-07 00:08:06     Re: u-boot-1.1.6-2008R1 failed

Mike Frysinger (UNITED STATES)

Message: 55592   

 

please search the forums and read the documentation ... you havent installed all the required toolchain packages:

http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

Attachments

    Outcomes