Compiling Angstrom for pico-SAM9G45

From Low cost, low power, android ARM system board by Mini-Box.com - pico WiKi
Revision as of 10:42, 26 April 2012 by Npavel (Talk | contribs)
Jump to: navigation, search

Contents

Compile using thew new meta-angstrom distribution based on meta-openembedded branch (new branch):

 git clone git://github.com/Angstrom-distribution/setup-scripts.git
 MACHINE=picosam9 ./oebb.sh update

This should download angstrom and openembedded sources. To get the picosam9 configuration layer:

 cd sources
 git clone git://gitorious.org/picopc-tools/meta-picosam9.git
 MACHINE=picosam9 ./oebb.sh config picosam9

Compile using the classic angstrom distribution based on openembedded.dev branch (old branch):

 git clone git://gitorious.org/picopc-tools/picopc-angstrom-setup.git
 cd picopc-angstrom-setup
 MACHINE=picosam9 ./oebb.sh update
 MACHINE=picosam9 ./oebb.sh config picosam9

The script will also download and install picosam9 recipes for angstrom from here: https://gitorious.org/picopc-tools/picopc-angstrom

Start building

If you want to build only the kernel:

 MACHINE=picosam9 ./oebb.sh bitbake virtual/kernel

or if you want a small base image:

 MACHINE=picosam9 ./oebb.sh bitbake console-image

To get the same build as the binary ones provided by mini-box.com you can use (note: this recipes aren't yet included in new meta-angstrom):

 MACHINE=picosam9 ./oebb.sh bitbake picosam9-gpe-image
 MACHINE=picosam9 ./oebb.sh bitbake picosam9-console-image

Notes:

  cd sources/openembedded
  git checkout tested_2011-01-13 -b tested_2011-01-13
  cd sources/bitbake
  git checkout 1.12
Personal tools
Namespaces
Variants
Actions
Toolbox