Compiling Angstrom for pico-SAM9G45

From Low cost, low power, android ARM system board by Mini-Box.com - pico WiKi
(Difference between revisions)
Jump to: navigation, search
Line 48: Line 48:
 
   cd sources/openembedded
 
   cd sources/openembedded
 
   git checkout tested_2011-01-13 -b tested_2011-01-13
 
   git checkout tested_2011-01-13 -b tested_2011-01-13
 +
 +
* The version of bitbake used is:
 +
 +
  cd sources/bitbake
 +
  git checkout 1.12
  
 
* All above commands from step #2 downward must be issued from the setup-scripts folder.
 
* All above commands from step #2 downward must be issued from the setup-scripts folder.

Revision as of 09:52, 3 January 2012

Contents

Obtain the proper angstrom distribution

by running the following command:

 git clone git://git.angstrom-distribution.org/setup-scripts
 cd openembedded
 git checkout 2011.03-maintenance

Configure the picosam9 machine

by running the following commands:

 MACHINE=picosam9 ./oebb.sh update
 MACHINE=picosam9 ./oebb.sh config picosam9

Obtain the recipes

As of 23-10-2011 the recipes for picosam9 are included in openembedded (org.embedded.dev branch) the step below is optional.

"recipes" - files needed to build software for the picosam9 machine. From the setup-scripts folder run the following commands:

 wget https://www.gitorious.org/picopc-tools/picopc-angstrom/archive-tarball/master -O picosam9-recipe.tgz
 tar xzvf picosam9-recipe.tgz --strip 1

Note: the recipes for picosam9 can also be obtained from git 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 base image:

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

To get the same build as the binary ones provided by mini-box.com you can use the recipes from the archive:

 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