Go to file
Paul Barker 6d0830b26f Fix do_image_rpi_sdimg/do_image_wic dependencies
The dependency resolution code in bitbake has recently been optimized and this
seems to have slightly changed the behaviour of do_image_rpi_sdimg and
do_image_wic. We ensure that the main build artifacts are present by depending
on the relevant do_deploy and do_populate_sysroot tasks. However, we need to
ensure that other build tasks for these dependencies have also been executed
before we try to create our image. This can be achieved by adding a recursive
dependency on do_build, so that the do_build tasks of all recipes in the
dependency chain of do_image_rpi_sdimg/do_image_wic are executed before the
image function itself is executed.

The original issue seen here was that 'recipedata' files were not copied to
'tmp/deploy/licenses' as do_populate_lic for each dependency had not been ran
before the image creation function. The write_deploy_manifest function from
license.bbclass (listed in IMAGE_POSTPROCESS_COMMAND) therefore failed. Adding
the recursive dependency on do_build fixes this issue, ensuring do_populate_lic
runs before do_image_rpi_sdimg/do_image_wic.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2018-02-28 18:02:58 +00:00
.github PULL_REQUEST_TEMPLATE.md: Add pull request template 2017-05-12 20:41:05 +01:00
classes Fix do_image_rpi_sdimg/do_image_wic dependencies 2018-02-28 18:02:58 +00:00
conf Fix do_image_rpi_sdimg/do_image_wic dependencies 2018-02-28 18:02:58 +00:00
docs docs: Do not force alabaster theme 2017-12-18 19:20:43 +00:00
files/custom-licenses custom-licenses: Add directory to hold custom licenses 2013-03-13 19:42:27 +02:00
recipes-bsp u-boot: Update RPi Zero W defconfig to support DTB. 2018-02-14 17:52:28 +00:00
recipes-connectivity/bluez5 bluez5: Use serial device alias for BT device 2018-01-26 16:50:42 +00:00
recipes-core packagegroup-rpi-test, rpi-test-image: restrict to ^rpi$ and include omxplayer only for 32bit rpi 2017-07-27 10:56:34 +02:00
recipes-devtools pi-blaster: An .inc file looks too much for this small recipe 2017-11-08 10:20:08 +00:00
recipes-graphics userland: Update to latest master 2018-02-02 11:13:24 +00:00
recipes-kernel linux-firmware: fix addition of NVRAM file to image (fixes #184) 2018-02-05 19:19:06 +00:00
recipes-multimedia omxplayer: make samba support configureable 2018-02-01 18:42:47 +00:00
wic wic: move sdimage-raspberrypi to toplevel wic location 2017-03-11 04:39:14 -08:00
.gitignore docs: Initial sphinx configuration 2017-05-26 12:16:52 +01:00
COPYING.MIT COPYING.MIT: Add license file for the metadata. 2012-04-03 20:44:03 +01:00
README.md readme: Update quick links 2017-12-18 19:20:43 +00:00

meta-raspberrypi

Yocto BSP layer for the Raspberry Pi boards - http://www.raspberrypi.org/.

Build Status Build Status Build Status Gitter chat

Description

This is the general hardware specific BSP overlay for the RaspberryPi device.

More information can be found at: http://www.raspberrypi.org/ (Official Site)

The core BSP part of meta-raspberrypi should work with different OpenEmbedded/Yocto distributions and layer stacks, such as:

  • Distro-less (only with OE-Core).
  • Angstrom.
  • Yocto/Poky (main focus of testing).

Dependencies

This layer depends on:

  • URI: git://git.yoctoproject.org/poky

    • branch: master
    • revision: HEAD
  • URI: git://git.openembedded.org/meta-openembedded

    • layers: meta-oe, meta-multimedia, meta-networking, meta-python
    • branch: master
    • revision: HEAD

Quick Start

  1. source poky/oe-init-build-env rpi-build
  2. Add this layer to bblayers.conf and the dependencies above
  3. Set MACHINE in local.conf to one of the supported boards
  4. bitbake rpi-hwup-image
  5. dd to a SD card the generated sdimg file (use xzcat if rpi-sdimg.xz is used)
  6. Boot your RPI.

Maintainers

  • Andrei Gherzan <andrei at gherzan.ro>