Sandbox test area with all features enabled.
FrankBennett - 06 Jun 2007

My Build Notes:

Get git repos:

git clone git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git
works to clone a local copy of the kernel
git clone git://www.atmel.no/~hskinnemoen/linux/u-boot/avr32.git
works to clone a local copy of u-boot

BSP-CD build-linux-environment.sh Notes

  • build_u-boot/ avr32-makefile-modifications.patch:
    • was +CROSS_COMPILE = avr32-
    • sb +CROSS_COMPILE = avr32-linux-
    • and might be good idea to wrap with
      • ifndef CROSS_COMPILE
    • this fixes build-uboot
  • build_flash_upgrade - broke!
  • what rebuild u-boot again?...woof !
  • build_uclibc - broke!
  • build_kernel - broke!
  • Forget this script

buildroot website:

partial avr32 support, active
svn co svn://uclibc.org/trunk/buildroot

Atmel's Haavard's [buildroot-avr32]

yes, a promising automatic build script similar to http://denx.de/ELDK

http://avr32linux.org/twiki/pub/Main/HaavardSkinnemoen/buildroot-avr32.tar.gz (the patch file has an older date than the file??)

$ tar zvtf buildroot-avr32.tar.gz : produces funny paths:

   drwxrwxrwx git/git           0 2007-04-16 09:27:09 buildrootdocs/
   drwxrwxrwx git/git           0 2007-04-16 09:27:09 buildrootpackage/
   drwxrwxrwx git/git           0 2007-04-16 09:27:09 buildroottarget/
looks like a git repo?

By hand I did some mv re-org to get
  • /opt/avr32/buildroot
  • /opt/avr32/buildroot/docs
  • /opt/avr32/buildroot/package
  • etc

unset LD_LIBRARY_PATH

make menuconfig
select avr32

script required an upgrade to Local Host
GNU Make 3.81

make dies
    **** BFD does not support target avr32-unknown-linux-uclibc.
    **** Look in bfd/config.bfd for supported targets.
    make[2]: *** [configure-bfd] Error 1
    make[2]: Leaving directory `/opt/avr32/buildroot/toolchain_build_avr32/binutils-2.16.91.0.7-build'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/opt/avr32/buildroot/toolchain_build_avr32/binutils-2.16.91.0.7-build'
    make: **** [/opt/avr32/buildroot/toolchain_build_avr32/binutils-2.16.91.0.7-build/binutils/objdump] Error 2

r1 - 2007-06-07 - 19:08:53 - FrankBennett
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.
Syndicate this site RSSATOM