2008-03-28 09:33:21     problem in compiling the uboot for my BF537 EZKITLITE

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

2008-03-28 09:33:21     problem in compiling the uboot for my BF537 EZKITLITE

dinesh babu (INDIA)

Message: 53248    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 """"""""""" 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= -DUSEgcc -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_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 "''''''''''''''''''''" an 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

QuoteReplyEditDelete

 

 

2008-03-28 10:43:52     Re: problem in compiling the uboot for my BF537 EZKITLITE

Mike Frysinger (UNITED STATES)

Message: 53253    please read the faq (Why do I need to use the same version of toolchain/kernel/uClibc/U-boot/uClinux-dist?):

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

QuoteReplyEditDelete

 

 

2008-03-29 00:48:33     Re: problem in compiling the uboot for my BF537 EZKITLITE

dinesh babu (INDIA)

Message: 53288    thank you sir. i understood there are version mismatch betweeen the toolchain and uboot..sir please guide me

for loading uclinux into my bf537 EZKITLITE

 

 

step 1. i want to load uboot into my BF537 kit through Visual DSP++software with the help of the flash program utilities available tools->flash pr

for that i need uboot

 

give the uboot release and toolchain (both shuld be compatible) as  a first i will downlaod and then compile them

 

 

gudie me sir iam new to this uclinux and uboot

 

waiting for your reply

QuoteReplyEditDelete

 

 

2008-03-29 01:42:32     Re: problem in compiling the uboot for my BF537 EZKITLITE

Mike Frysinger (UNITED STATES)

Message: 53292    if you're new, then you should spend time reading the wiki.  for example:

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

QuoteReplyEditDelete

 

 

2008-03-29 04:41:09     Re: problem in compiling the uboot for my BF537 EZKITLITE

dinesh babu (INDIA)

Message: 53321    sir i have learnt the files  can you give me the link for downloading the uboot , toolchain and uclinux  (all will be compatiable) for downloading

QuoteReplyEditDelete

 

 

2008-03-29 12:14:51     Re: problem in compiling the uboot for my BF537 EZKITLITE

Mike Frysinger (UNITED STATES)

Message: 53324    http://blackfin.uclinux.org/

QuoteReplyEditDelete

Attachments

    Outcomes