2008-12-31 08:44:46     compilation of u-boot failed

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

2008-12-31 08:44:46     compilation of u-boot failed

Kaustubh Vaidya (INDIA)

Message: 67253   

 

Hi,

 

I have written code for my custom BF532 board so as to port u-boot.

 

When I try to compile  the u-boot it fails & it gives following message

 

[root@peacock u-boot]# make stplbf532_config

Configuring for stplbf532 board...

[root@peacock u-boot]# make

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

make[1]: Entering directory `/home/kvvaidya/u-boot/tools'

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

make[1]: Leaving directory `/home/kvvaidya/u-boot/tools'

make[1]: Entering directory `/home/kvvaidya/u-boot/examples'

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

make[1]: Leaving directory `/home/kvvaidya/u-boot/examples'

make -C tools all

make[1]: Entering directory `/home/kvvaidya/u-boot/tools'

make[1]: Leaving directory `/home/kvvaidya/u-boot/tools'

make -C examples all

make[1]: Entering directory `/home/kvvaidya/u-boot/examples'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/home/kvvaidya/u-boot/examples'

make -C lib_generic/

make[1]: Entering directory `/home/kvvaidya/u-boot/lib_generic'

bfin-uclinux-gcc -g -O2 -ffixed-P5 -fomit-frame-pointer -mcpu=CONFIG_BFIN_CPU -D__KERNEL__ -I/home/kvvaidya/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/include -pipe -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -c -o bzlib.o bzlib.c

cc1: error: -mcpu=CONFIG_BFIN_CPU is not valid

cc1: error: unrecognized command line option "-mcpu=CONFIG_BFIN_CPU"

make[1]: *** [bzlib.o] Error 1

make[1]: Leaving directory `/home/kvvaidya/u-boot/lib_generic'

make: *** [lib_generic/libgeneric.a] Error 2

[root@peacock u-boot]#

 

what is getting wrong here?

 

I wish all the team of blackfin-uClinux a Happy & prosperous New year ....

 

Thank You.....................

 

 

QuoteReplyEditDelete

 

 

2008-12-31 09:18:49     Re: compilation of u-boot failed

Mike Frysinger (UNITED STATES)

Message: 67256   

 

your board config is probably wrong.  please read the porting documentation:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:porting

Attachments

    Outcomes