Meta-Rpi commit: 75f008e1971cde54e96fb625dc7439dbaa17d4b2 Cirrus Audio Card driver: http://www.horus.com/~hias/cirrus-driver.html
Usage:
- Setup your build host - the machine where you're going to build Yocto image. To do this follow this guide or use ready-to-go Ubuntu Docker image;
- Create a separate directory where you'll store all required meta layers and checkout all of them:
$ git clone -b morty git://git.yoctoproject.org/poky.git
$ git clone -b morty git://git.openembedded.org/meta-openembedded
$ git clone -b master git://git.yoctoproject.org/meta-raspberrypi
$ git clone -b master git://github.com/project-lighthouse/yocto-meta-layer
- If you use Docker image then the folder with all repositories above should be volume mounted. Then run environment initialization script from
poky
repository. $ source poky/oe-init-build-env rpi-build/
- After the previous command you'll end up inside of
rpi-build
folder, so inside this folder do the following steps:$ mkdir -p ./conf
$ cp yocto-meta-layer/conf/local.conf.sample rpi-build/conf/local.conf
$ cp yocto-meta-layer/conf/bblayers.conf.sample rpi-build/conf/bblayers.conf
- Open
rpi-build/conf/bblayers.conf
and make sure paths to the repositories are correct. Adjust if needed.
- Once everything is ready, run
$ bitbake console-image
. It can take few hours for the first time, will be much faster after that. - Once you're done, go to the
yocto-meta-layer/scripts
folder; $ ./prepare-image.sh image-v0.0.8.img
.