Skip to content

project-lighthouse/yocto-meta-layer

Repository files navigation

Lighthouse Yocto meta layer

Meta-Rpi commit: 75f008e1971cde54e96fb625dc7439dbaa17d4b2 Cirrus Audio Card driver: http://www.horus.com/~hias/cirrus-driver.html

Usage:

  1. 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;
  2. Create a separate directory where you'll store all required meta layers and checkout all of them:
  3. $ git clone -b morty git://git.yoctoproject.org/poky.git
  4. $ git clone -b morty git://git.openembedded.org/meta-openembedded
  5. $ git clone -b master git://git.yoctoproject.org/meta-raspberrypi
  6. $ git clone -b master git://github.com/project-lighthouse/yocto-meta-layer
  7. If you use Docker image then the folder with all repositories above should be volume mounted. Then run environment initialization script from poky repository.
  8. $ source poky/oe-init-build-env rpi-build/
  9. After the previous command you'll end up inside of rpi-build folder, so inside this folder do the following steps:
    1. $ mkdir -p ./conf
    2. $ cp yocto-meta-layer/conf/local.conf.sample rpi-build/conf/local.conf
    3. $ cp yocto-meta-layer/conf/bblayers.conf.sample rpi-build/conf/bblayers.conf
    4. Open rpi-build/conf/bblayers.conf and make sure paths to the repositories are correct. Adjust if needed.
  10. Once everything is ready, run $ bitbake console-image. It can take few hours for the first time, will be much faster after that.
  11. Once you're done, go to the yocto-meta-layer/scripts folder;
  12. $ ./prepare-image.sh image-v0.0.8.img.

About

Custom Yocto meta layer for the Lighthouse Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published