Wiki¶
Documentation¶
http://www.yoctoproject.org/documentation
Quick Start¶
Requirements¶
Install the required packages.
Installation¶
Clone the Yocto Project Git repository into the current working directory.
git clone git://git.yoctoproject.org/poky -b dizzy
Clone all needed meta layers Git repository inside the poky Git repository directory.
cd poky git clone git://git.openembedded.org/meta-openembedded -b dizzy git clone http://opensource.cit-ec.de/git/meta-openrobotix.git -b <desiredBranch> git clone http://opensource.cit-ec.de/git/meta-cerebric.git -b <desiredBranch>
Create the Yocto Project build directory in the current working directory.
source oe-init-build-env
Check and edit the resulting conf/local.conf
file. Minimally configure the MACHINE variable to your processor board.
MACHINE ??= "cerebric"
Update the conf/bblayers.conf
file so that the BBLAYERS variable includes the absolute path to all needed meta layers.
meta-openembedded/meta-oe meta-openembedded/meta-networking meta-openrobotix meta-cerebric
Image generation¶
Setup the build environment and generate the openrobotix-image-core
(to build the full image with all features [like RSB] use openrobotix-image-basic
).
cd poky source oe-init-build-env bitbake openrobotix-image-core
Toolchain generation¶
Setup the build environment and generate the meta-tootlchain-openrobotix
.
cd poky source oe-init-build-env bitbake meta-toolchain-openrobotix
Additional flag for poky/build/conf/local.conf¶
LICENSE_FLAGS_WHITELIST += "commercial_libav" LICENSE_FLAGS_WHITELIST += "commercial_x264"
WIFI_NAME = "citopenrobotix" WIFI_PASSPHRASE = "" WIFI_HIDDEN = "true"