Search by Tags

OpenEmbedded (core) Configuration for V2.0 Images

 
Applicable for

Compare with Revision


Subscribe for this article updates

OpenEmbedded (core)

For general information regarding OpenEmbedded (core) including all information pertinent to the latest versions of the BSP (V2.1+), see OpenEmbedded (core).

V2.0 Images

The following information regarding OpenEmbedded configuration is particular to V2.0 images. For additional information, see OpenEmbedded (core).

Note that we consider this version outdated. We recommended to use newer versions as described in OpenEmbedded (core).

Layer repository versions/tags Colibri T20

Layer Versions used for T20_LinuxImageV2.0

META_TORADEX=T20_LinuxImageV2.0_20130305
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for T20_LinuxImageV2.0Beta2_20130129

META_TORADEX=T20_LinuxImageV2.0Beta2_20130129
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for T20_LinuxImageV2.0Beta1_20121218

META_TORADEX=T20_LinuxImageV2.0Beta1_20121218
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for T20_LinuxImageV2.0Alpha2_20121019

META_TORADEX=T20_LinuxImageV2.0Alpha2_20121019
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for T20_LinuxImageV2.0Alpha1_20120808

META_TORADEX=T20_LinuxImageV2.0Alpha1_20120808
OPENEMBEDDED_CORE=e3113827810e98eb1b012f0b280fb917199704c1
META_OPENEMBEDDED=fb360b53a5f9715320fe161637e4b46737f52d8f
META_ANGSTROM=9fe129f75180b76a4e3db9d88e78eb2c28af6380
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=56c1ab18fcaf4ac245dcb412ed55e8e0af07883b

Layer repository versions/tags Colibri T30

The OpenEmbedded MACHINE for the Colibri T30 module is colibri-t30. If you want to use your oe-core installation only for the T30 then edit conf/local.conf and set:

MACHINE?=colibri-t30

If you want to build for Colibri T30 and Colibri T20 in the same oe-core tree, you can set the colibri-t20 in conf/local.conf and override that setting from the command line if you want to build for the colibri-t30. e.g.:

MACHINE=colibri-t30 bitbake angstrom-lxde-image 2>&1 | tee -a  buildoutput.txt

Layer Versions used for T30_LinuxImageV2.0Beta3_20130820

META_TORADEX=T30_LinuxImageV2.0Beta3_20130820
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for T30_LinuxImageV2.0Beta2_20130626

META_TORADEX=T30_LinuxImageV2.0Beta2_20130626
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for T30_LinuxImageV2.0Beta1_20130314

META_TORADEX=T30_LinuxImageV2.0Beta1_20130314
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for T30_LinuxImageV2.0Alpha1_20130122

META_TORADEX=T30_LinuxImageV2.0Alpha1_20130122
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for T30_LinuxImageV2.0Alpha0_20121227

META_TORADEX=T30_LinuxImageV2.0Alpha0_20121227
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer repository versions/tags Apalis T30

The OpenEmbedded MACHINE for the Apalis T30 module is apalis-t30. If you want to use your oe-core installation only for the Apalis T30 then edit conf/local.conf and set:

MACHINE?=apalis-t30

If you want to build for Colibris and Apalis T30 in the same oe-core tree you can override the MACHINE setting from the command line if you want to build for the apalis-t30. e.g.:

MACHINE=apalis-t30 bitbake angstrom-lxde-image 2>&1 | tee -a  buildoutput.txt

Layer Versions used for Apalis_T30_LinuxImageV2.0Beta2_20130816

META_TORADEX=Apalis_T30_LinuxImageV2.0Beta2_20130816
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for Apalis_T30_LinuxImageV2.0Beta1_20130626

META_TORADEX=Apalis_T30_LinuxImageV2.0Beta1_20130626
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Layer Versions used for Apalis_T30_LinuxImageV2.0Alpha1_20130315

META_TORADEX=Apalis_T30_LinuxImageV2.0Alpha1_20130315
OPENEMBEDDED_CORE=ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23
META_OPENEMBEDDED=3871d4561464eedc6a9a83b2c682ec7d29682873
META_ANGSTROM=1007f6c32a1614c688872562a5859919781339fa
META_BROWSER=5d176cb405497e5c5823fa14dbae353a2e1e3730
OE_TWORAZ=90ea86dbd4d18e00a5dbbdedba238492abde1c4b
BITBAKE=1.16.0

Setup/Configure from scratch

Set the environment variables (META_TORADEX ...) as outlined above. These commands download the recipes and checkout our recommended/tested versions.

mkdir -p oe-core/stuff
cd oe-core/stuff

git clone --no-checkout git://git.toradex.com/meta-toradex
cd meta-toradex; git checkout -b colibri $META_TORADEX; cd ..

git clone --no-checkout git://git.openembedded.org/openembedded-core
cd openembedded-core; git checkout -b colibri $OPENEMBEDDED_CORE; cd ..

git clone --no-checkout git://git.openembedded.org/meta-openembedded
cd meta-openembedded; git checkout -b colibri $META_OPENEMBEDDED; cd ..

git clone --no-checkout http://github.com/Angstrom-distribution/meta-angstrom.git
cd meta-angstrom; git checkout -b colibri $META_ANGSTROM; cd ..

git clone --no-checkout https://github.com/OSSystems/meta-browser.git
cd meta-browser; git checkout -b colibri $META_BROWSER; cd ..

git clone --no-checkout https://github.com/tworaz/oe-tworaz.git
cd oe-tworaz; git checkout -b colibri $OE_TWORAZ; cd ..
# for V2.0 Alpha 2 and newer
cd oe-tworaz; git am ../meta-toradex/missing-autoconf-tests.patch; cd ..

The openembedded-core layer needs to have a copy of bitbake.

#bitbake seems to be needed in openembedded-core
cd openembedded-core
git clone --no-checkout git://git.openembedded.org/bitbake
cd bitbake; git checkout -b colibri $BITBAKE; cd ..

Then, still in the openembedded-core directory, we can use the "oe-init-build-env" script to generate a build environment.

#setup the environment
. oe-init-build-env ../../build

The script automatically changes directory to the build environment. Now we need to create a build configuration. The meta-toradex repository contains our default set of configurations.

#copy and edit a sample local.conf and bblayers.conf from meta-toradex
cp ../stuff/meta-toradex/buildconf/* conf/
joe conf/local.conf

For convenience, you can create a script in the root folder which does the build environment setup:

echo "cd stuff/openembedded-core/;. oe-init-build-env ../../build" > ../export

Some projects moved to different servers which will have your build fail when the sources of that project are fetched and you do not already have them in your download directory. The following fixes this:

cd openembedded-core; git cherry-pick -x 156e0fca979585f72323041f8d8aeafcbd43dfc3; cd ..

Update an existing V2.0 configuration

Set the environment variables (META_TORADEX ...) as outlined above.

cd
cd oe-core/stuff
cd meta-toradex;      git fetch; git merge $META_TORADEX; cd ..
cd openembedded-core; git fetch; git merge $OPENEMBEDDED_CORE; cd ..
cd meta-openembedded; git fetch; git merge $META_OPENEMBEDDED; cd ..
cd meta-angstrom;     git fetch; git merge $META_ANGSTROM; cd ..
cd meta-browser;      git fetch; git merge $META_BROWSER; cd ..
cd oe-tworaz;         git fetch; git merge $OE_TWORAZ; cd ..
cd openembedded-core/bitbake; git fetch; git merge $BITBAKE; cd ../..
cd oe-tworaz;         git am ../meta-toradex/missing-autoconf-tests.patch; cd ..

# merge or copy meta-toradex/buildconf/*.conf with your settings in build/conf/*.conf
diff -Nau ../build/conf/local.conf meta-toradex/buildconf/local.conf
diff -Nau ../build/conf/bblayers.conf meta-toradex/buildconf/bblayers.conf

# remove your old buildoutput
cd ../build
rm -rf  out-eglibc  sstate-cache

Note that we had some issues with the meta-toradex repository between T20_LinuxImageV2.0Alpha1_20120808 and T20_LinuxImageV2.0Alpha2_20121019. The merge of that specific repository might fail. I propose to fetch that repository fully and merge the changes you did to the older version by hand.

# so start from scratch
mv meta-toradex meta-toradex.old
git clone --no-checkout git://git.toradex.com/meta-toradex
cd meta-toradex; git checkout -b colibri T20_LinuxImageV2.0Alpha2_20121019; cd ..
# merge your changes in