Go to file
Leon Anavi eddf28ecc4 rpi-base.inc: Include modules if IR is enabled
Add kernel modules gpio-ir and gpio-ir-tx to variable
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS if ENABLE_IR is set to 1.
Variable ENABLE_IR enables infrared support (for LIRC). This
change affects images based on packagegroup-core-boot, including
the core-image-minimal image.

For other images (based on packagegroup-base) kernel modules
are provide through variable MACHINE_EXTRA_RRECOMMENDS.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-14 18:27:52 +01:00
.github PULL_REQUEST_TEMPLATE.md: Add pull request template 2017-05-12 20:41:05 +01:00
classes rpi-u-boot-scr: Set u-boot-default-script as provider 2020-04-08 22:32:06 +01:00
conf rpi-base.inc: Include modules if IR is enabled 2020-07-14 18:27:52 +01:00
docs Update layer-contents.md to include pi4 2020-06-22 17:10:13 +01:00
dynamic-layers Revert "qtbase: Drop xkb packageconfig" 2020-04-08 22:32:06 +01:00
files/custom-licenses bcm2835-bootfiles: Clarify license conditions 2019-10-24 14:08:16 +01:00
lib/oeqa/runtime/cases oeqa: Add rpi specific kernel dmesg parser 2020-03-17 10:33:56 +00:00
recipes-bsp rpi-config: Add ENABLE_IR variable for infrared 2020-07-14 18:27:52 +01:00
recipes-connectivity lirc_%.bbappend: Remove 2020-06-25 10:36:52 +01:00
recipes-core packagegroup-rpi-test: resolve wireless-regdb conflict 2020-07-14 18:27:52 +01:00
recipes-devtools rpio: Use python3 during build 2020-01-24 12:09:42 +00:00
recipes-graphics userland: Update to 2020-06-24 top commit 2020-07-14 18:27:52 +01:00
recipes-kernel linux-raspberrypi: bump to Linux version 5.4.51 2020-07-14 18:27:52 +01:00
recipes-multimedia gstreamer: Fix the compilation issue in meta multimedia image 2020-03-10 17:24:09 +00:00
wic sdimage-raspberrypi.wks: find /boot partition on mmcblk0 2018-03-07 23:35:18 +00: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
kas-poky-rpi.yml kas-poky-rpi: add kas file 2020-01-22 18:09:10 +00:00
README.md docs: Remove reference to xz-compressed sdimg 2020-05-23 10:07:46 +01:00

meta-raspberrypi

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

Build Status Build Status Build Status Build Status Documentation Status Matrix

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 core-image-base
  5. Use bmaptool to copy the generated .wic.bz2 file to the SD card
  6. Boot your RPI

Quick Start with kas

  1. Install kas build tool from PyPi (sudo pip3 install kas)
  2. kas build meta-raspberrypi/kas-poky-rpi.yml
  3. Use bmaptool to copy the generated .wic.bz2 file to the SD card
  4. Boot your RPI

To adjust the build configuration with specific options (I2C, SPI, ...), simply add a section as follows:

local_conf_header:
  rpi-specific: |
    ENABLE_I2C = "1"
    RPI_EXTRA_CONFIG = "dtoverlay=pi3-disable-bt"

To configure the machine, you have to update the machine variable. And the same for the distro.

For further information, you can read more at https://kas.readthedocs.io/en/1.0/index.html

Maintainers

  • Andrei Gherzan <andrei at gherzan.ro>