[U-Boot] Recommended AVR32 toolchain

Vasili Galka vvv444 at gmail.com
Wed Aug 20 18:10:27 CEST 2014


Hi Andreas,

I'm trying to verify the correct build of all AVR32 boards. What is
the recommended toolchain to use?

I tried the one that comes with Ubuntu:

sudo apt-get install gcc-avr binutils-avr gdb-avr avr-libc avrdude

But it does not work, I get the following build errors:

Building atngw100mkii board...
avr-gcc: error: unrecognized command line option ‘-mno-init-got’
avr-gcc: error: unrecognized command line option ‘-mcpu=ap7000’
make[3]: *** [include/autoconf.mk] Error 1
make[3]: *** [include/autoconf.mk.dep] Error 1
make[2]: *** [silentoldconfig] Error 1
make: *** [sub-make] Error 2
avr-size: '/home/lab/dev/u-boot/out/all_avr32/u-boot': No such file
avr-gcc: error: unrecognized command line option ‘-mno-init-got’
avr-gcc: error: unrecognized command line option ‘-mcpu=ap7000’
make[3]: *** [include/autoconf.mk] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [include/autoconf.mk.dep] Error 1
'make -f /home/lab/dev/u-boot/scripts/Makefile.autoconf obj=include
include/autoconf.mk include/autoconf.mk.dep' Failed
make[2]: *** [silentoldconfig] Error 1
make[1]: *** No rule to make target `include/config/auto.conf', needed
by `include/config/uboot.release'.  Stop.
make: *** [sub-make] Error 2

Regards,
Vasili


More information about the U-Boot mailing list