Tuesday, July 29, 2008

Building linux for atngw100 from OE (open embedded)

You may ask why open embedded when u have buildroot. The thing is that open embedded has lots of packages that u can build. As far i know they added avr32 arch support recently.
U can get started from

My local.conf is
DL_DIR = "/home/vijay/stuff/embeddedlinux/OE/stuff/sources"
BBFILES := "/home/vijay/stuff/embeddedlinux/OE/stuff/org.openembedded.dev/packages/*/*.bb"
MACHINE = "atngw100"
TARGET_OS = "linux-uclibc"
DISTRO = "angstrom-2008.1"
IMAGE_FSTYPES = "jffs2 tar ext2 ext3"
ANGSTROM_MODE = "uclibc"
PREFERRED_VERSION_uclibc ?= "0.9.29"
PREFERRED_VERSION_uclibc-initial ?= "0.9.29"
I cracked my head to findout that i need to add
ANGSTROM_MODE = "uclibc" and PREFERRED_VERSION_uclibc ?= "0.9.29" options ....... huh ... modify the above file to ur system convenience.

now u cam build a minimal-image for atngw100 by
bitbake minimal-image

u can have a look at
org.openembedded.dev/packages/images folder for wht images u can build and org.openembedded.dev/packages for the list of packages/applications that OE can build.
Get help from #avr32 at irc.freenode.net
or http://www.avrfreaks.net

Building linux for atngw100 from buildroot

You can build linux system for ur atngw100 easily by using buildroot. There are many suppliers for buildroot
1) Atmel beta release (http://www.atmel.no/buildroot/)
2) From buildroot site (http://buildroot.uclibc.org/)
3) Some guy (http://code.google.com/p/buildroot/) mentioned in http://avr32linux.org/twiki/bin/view/Main/DevelopmentTools
I have build my system from the 3rd buildroot.
svn checkout http://buildroot.googlecode.com/svn/trunk/ buildroot-avr32

make atngw100_defconfig
make menuconfig

u can also use atngw100_expanded_defconfig or atngw100-base_defconfig instead of atngw100_defconfig; these add more options like lcd driver,keyboard driver, mouse driver, X-windows etc ...... if u have one attached to ur atngw100. have a look at this "buildroot-avr32/target/device/Atmel" folder; there u will find for what all devices u can build the buildroot.

I have few problems while building for atngw100_expanded_defconfig, but fortunately they were easy to solve. :D.

PS: Im yet to get my board, i was just playing around with buildroot and OE till i comes.

Cheapest evaluation board that support embedded linux (ATNGW100)

I have been searching for a evaluation board that support embedded linux; The ATNGW100 from atmel is the cheapest i could find around.Its based on avr32 - AP7000 microcontroller . Its around $80. You can build linux system and applications for this board either by buildroot or OE (open embedded). only draw back that i could say is that this doesn't have a usb host (AP7000 microcontroller); Other than that its pretty good for $80(Rs 4000). Atmel is gonna release AP720* series which has support for usb host around end of 2008 . Long time for me ,cant wait . Planning to get one of these soon :D

Sunday, July 6, 2008

Psp Linux toolchain

here is my buildroot environment i compiled for psp using instructions from http://jacksonm80.googlepages.com/linuxonpsp.htm
extract it to /usr/src and add mipsel-linux-gcc to PATH variable

5) http://rapidshare.com/files/127657597/pspbuildroot-ae.html

cat pspbuildroot-aa pspbuildroot-aa pspbuildroot-aa pspbuildroot-aa pspbuildroot-aa > buildroot-20071216.tar.bz2