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 1: Line 1:
 
<h1>Obtain the proper angstrom distribution</h1>
 
<h1>Obtain the proper angstrom distribution</h1>
 
by running the following command:
 
by running the following command:
   git clone git://git.angstrom-distribution.org/setup-scripts
+
   git clone git://gitorious.org/picopc-tools/picopc-angstrom-setup.git
   cd openembedded
+
   cd picopc-angstrom-setup
  git checkout 2011.03-maintenance
+
  
 
<h1>Configure the picosam9 machine</h1>
 
<h1>Configure the picosam9 machine</h1>
 
by running the following commands:
 
by running the following commands:
 +
  MACHINE=picosam9 ./oebb.sh config picosam9
 
   MACHINE=picosam9 ./oebb.sh update
 
   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 https://gitorious.org/picopc-tools/picopc-angstrom]
 
+
<h1>Obtain the recipes</h1>
+
 
+
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 <nowiki>https://www.gitorious.org/picopc-tools/picopc-angstrom/archive-tarball/master</nowiki> -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
+
  
 
<h1>Start building</h1>
 
<h1>Start building</h1>
Line 54: Line 40:
 
   git checkout 1.12
 
   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 picopc-angstrom-setup/ folder.

Revision as of 08:12, 25 April 2012

Contents

Obtain the proper angstrom distribution

by running the following command:

 git clone git://gitorious.org/picopc-tools/picopc-angstrom-setup.git
 cd picopc-angstrom-setup

Configure the picosam9 machine

by running the following commands:

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

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 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