<html><HEAD><LINK media=all href="/webmail/static/deg/css/wysiwyg-3933289048.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3640" name=GENERATOR></HEAD>
<BODY>
<DIV>Hello,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am trying to do the next stage of my build: i.e. building xloader(u-boot-v2) that I can load over USB using Nishant Menon's utilities (pusb).</DIV>
<DIV>&nbsp;</DIV>
<DIV>I went and downloaded the beagleboard version of uboot-v2 from:</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://www.pengutronix.de/software/u-boot/v2/download/" target=blank>http://www.pengutronix.de/software/u-boot/v2/download/</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>I try to build using the following sequence of commands on my machine:</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>export ARCH=arm<BR>export CROSS_COMPILE=arm-wrs-linux-gnueabi-<BR>export PATH=/opt/WindRiver/wrlinux-3.0/layers/wrll-toolchain-4.3-85/arm/toolchain/x86-linux2/bin:$PATH</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>cd&nbsp; projs/u-boot-2.0.0-rc10</DIV>
<DIV>make distclean</DIV>
<DIV>make mrproper</DIV>
<DIV>make omap3530_beagle_per_uart_defconfig<BR>make -f Makefile ARCH=arm CROSS_COMPILE=/opt/WindRiver/wrlinux-3.0/layers/wrll-toolchain-4.3-85/arm/toolchain/x86-linux2/bin/arm-wrs-linux-gnueabi-</DIV>
<DIV><BR>However when I do the last step I get the following error, which I do not clearly understand the cause.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I got similar results when I tried using the ELDK tools</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[pgmutasi@ u-boot-2.0.0-rc10]$ make -f Makefile ARCH=arm CROSS_COMPILE=/opt/WindRiver/wrlinux-3.0/layers/wrll-toolchain-4.3-85/arm/toolchain/x86-linux2/bin/arm-wrs-linux-gnueabi-<BR>scripts/kconfig/conf -s arch/arm/Kconfig<BR>&nbsp; SYMLINK include/asm-arm/arch -&gt; include/asm-arm/arch-omap<BR>&nbsp; SYMLINK include/asm-arm/proc -&gt; include/asm-arm/proc-armv<BR>&nbsp; CHK&nbsp;&nbsp;&nbsp;&nbsp; include/linux/version.h<BR>&nbsp; UPD&nbsp;&nbsp;&nbsp;&nbsp; include/linux/version.h<BR>&nbsp; CHK&nbsp;&nbsp;&nbsp;&nbsp; include/linux/utsrelease.h<BR>&nbsp; UPD&nbsp;&nbsp;&nbsp;&nbsp; include/linux/utsrelease.h<BR>&nbsp; SYMLINK include/asm -&gt; include/asm-arm<BR>&nbsp; SYMLINK include/config.h -&gt; board/omap/config.h<BR>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scripts/mod/empty.o<BR>scripts/mod/empty.c:1: error: bad value (armv7a) for -march= switch<BR>make[2]: *** [scripts/mod/empty.o] Error 1<BR>make[1]: *** [scripts/mod] Error 2<BR>make: *** [scripts] Error 2<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>The full log of what happens is also attached below.&nbsp; Do you know what I am doing wrong with this build procedure ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Primus</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></html>