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
http://wiki.openembedded.net/index.php/Getting_Started.

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

1 comment:

Anonymous said...

you have a nice site. thanks for sharing this enormous resources. keep it up. anyway, various kinds of ebooks are available here

http://feboook.blogspot.com

Google