compiling barebox/u-boot-v2 for beagleboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
 
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).
 
I went and downloaded the beagleboard version of uboot-v2 from:
              http://www.pengutronix.de/software/u-boot/v2/download/
 
I try to build using the following sequence of commands on my machine:
 

export ARCH=arm
export CROSS_COMPILE=arm-wrs-linux-gnueabi-
export PATH=/opt/WindRiver/wrlinux-3.0/layers/wrll-toolchain-4.3-85/arm/toolchain/x86-linux2/bin:$PATH
 

cd  projs/u-boot-2.0.0-rc10
make distclean
make mrproper
make omap3530_beagle_per_uart_defconfig
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-

However when I do the last step I get the following error, which I do not clearly understand the cause.
 
I got similar results when I tried using the ELDK tools
 

[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-
scripts/kconfig/conf -s arch/arm/Kconfig
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-omap
  SYMLINK include/asm-arm/proc -> include/asm-arm/proc-armv
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  SYMLINK include/config.h -> board/omap/config.h
  CC      scripts/mod/empty.o
scripts/mod/empty.c:1: error: bad value (armv7a) for -march= switch
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
 
The full log of what happens is also attached below.  Do you know what I am doing wrong with this build procedure ?
 
Thanks,
 
Primus
 
 
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux