Welcome to AVR32 Linux... Users Groups

Development Tools for AVR32

The GNU Toolchain

The GNU toolchain consists of GnuCompilerCollection, GnuBinutils and GnuDeBugger. At the moment, this is the only toolchain capable of compiling the LinuxKernel and LinuxApplications in general, so you definitely need these in order to do any development on AVR32 Linux. For more information about how to install these, see the GettingStarted section. This page is mostly concerned with developing the tools themselves.

Insight

The graphical debugger frontend for gdb. Insight can be downloaded here. Simply apply the patch and build it:

wget ftp://sourceware.org/pub/insight/releases/insight-6.4.tar.bz2
tar -xvf insight-6.4.tar.bz2
bzip2 -d insight-6.4-avr32-2.1.3.patch.bz2
cd insight-6.4
patch -p1 < ../insight-6.4-avr32-2.1.3.patch
mkdir ../insight-6.4-avr32-build
cd ../insight-6.4-avr32-build
../insight-6.4/configure --target=avr32-linux --prefix=/opt/insight-avr32
make
sudo make install

BuildRoot

There has been some work by various people to make BuildRoot usable for building avr32 filesystem images. You can get the official Atmel buildroot releases here. There is now a public fork of buildroot available here based on the Atmel buildroot that also includes new features. The new features include X.org 7.3, kernel 2.6.24, and an expanded NGW100 configuration that supports audio, video, wireless networking, touchscreens, and PS/2. There are also several bugfixes for the existing packages. It also includes WebKit, and the Midori web browser.

The expanded NGW100 configuration can be run by the following:

make atngw100_expanded_defconfig
make menuconfig
make

Build Scripts

There are some build scripts, based on the ones provided on BSP or not.

  • CorreaBuildSystem :python/xml based scripts for building/managing multiple variations (perhaps diferent products based on avr32).

Openembedded

Openembedded (aka oe) is a meta Toolchain to create and build distributions suited for embedded devices. Find general details to oe at www.openembedded.org

  • AVR32 support was added by koen and steliosk. It is still preliminary but yet usable. To start you need at least the following configurations in your local.conf:
TARGET_OS = "linux-uclibc"
MACHINE = "atngw100"
DISTRO = "angstrom-2008.1"
ANGSTROM_MODE = "uclibc"

Build a small general image by bitbake minimal-image

prebuild images and ipk packages can soon be found at AVR32 images and ipkg`s

Native AVR32 toolchain

Attached is a complete buildroot generated filesystem with:

linux 2.6.27.6.atmel.1
autoconf-2.61
automake-1.10
avahi-0.6.22
avr32_linux_user_guide
binutils-2.18-target
bridge-1.4
busybox-1.13.1
ccache-2.4
dnsmasq-2.46
dropbear-0.52
ethtool-6
fakeroot-1.9.5
fakeroot-1.9.5-target
gcc-4.2.2-target
gdbserver-6.7.1
gettext-0.16.1
gmp-4.2.2
haserl-0.9.24
iptables-1.4.1
libdaemon-0.13
libiconv-1.12
libtool-1.5.24
lrzsz-0.12.20
lzo-2.03
make-3.81
makedevs
mpfr-2.3.0
mtd_orig
nano-1.3.12
ncftp-3.2.2
ncurses-5.6
ntp-4.2.4p5
patch-2.5.9
pkg-config-0.23
portmap_5beta
proftpd-1.3.1
rsync-3.0.3
samba-3.2.5
sed-4.1.5
strace-4.5.18
webif-0.2
wireless_tools.29
zlib-1.2.3

* rootfs.avr32.tar.bz2: Native toolchain filesystem (tested on NGW100)

* buildroot-avr32-toolchain.config: Buildroot .config file used to generate the rootfs

  File Size Date By Actions
else buildroot-avr32-toolchain.config
Buildroot .config file used to generate the rootfs
22.6 K 2009-02-02 - 21:22 JohnVoltz props, move
else buildroot-avr32-v2.2.0.tar.bz2
Please delete
0.1 K 2008-02-06 - 23:08 JohnVoltz props, move
else insight-6.4-avr32-2.1.3.patch.bz2
Patch to add AVR32 support to Insight 6.4
184.4 K 2008-06-28 - 18:00 JohnVoltz props, move
else rootfs.avr32.tar.bz2
Native toolchain filesystem (tested on NGW100)
21534.1 K 2009-02-02 - 21:17 JohnVoltz props, move
r22 - 2011-01-03 - 03:16:55 - GordonPearce
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