On Fri, Apr 11, 2014 at 7:07 PM, <mac...@msn.com> wrote: > I went back and started from scratch with u-boot. It looks like it had build > errors. > > git clone git://git.denx.de/u-boot.git > Cloning into 'u-boot'... > remote: Counting objects: 253022, done. > remote: Compressing objects: 100% (49006/49006), done. > remote: Total 253022 (delta 202954), reused 249594 (delta 199777) > Receiving objects: 100% (253022/253022), 60.92 MiB | 5.80 MiB/s, done. > Resolving deltas: 100% (202954/202954), done. > victoryred@WorkStation:~$ cd u-boot > victoryred@WorkStation:~/u-boot$ git checkout v2014.04-rc3 -b tmp > Switched to a new branch 'tmp' > victoryred@WorkStation:~/u-boot$ wget -c > https://raw.github.com/eewiki/u-boot-patches/master/v2014.04-rc3/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch > --2014-04-11 16:41:52-- > https://raw.github.com/eewiki/u-boot-patches/master/v2014.04-rc3/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch > Resolving raw.github.com (raw.github.com)... 199.27.79.133 > Connecting to raw.github.com (raw.github.com)|199.27.79.133|:443... > connected. > HTTP request sent, awaiting response... 200 OK > Length: 4886 (4.8K) [text/plain] > Saving to: `0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch' > > 100%[====================================================================>] > 4,886 --.-K/s in 0.001s > > 2014-04-11 16:41:52 (7.62 MB/s) - > `0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch' saved [4886/4886] > > > patch -p1 < 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch > patching file include/configs/am335x_evm.h > patching file include/configs/ti_armv7_common.h > victoryred@WorkStation:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} distclean > victoryred@WorkStation:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} > am335x_evm_config > Configuring for am335x_evm - Board: am335x_evm, Options: > SERIAL1,CONS_INDEX=1,NAND > victoryred@WorkStation:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} > GEN include/autoconf.mk.dep > cc1: error: bad value (armv5) for -march= switch > GEN include/autoconf.mk > cc1: error: bad value (armv5) for -march= switch > CHK include/config/uboot.release > UPD include/config/uboot.release > CHK include/generated/version_autogenerated.h > UPD include/generated/version_autogenerated.h > CHK include/generated/timestamp_autogenerated.h > UPD include/generated/timestamp_autogenerated.h > HOSTCC scripts/basic/fixdep > CC lib/asm-offsets.s > lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch > make[1]: *** [lib/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2
Thus you never set "CC" to the cross compiler referenced.. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.