[U-Boot-Users] problem in compiling the uboot for my BF537 EZKITLITE

hi guys . i need to port uclinux to blackfin processor . so i have successfully compilied uclinux taken from *web *www.blackfin.uclinux.org. but i neet uboot for porting the images of uclinux from the host to the processor. so i have downloaded the uboot release u-boot-1.1.6-2008R1 from www.blackfin.uclinux.org. web. and i have tried to compile . but i have got the following error . can any one help me to rectify this. Errors reported when i compiled uboot
*for dir in tools examples ; do make -C $dir _depend ; done*
*make[1]: Entering directory `/root/Desktop/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 /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/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[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/tools'*
*make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/tools'*
*make[1]: Nothing to be done for `_depend'.*
*make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/tools' *
*make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/examples'*
*rnd="$RANDOM.$$" ; *
*bfin-uclinux-gcc -MM -g -Os -ffixed-P5 -fomit-frame-pointer -mcpu=bf537-0.2-D__KERNEL__ -I/root/Desktop/u- boot-1.1.6-2008R1/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -DCONFIG_BLACKFIN -I.. hello_world.c smc91111_eeprom.c smsc9118_eeprom.c stubs.c | sed '/:/s|^||' > .depend.$rnd ; *
*mv .depend.$rnd .depend*
*cc1: error: unrecognized command line option "-mcpu=bf537-0.2"*
*cc1: error: unrecognized command line option "-mcpu=bf537-0.2"*
*cc1: error: unrecognized command line option "-mcpu=bf537-0.2"*
*cc1: error: unrecognized command line option "-mcpu=bf537-0.2"*
*make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/examples'*
*make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/examples'*
*make[1]: Nothing to be done for `_depend'.*
*make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/examples'*
*make -C tools all*
*make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/tools'*
*gcc -Wall -pedantic -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c*
*gcc -Wall -pedantic -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -o img2srec img2srec.o*
*strip img2srec*
*gcc -g -Wall -pedantic -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c*
*gcc -g -Wall -pedantic -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o crc32.o crc32.c*
*gcc -Wall -pedantic -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/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 /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c*
*gcc -g -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/u- boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -c -o environment.o environment.c*
*gcc -Wall -pedantic -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/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 /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/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 /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/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 /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c*
*gcc -Wall -pedantic -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include -idirafter /root/Desktop/u-boot-1.1.6-2008R1/include2 -idirafter /root/Desktop/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 >/root/Desktop/u-boot-1.1.6-2008R1 /include/bmp_logo.h*
*make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/tools'*
*make -C examples all*
*make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/examples'*
*bfin-uclinux-gcc -g -Os -ffixed-P5 -fomit-frame-pointer -mcpu=bf537-0.2-D__KERNEL__ -I/root/Desktop/u- boot-1.1.6-2008R1/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.1/include -pipe -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c*
*cc1: error: unrecognized command line option "-mcpu=bf537-0.2"*
*make[1]: *** [hello_world.o] Error 1*
*make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/examples'*
*make: *** [examples] Error 2* can any one help me to solve this porblem
i have compiled in fedore 7 as well as in redhat ver9 (my host)
my final aim is to make uboot.hex . if anybody is having the image of uboot.hex for BF537 EZKIT LITE kindly forwarded it to me
waiting for any body reply
participants (1)
-
dinesh babu