Linux & Open Source related information for AT91 Smart ARM Microcontrollers

View   r18  >  r17  >  r16  >  r15  >  r14  ...

OpenEmbeddedAngstromBuild 18 - 16 Jul 2008 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 33 to 33
 

Building environment

Changed:
<
<
A step-by-step comprehensive installation is explained in the OpenEmbedded Getting Started page. The following lines have to be considered as an add-on that is AT91 specific or that can facilitate your setup.
>
>
A step-by-step comprehensive installation is explained in the OpenEmbedded Getting Started page. The following lines have to be considered as an add-on that is AT91 specific or that can facilitate your setup.
 Have a look at the OpenEmbeddedDirectory to figure out what your working environment tree will look like.

Getting BitBake

Line: 48 to 48
 

Getting OpenEmbedded

Changed:
<
<
Once in your OpenEmbeddedDirectory, download a snapshot of the OpenEmbedded monotone database going to http://wiki.openembedded.net/index.php/snapshots/.
>
>
Once in your OpenEmbeddedDirectory, download a snapshot of the OpenEmbedded monotone database going to http://wiki.openembedded.net/snapshots/.
 warning To choose the proper one:
  • just take the OE.mtn.bz2 file and, once the database uncompressed, run a mtn --db=/stuff/OE.mtn db migrate
  • or, take the OE-this-is-for-mtn-0.3x.mtn.bz2 that is in keeping with the version of your monotone program (checked with mtn --version).
Line: 82 to 82
 hand note however that the goal of this patch is to merge the most of it bits into the mainstream OE tree.

Description Sources Patch
Changed:
<
<
OpenEmbedded database http://wiki.openembedded.net/index.php/snapshots/
revison : aa44d626baaae40ee498aea453176a8aea90d9fc
oe_angstrom_at91.diff.gz
>
>
OpenEmbedded database http://wiki.openembedded.net/snapshots/
revison : aa44d626baaae40ee498aea453176a8aea90d9fc
oe_angstrom_at91.diff.gz
 

Then download and install this patch :

Line: 136 to 136
 

OpenEmbedded

The resulting directory structure explanation :

Changed:
<
<
http://wiki.openembedded.net/index.php/DirectoryStructure
>
>
http://bec-systems.com/oe/html/usage_workspace.html
 

OpenEmbedded usage

Here is a use case about a project lead with OE : http://wiki.openembedded.net/index.php/FirstProject

BitBake

Changed:
<
<
BitBake usage: http://www.uv-ac.de/openembedded/openembedded-3.html#ss3.2
>
>
BitBake usage:
http://www.uv-ac.de/openembedded/openembedded-3.html#ss3.2
BitBake User Manual
 list tasks provided by a package:
Line: 153 to 154
 You can use one of those tasks to have a fine grained control over the package building.

The structure of a BitBake file explained:

Changed:
<
<
http://wiki.openembedded.net/index.php/Bbfile
>
>
BitBake Metadata
 

Hello World examples

Changed:
<
<
http://wiki.openembedded.net/index.php/user-manual&dpage=recipes_examples
>
>
http://bec-systems.com/oe/html/recipes_examples.html
 The OpenMoko way:
http://wiki.openmoko.org/wiki/Building_a_hello_world_application

OpenEmbeddedAngstromBuild 17 - 16 Jul 2008 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 22 to 22
 Here are the reference pages for setting up an OpenEmbedded building environment.
Changed:
<
<
>
>
 Note however that most of time, on a development host, those packages are often already installed.
Line: 33 to 33
 

Building environment

Changed:
<
<
A step-by-step comprehensive installation is explained in the OpenEmbedded Getting Started page. The following lines have to be considered as an add-on that is AT91 specific or that can facilitate your setup.
>
>
A step-by-step comprehensive installation is explained in the OpenEmbedded Getting Started page. The following lines have to be considered as an add-on that is AT91 specific or that can facilitate your setup.
 Have a look at the OpenEmbeddedDirectory to figure out what your working environment tree will look like.

Getting BitBake

Line: 48 to 48
 

Getting OpenEmbedded

Changed:
<
<
Once in your OpenEmbeddedDirectory, download a snapshot of the OpenEmbedded monotone database going to http://www.openembedded.org/snapshots/.
>
>
Once in your OpenEmbeddedDirectory, download a snapshot of the OpenEmbedded monotone database going to http://wiki.openembedded.net/index.php/snapshots/.
 warning To choose the proper one:
  • just take the OE.mtn.bz2 file and, once the database uncompressed, run a mtn --db=/stuff/OE.mtn db migrate
  • or, take the OE-this-is-for-mtn-0.3x.mtn.bz2 that is in keeping with the version of your monotone program (checked with mtn --version).
Line: 82 to 82
 hand note however that the goal of this patch is to merge the most of it bits into the mainstream OE tree.

Description Sources Patch
Changed:
<
<
OpenEmbedded database http://www.openembedded.org/snapshots/
revison : aa44d626baaae40ee498aea453176a8aea90d9fc
oe_angstrom_at91.diff.gz
>
>
OpenEmbedded database http://wiki.openembedded.net/index.php/snapshots/
revison : aa44d626baaae40ee498aea453176a8aea90d9fc
oe_angstrom_at91.diff.gz
 

Then download and install this patch :

Line: 136 to 136
 

OpenEmbedded

The resulting directory structure explanation :

Changed:
<
<
http://www.openembedded.org/wiki/DirectoryStructure
>
>
http://wiki.openembedded.net/index.php/DirectoryStructure
 

OpenEmbedded usage

Here is a use case about a project lead with OE :
Changed:
<
<
http://www.openembedded.org/wiki/FirstProject
>
>
http://wiki.openembedded.net/index.php/FirstProject
 

BitBake

BitBake usage:
Line: 153 to 153
 You can use one of those tasks to have a fine grained control over the package building.

The structure of a BitBake file explained:

Changed:
<
<
http://www.openembedded.org/wiki/Bbfile
>
>
http://wiki.openembedded.net/index.php/Bbfile
 

Hello World examples

Changed:
<
<
http://www.openembedded.org/user-manual&dpage=recipes_examples
>
>
http://wiki.openembedded.net/index.php/user-manual&dpage=recipes_examples
 The OpenMoko way:
http://wiki.openmoko.org/wiki/Building_a_hello_world_application

OpenEmbeddedAngstromBuild 16 - 15 Apr 2008 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 166 to 166
 
Changed:
<
<
META FILEATTACHMENT attachment="oe_angstrom_at91.diff.gz" attr="" comment="linux4sam_1.0_20071003" date="1191404065" name="oe_angstrom_at91.diff.gz" path="oe_angstrom_at91.diff.gz" size="197089" stream="oe_angstrom_at91.diff.gz" user="Main.NicolasFerre" version="2"
>
>
META FILEATTACHMENT attachment="oe_angstrom_at91.diff.gz" attr="" comment="linux4sam_1.2_20080415" date="1208265186" name="oe_angstrom_at91.diff.gz" path="oe_angstrom_at91.diff.gz" size="197087" stream="oe_angstrom_at91.diff.gz" user="Main.NicolasFerre" version="3"
 
META FILEATTACHMENT attachment="local.conf" attr="" comment="" date="1191252456" name="local.conf" path="local.conf" size="6724" stream="local.conf" user="Main.RfoLnx4sam" version="2"
META FILEATTACHMENT attachment="env-oe.sh" attr="" comment="" date="1191248990" name="env-oe.sh" path="env-oe.sh" size="127" stream="env-oe.sh" user="Main.RfoLnx4sam" version="1"
META TOPICMOVED by="NicolasFerre" date="1189505740" from="Linux4SAM.OpenEmbeddAngstromBuild" to="Linux4SAM.OpenEmbeddedAngstromBuild"

OpenEmbeddedAngstromBuild 15 - 08 Jan 2008 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 14 to 14
 
Added:
>
>
warning For the moment, this building is dedicated to produce a root filesystem : the Linux kernel you should use is the one built from the LinuxKernel page. However, the powerfull bitbake tool will be fed with proper Linux recipes in the future.
 To build the binary found in the OpenEmbeddedAngstromGet page, you will have to go through the following steps.

Pre-requires


OpenEmbeddedAngstromBuild 14 - 14 Nov 2007 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 47 to 47
 

Getting OpenEmbedded

Once in your OpenEmbeddedDirectory, download a snapshot of the OpenEmbedded monotone database going to http://www.openembedded.org/snapshots/.

Changed:
<
<
To choose the proper one:
>
>
warning To choose the proper one:
 
  • just take the OE.mtn.bz2 file and, once the database uncompressed, run a mtn --db=/stuff/OE.mtn db migrate
  • or, take the OE-this-is-for-mtn-0.3x.mtn.bz2 that is in keeping with the version of your monotone program (checked with mtn --version).

OpenEmbeddedAngstromBuild 13 - 15 Oct 2007 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 150 to 150
  You can use one of those tasks to have a fine grained control over the package building.
Added:
>
>
The structure of a BitBake file explained: http://www.openembedded.org/wiki/Bbfile
 

Hello World examples

http://www.openembedded.org/user-manual&dpage=recipes_examples


OpenEmbeddedAngstromBuild 12 - 12 Oct 2007 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 95 to 95
 The local configuration file is derived from the example file org.openembedded.dev/conf/local.conf.sample . The local configuration is located in build/conf/local.conf . Here is the local.conf used to build Linux4SAM root file system.
Changed:
<
<
hand Read comments in it as it will bring you valuables informations and allow you to adapt it to your own environment and building host (directory structure for example).
>
>
hand Read comments in it as it will bring you valuable information and allow you to adapt it to your own environment and building host (directory structure for example).
 In addition, some environment variables have to be set before running a build process. We setup those variables via a little script env-oe.sh :

OpenEmbeddedAngstromBuild 11 - 11 Oct 2007 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"
Deleted:
<
<
 

OpenEmbedded / Angstrom : build from sources

How to build Angstrom for AT91


OpenEmbeddedAngstromBuild 10 - 10 Oct 2007 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"
Line: 32 to 32
 
  • take a recent version of the monotone SCM as packages are usually available at http://monotone.ca/

Building environment

Changed:
<
<
>
>
 A step-by-step comprehensive installation is explained in the OpenEmbedded Getting Started page. The following lines have to be considered as an add-on that is AT91 specific or that can facilitate your setup.
Changed:
<
<
>
>
 Have a look at the OpenEmbeddedDirectory to figure out what your working environment tree will look like.

Getting BitBake

Line: 47 to 47
 

Getting OpenEmbedded

Changed:
<
<
>
>
 Once in your OpenEmbeddedDirectory, download a snapshot of the OpenEmbedded monotone database going to http://www.openembedded.org/snapshots/.
To choose the proper one:
  • just take the OE.mtn.bz2 file and, once the database uncompressed, run a mtn --db=/stuff/OE.mtn db migrate
Line: 57 to 57
 
md5sum -c OE.mtn.bz2.md5sum
Changed:
<
<
>
>
 

Build Process with OpenEmbedded

Changed:
<
<
>
>
 
OpenEmbedded upstream snapshot

We start with an OpenEmbedded snapshot from the official "upstream" OpenEmbedded project. This snapshot contains the BitBake recipes for thousands of packages.

Line: 113 to 113
 
source ./env-oe.sh
Changed:
<
<

Start building

>
>
 
Added:
>
>

Start building

 Begin with a little set of packages :
bitbake angstrom-minimal-image
Line: 127 to 129
 bitbake angstrom-console-image-demo bitbake angstrom-x11-image-demo
Added:
>
>
 

Tips & tricks


OpenEmbeddedAngstromBuild 9 - 03 Oct 2007 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"
Line: 160 to 160
 
Changed:
<
<
META FILEATTACHMENT attachment="oe_angstrom_at91.diff.gz" attr="" comment="linux4sam_1.0_20070913" date="1191242062" name="oe_angstrom_at91.diff.gz" path="oe_angstrom_at91.diff.gz" size="196758" stream="oe_angstrom_at91.diff.gz" user="Main.RfoLnx4sam" version="1"
>
>
META FILEATTACHMENT attachment="oe_angstrom_at91.diff.gz" attr="" comment="linux4sam_1.0_20071003" date="1191404065" name="oe_angstrom_at91.diff.gz" path="oe_angstrom_at91.diff.gz" size="197089" stream="oe_angstrom_at91.diff.gz" user="Main.NicolasFerre" version="2"
 
META FILEATTACHMENT attachment="local.conf" attr="" comment="" date="1191252456" name="local.conf" path="local.conf" size="6724" stream="local.conf" user="Main.RfoLnx4sam" version="2"
META FILEATTACHMENT attachment="env-oe.sh" attr="" comment="" date="1191248990" name="env-oe.sh" path="env-oe.sh" size="127" stream="env-oe.sh" user="Main.RfoLnx4sam" version="1"
META TOPICMOVED by="NicolasFerre" date="1189505740" from="Linux4SAM.OpenEmbeddAngstromBuild" to="Linux4SAM.OpenEmbeddedAngstromBuild"

OpenEmbeddedAngstromBuild 8 - 02 Oct 2007 - Main.NicolasFerre
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"
Added:
>
>
 

OpenEmbedded / Angstrom : build from sources

How to build Angstrom for AT91


OpenEmbeddedAngstromBuild 7 - 02 Oct 2007 - Main.RfoLnx4sam
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 37 to 37
 Have a look at the OpenEmbeddedDirectory to figure out what your working environment tree will look like.

Getting BitBake

Changed:
<
<
Take it through the BitBake build tool website through SVN or as a stable archive tarball. follow the advice: simply install it in your OpenEmbeddedDirectory and make a generic link :
>
>
warning For the moment, this building is made with bitbake 1.8.6. Please use this version while building Linux4SAM.

Take it through the BitBake build tool website

<--through SVN or as a stable-->
and take the 1.8.6 archive tarball. follow the advice: simply install it in your OpenEmbeddedDirectory and make a generic link :
 
Changed:
<
<
ln -s bitbake-1.8.8 bitbake
>
>
ln -s bitbake-1.8.6 bitbake
 

Getting OpenEmbedded


OpenEmbeddedAngstromBuild 6 - 01 Oct 2007 - Main.RfoLnx4sam
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 34 to 34
 A step-by-step comprehensive installation is explained in the OpenEmbedded Getting Started page. The following lines have to be considered as an add-on that is AT91 specific or that can facilitate your setup.
Added:
>
>
Have a look at the OpenEmbeddedDirectory to figure out what your working environment tree will look like.
 

Getting BitBake

Changed:
<
<
Take it through the BitBake build tool website through SVN or as a stable archive tarball. follow the advice: simply install it in your OpenEmbeddedDirectory.
>
>
Take it through the BitBake build tool website through SVN or as a stable archive tarball. follow the advice: simply install it in your OpenEmbeddedDirectory and make a generic link :

ln -s bitbake-1.8.8 bitbake
 

Getting OpenEmbedded

Line: 54 to 59
 
OpenEmbedded upstream snapshot
Changed:
<
<
We start from an OpenEmbedded snapshot from the official "upstream" OpenEmbedded project. This snapshot contains the BitBake recipes for thousands of packages.
>
>
We start with an OpenEmbedded snapshot from the official "upstream" OpenEmbedded project. This snapshot contains the BitBake recipes for thousands of packages.
 Here is the OpenEmbedded release we build our solution with : aa44d626baaae40ee498aea453176a8aea90d9fc
Line: 75 to 79
 hand note however that the goal of this patch is to merge the most of it bits into the mainstream OE tree.

Description Sources Patch
Changed:
<
<
OpenEmbedded? database http://www.openembedded.org/snapshots/
revison : aa44d626baaae40ee498aea453176a8aea90d9fc
oe_angstrom_at91.diff.gz
>
>
OpenEmbedded database http://www.openembedded.org/snapshots/
revison : aa44d626baaae40ee498aea453176a8aea90d9fc
oe_angstrom_at91.diff.gz
 

Then download and install this patch :

Line: 86 to 90
 cd ..
Added:
>
>

Setup local configuration and environment variables

The local configuration file is derived from the example file org.openembedded.dev/conf/local.conf.sample . The local configuration is located in build/conf/local.conf . Here is the local.conf used to build Linux4SAM root file system.

hand Read comments in it as it will bring you valuables informations and allow you to adapt it to your own environment and building host (directory structure for example).

In addition, some environment variables have to be set before running a build process. We setup those variables via a little script env-oe.sh :

#!/bin/sh

OE_DIR=/stuff

export PATH=${OE_DIR}/bitbake/bin:$PATH
export BBPATH=${OE_DIR}/build:${OE_DIR}/org.openembedded.dev

Then, source this script :

source ./env-oe.sh

Start building

Begin with a little set of packages :

bitbake angstrom-minimal-image

warning even a minimal image will require a big amount of time because of the cross-toolchain building process.

The console and graphical images are built using the following recipes respectively :

bitbake angstrom-console-image-demo
bitbake angstrom-x11-image-demo
 

Tips & tricks

OpenEmbedded

Line: 116 to 155
 http://wiki.openmoko.org/wiki/Application_Development_Crash_Course#Your_First_Application
Added:
>
>

META FILEATTACHMENT attachment="oe_angstrom_at91.diff.gz" attr="" comment="linux4sam_1.0_20070913" date="1191242062" name="oe_angstrom_at91.diff.gz" path="oe_angstrom_at91.diff.gz" size="196758" stream="oe_angstrom_at91.diff.gz" user="Main.RfoLnx4sam" version="1"
META FILEATTACHMENT attachment="local.conf" attr="" comment="" date="1191252456" name="local.conf" path="local.conf" size="6724" stream="local.conf" user="Main.RfoLnx4sam" version="2"
META FILEATTACHMENT attachment="env-oe.sh" attr="" comment="" date="1191248990" name="env-oe.sh" path="env-oe.sh" size="127" stream="env-oe.sh" user="Main.RfoLnx4sam" version="1"
 
META TOPICMOVED by="NicolasFerre" date="1189505740" from="Linux4SAM.OpenEmbeddAngstromBuild" to="Linux4SAM.OpenEmbeddedAngstromBuild"

OpenEmbeddedAngstromBuild 5 - 28 Sep 2007 - Main.RfoLnx4sam
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 56 to 56
 We start from an OpenEmbedded snapshot from the official "upstream" OpenEmbedded project. This snapshot contains the BitBake recipes for thousands of packages.
Changed:
<
<
OE release : aa44d626baaae40ee498aea453176a8aea90d9fc
>
>
Here is the OpenEmbedded release we build our solution with : aa44d626baaae40ee498aea453176a8aea90d9fc
 
Added:
>
>
So you have to checkout this revision of the OE tree :
mtn --db=/stuff/OE.mtn checkout -r aa44d626baaae40ee498aea453176a8aea90d9fc --branch=org.openembedded.dev
 
Deleted:
<
<
mtn --db=../oe_snapshot/OE.mtn checkout -r aa44d626baaae40ee498aea453176a8aea90d9fc --branch=org.openembedded.dev
 
Added:
>
>
AT91 OpenEmbedded / Angstrom overlay tree or patch

In addition to the upstream recipes, we also have a set of our own recipes or modifications of the original ones. So, the following patch applies to the tree that you just checkouted.

 
Changed:
<
<
In addition to the upstream recipes, we also have a set of our own recipes.
>
>
hand note however that the goal of this patch is to merge the most of it bits into the mainstream OE tree.
 
Changed:
<
<
The overlay tree works in the following way: It gives us the ability to add rules below a separate directory tree. This means we don't have to edit or add rules to the upstream snapshot, and we always have a clear distinction about what is upstream, and what is our additions to it.
>
>
Description Sources Patch
OpenEmbedded? database http://www.openembedded.org/snapshots/
revison : aa44d626baaae40ee498aea453176a8aea90d9fc
oe_angstrom_at91.diff.gz
 
Added:
>
>
Then download and install this patch :

cd org.openembedded.dev
zcat ../oe_angstrom_at91.diff.gz | patch -p1
cd ..
 

Tips & tricks


OpenEmbeddedAngstromBuild 4 - 26 Sep 2007 - Main.RfoLnx4sam
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Line: 16 to 16
 

To build the binary found in the OpenEmbeddedAngstromGet page, you will have to go through the following steps.

Added:
>
>
 

Pre-requires

Changed:
<
<

Building environment

>
>
Here are the reference pages for setting up an OpenEmbedded building environment.
 
Changed:
<
<

Getting BitBake

>
>
 
Changed:
<
<
http://www.uv-ac.de/openembedded/openembedded-3.html#ss3.2

Getting OpenEmbedded

>
>
Note however that most of time, on a development host, those packages are often already installed.

Advices :

  • the JIT python compiler Psyco is strongly recommended as it improve building performance
  • take a recent version of the monotone SCM as packages are usually available at http://monotone.ca/
 
Added:
>
>

Building environment

 
Changed:
<
<
Take this snapshot as you may have a post 0.35 monotone installed (check with mtn --version) http://www.openembedded.org/snapshots/OE-this-is-for-mtn-0.35.mtn.bz2
>
>
A step-by-step comprehensive installation is explained in the OpenEmbedded Getting Started page. The following lines have to be considered as an add-on that is AT91 specific or that can facilitate your setup.
 
Added:
>
>

Getting BitBake

 
Changed:
<
<
Source Patch Description
u-boot 1.1.5 archive
u-boot 1.1.5 git tree
TODO Add AT91 board support in u-boot
>
>
Take it through the BitBake build tool website through SVN or as a stable archive tarball. follow the advice: simply install it in your OpenEmbeddedDirectory.

Getting OpenEmbedded

Once in your OpenEmbeddedDirectory, download a snapshot of the OpenEmbedded monotone database going to http://www.openembedded.org/snapshots/.
To choose the proper one:

  • just take the OE.mtn.bz2 file and, once the database uncompressed, run a mtn --db=/stuff/OE.mtn db migrate
  • or, take the OE-this-is-for-mtn-0.3x.mtn.bz2 that is in keeping with the version of your monotone program (checked with mtn --version).

Before uncompressing the OE database, it is recommended to verify its integrity :

md5sum -c OE.mtn.bz2.md5sum
 

Build Process with OpenEmbedded

Line: 57 to 73
 

Tips & tricks

Changed:
<
<
Links to Angstrom and OpenEmbedded websites Etc.

BB Tips :

>
>

OpenEmbedded

 
Changed:
<
<
listtasks
>
>
The resulting directory structure explanation : http://www.openembedded.org/wiki/DirectoryStructure
 
Changed:
<
<
http://www.avrfreaks.net/wiki/index.php/Documentation:AVR32_Linux_Development/Getting_started_with_AVR32_Linux_Development
>
>

OpenEmbedded usage

Here is a use case about a project lead with OE : http://www.openembedded.org/wiki/FirstProject
 
Changed:
<
<
BitBake usage
>
>

BitBake

BitBake usage :
 http://www.uv-ac.de/openembedded/openembedded-3.html#ss3.2
Changed:
<
<
Getting started OE: http://wiki.openmoko.org/wiki/Building_OpenMoko_from_scratch
>
>
list tasks provided by a package :
bitbake -c listtasks <package_name>
You can use one of those tasks to have a fine grained control over the package building.

Hello World examples

 
Deleted:
<
<
helloworld with OE :
 http://www.openembedded.org/user-manual&dpage=recipes_examples
Changed:
<
<
http://wiki.openmoko.org/wiki/Building_a_hello_world_application
>
>
The OpenMoko way :
http://wiki.openmoko.org/wiki/Building_a_hello_world_application
http://wiki.openmoko.org/wiki/Application_Development_Crash_Course#Your_First_Application
 
META TOPICMOVED by="NicolasFerre" date="1189505740" from="Linux4SAM.OpenEmbeddAngstromBuild" to="Linux4SAM.OpenEmbeddedAngstromBuild"

OpenEmbeddedAngstromBuild 3 - 26 Sep 2007 - Main.RfoLnx4sam
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

How to build Angstrom for AT91

Changed:
<
<
Note that building an entire distribution is a long process
>
>
Note that building an entire distribution is a long process. It also requires a big amount of free disk space ; at least :
  • ~650 MByte of source archives downloaded for Internet
  • ~5 GByte of compiled packages and tools

This documentation is largely inspired by the following resources :

 
Changed:
<
<
To build the binary found above, you will have to go through the following steps.

building gpephone : (building angstrom example) http://linuxtogo.org/gowiki/BuildGpepeUsingOpenEmbedded

building openmoko http://wiki.openmoko.org/wiki/Building_OpenMoko_from_scratch

Take this snapshot as you may have a post 0.35 monotone installed (check with mtn --version) http://www.openembedded.org/snapshots/OE-this-is-for-mtn-0.35.mtn.bz2

http://wiki.emqbit.com/openembedded

>
>
To build the binary found in the OpenEmbeddedAngstromGet page, you will have to go through the following steps.
 

Pre-requires

Building environment

Line: 31 to 26
 

Getting OpenEmbedded

Added:
>
>
Take this snapshot as you may have a post 0.35 monotone installed (check with mtn --version) http://www.openembedded.org/snapshots/OE-this-is-for-mtn-0.35.mtn.bz2
 
Source Patch Description
u-boot 1.1.5 archive
u-boot 1.1.5 git tree
TODO Add AT91 board support in u-boot

OpenEmbeddedAngstromBuild 2 - 26 Sep 2007 - Main.RfoLnx4sam
Line: 1 to 1
 
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

Changed:
<
<

How to build Angstrom for AT91 from sources

>
>

How to build Angstrom for AT91

 Note that building an entire distribution is a long process

OpenEmbeddedAngstromBuild 1 - 11 Sep 2007 - Main.NicolasFerre
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="OpenEmbeddedAngstrom"

OpenEmbedded / Angstrom : build from sources

How to build Angstrom for AT91 from sources

Note that building an entire distribution is a long process

To build the binary found above, you will have to go through the following steps.

building gpephone : (building angstrom example) http://linuxtogo.org/gowiki/BuildGpepeUsingOpenEmbedded

building openmoko http://wiki.openmoko.org/wiki/Building_OpenMoko_from_scratch

Take this snapshot as you may have a post 0.35 monotone installed (check with mtn --version) http://www.openembedded.org/snapshots/OE-this-is-for-mtn-0.35.mtn.bz2

http://wiki.emqbit.com/openembedded

Pre-requires

Building environment

Getting BitBake

http://www.uv-ac.de/openembedded/openembedded-3.html#ss3.2

Getting OpenEmbedded

Source Patch Description
u-boot 1.1.5 archive
u-boot 1.1.5 git tree
TODO Add AT91 board support in u-boot

Build Process with OpenEmbedded

OpenEmbedded upstream snapshot

We start from an OpenEmbedded snapshot from the official "upstream" OpenEmbedded project. This snapshot contains the BitBake recipes for thousands of packages.

OE release : aa44d626baaae40ee498aea453176a8aea90d9fc

mtn --db=../oe_snapshot/OE.mtn checkout -r aa44d626baaae40ee498aea453176a8aea90d9fc --branch=org.openembedded.dev

mtn diff -r aa44d626baaae40ee498aea453176a8aea90d9fc -r `mtn automate heads` | vim -

AT91 OpenEmbedded/Angstrom overlay tree

In addition to the upstream recipes, we also have a set of our own recipes.

The overlay tree works in the following way: It gives us the ability to add rules below a separate directory tree. This means we don't have to edit or add rules to the upstream snapshot, and we always have a clear distinction about what is upstream, and what is our additions to it.

Tips & tricks

Links to Angstrom and OpenEmbedded websites Etc.

BB Tips :

listtasks

http://www.avrfreaks.net/wiki/index.php/Documentation:AVR32_Linux_Development/Getting_started_with_AVR32_Linux_Development

BitBake usage http://www.uv-ac.de/openembedded/openembedded-3.html#ss3.2

Getting started OE: http://wiki.openmoko.org/wiki/Building_OpenMoko_from_scratch

helloworld with OE : http://www.openembedded.org/user-manual&dpage=recipes_examples http://wiki.openmoko.org/wiki/Building_a_hello_world_application

META TOPICMOVED by="NicolasFerre" date="1189505740" from="Linux4SAM.OpenEmbeddAngstromBuild" to="Linux4SAM.OpenEmbeddedAngstromBuild"

Revision 18r18 - 16 Jul 2008 - 11:56:39 - NicolasFerre
Revision 17r17 - 16 Jul 2008 - 09:16:50 - NicolasFerre
Revision 16r16 - 15 Apr 2008 - 13:13:07 - NicolasFerre
Revision 15r15 - 08 Jan 2008 - 12:57:49 - NicolasFerre
Revision 14r14 - 14 Nov 2007 - 08:07:44 - NicolasFerre
Revision 13r13 - 15 Oct 2007 - 09:43:27 - NicolasFerre
Revision 12r12 - 12 Oct 2007 - 15:01:02 - NicolasFerre
Revision 11r11 - 11 Oct 2007 - 09:59:29 - NicolasFerre
Revision 10r10 - 10 Oct 2007 - 15:53:18 - NicolasFerre
Revision 9r9 - 03 Oct 2007 - 09:34:25 - NicolasFerre
Revision 8r8 - 02 Oct 2007 - 09:06:12 - NicolasFerre
Revision 7r7 - 02 Oct 2007 - 08:58:01 - RfoLnx4sam
Revision 6r6 - 01 Oct 2007 - 15:27:39 - RfoLnx4sam
Revision 5r5 - 28 Sep 2007 - 13:23:37 - RfoLnx4sam
Revision 4r4 - 26 Sep 2007 - 16:32:14 - RfoLnx4sam
Revision 3r3 - 26 Sep 2007 - 14:00:01 - RfoLnx4sam
Revision 2r2 - 26 Sep 2007 - 09:01:37 - RfoLnx4sam
Revision 1r1 - 11 Sep 2007 - 10:15:40 - NicolasFerre
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel® and others, are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
ARM® and others are registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others.
Ideas, requests, contributions ? Connect to LinksToCommunities page.
Syndicate this site RSSATOM