hi guys . i need to port uclinux to blackfin processor . so i have successfully compilied uclinux taken from <u>web </u><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.blackfin.uclinux.org/" target="_blank">www.blackfin.uclinux.org</a>. but i neet uboot for porting the images of uclinux from the host to the processor. so i have downloaded the uboot release <font size="2">u-boot-1.1.6-2008R1 from <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.blackfin.uclinux.org/" target="_blank">www.blackfin.uclinux.org</a>. web. and i have tried to compile . but i have got the following error . can any one help me to rectify this.</font> 
<div><font size="2">Errors reported when i compiled &nbsp;uboot </font></div><br clear="all">
<div><font size="2"><font size="2">
<p><strong>for dir in tools examples ; do make -C $dir _depend ; done</strong></p>
<p><strong>make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/tools&#39;</strong></p>
<p><strong>ln -s -f ../common/environment.c environment.c</strong></p>
<p><strong>ln -s -f ../lib_generic/crc32.c crc32.c</strong></p>
<p><strong>rnd=&quot;$RANDOM.$$&quot; ; \</strong></p>
<p><strong>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 &#39;/:/s|^||&#39; &gt; .depend.$rnd ; \</strong></p>

<p><strong>mv .depend.$rnd .depend</strong></p>
<p><strong>make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/tools&#39;</strong></p>
<p><strong>make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/tools&#39;</strong></p>
<p><strong>make[1]: Nothing to be done for `_depend&#39;.</strong></p>
<p><strong>make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/tools&#39;<span></span> </strong></p>
<p><strong>make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/examples&#39;</strong></p>
<p><strong>rnd=&quot;$RANDOM.$$&quot; ; \</strong></p>
<p><strong>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 &#39;/:/s|^||&#39; &gt; .depend.$rnd ; \</strong></p>

<p><strong>mv .depend.$rnd .depend</strong></p>
<p><strong>cc1: error: unrecognized command line option &quot;-mcpu=bf537-0.2&quot;</strong></p>
<p><strong>cc1: error: unrecognized command line option &quot;-mcpu=bf537-0.2&quot;</strong></p>
<p><strong>cc1: error: unrecognized command line option &quot;-mcpu=bf537-0.2&quot;</strong></p>
<p><strong>cc1: error: unrecognized command line option &quot;-mcpu=bf537-0.2&quot;</strong></p>
<p><strong>make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/examples&#39;</strong></p>
<p><strong>make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/examples&#39;</strong></p>
<p><strong>make[1]: Nothing to be done for `_depend&#39;.</strong></p>
<p><strong>make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/examples&#39;</strong></p>
<p><strong>make -C tools all</strong></p>
<p><strong>make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/tools&#39;</strong></p>
<p><strong>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</strong></p>

<p><strong>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</strong></p>

<p><strong><span></span>strip img2srec</strong></p>
<p><strong>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</strong></p>

<p><strong>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</strong></p>

<p><strong>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</strong></p>

<p><strong>strip mkimage</strong></p>
<p><strong>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</strong></p>

<p><strong>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</strong></p>

<p><strong>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</strong></p>

<p><strong>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</strong></p>

<p><strong>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-<span></span> boot-1.1.6-2008R1/include -DTEXT_BASE= -DUSE_HOSTCC -O -o gen_eth_addr gen_eth_addr.o</strong></p>

<p><strong>strip gen_eth_addr</strong></p>
<p><strong>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</strong></p>

<p><strong>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</strong></p>

<p><strong>strip bmp_logo</strong></p>
<p><strong>./bmp_logo logos/denx.bmp &gt;/root/Desktop/u-boot-1.1.6-2008R1/include/bmp_logo.h</strong></p>
<p><strong>make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/tools&#39;</strong></p>
<p><strong>make -C examples all</strong></p>
<p><strong>make[1]: Entering directory `/root/Desktop/u-boot-1.1.6-2008R1/examples&#39;</strong></p>
<p><strong>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</strong></p>

<p><strong>cc1: error: unrecognized command line option &quot;-mcpu=bf537-0.2&quot;</strong></p>
<p><strong>make[1]: *** [hello_world.o] Error 1</strong></p>
<p><strong>make[1]: Leaving directory `/root/Desktop/u-boot-1.1.6-2008R1/examples&#39;</strong></p>
<p><strong>make: *** [examples] Error 2</strong></p></font></font></div>
<div>can any one help me to solve this porblem</div>
<div>&nbsp;</div>
<div>i have compiled in fedore 7 as well as in redhat ver9 (my host)</div>
<div>&nbsp;</div>
<div>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</div>
<div>&nbsp;</div>
<div>waiting for any &nbsp;body reply</div>
<div><br><span></span><span class="sg">-- <br></span></div><br>-- <br>Have a peaceful joy&nbsp;&nbsp;with you!<br>by<br>N.Dineshbabu