##Prerquisite
- Ubuntu
sudo apt-get install -y git build-essential libsdl1.2-dev texinfo gawk chrpath diffstat
##How to download:
- Clone the OpenBMC repository and other open source repositories:
$ git clone -b rocko https://git.yoctoproject.org/git/poky
$ cd poky
$ git clone https://github.com/alon8432/meta-obmc-machines.git
$ mkdir import-layers
$ cd import-layers
$ git clone -b rocko https://github.com/openembedded/meta-openembedded.git
$ git clone -b rocko https://git.yoctoproject.org/git/meta-raspberrypi
- Initialize a build directory for the platform to build. In the
root
directory:
$ export TEMPLATECONF=meta-obmc-machines/meta-evb/meta-evb-raspberrypi/conf
$ source poky/oe-init-build-env rpi-build
- Start the build within the build directory:
$ bitbake console-image
The build process automatically fetches all necessary packages and builds the complete image. The final build results a
re in rpi-build/tmp/deploy/images/<platform>
.