RepositoryCGBUnited Kingdom
agherzan

agherzan/meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards

698stars
489forks
110issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: yocto

#1 Repository of the week

1
TINIX TRENDING·Topic: yocto-bsp

#1 Repository of the week

1
TINIX TRENDING·Topic: yocto-project

#1 Repository of the week

meta-raspberrypi

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

Documentation Status Matrix


Yocto Project Layer Compatible
Sponsored by:
balena.io

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).
  • Yoe Disto (Video and Camera Products).
  • Yocto/Poky (main focus of testing).

Yocto Project Compatible Layer

This layer is officially approved as part of the Yocto Project Compatible Layers Program. You can find details of that on the official Yocto Project website.

Dependencies

This layer depends on:

Quick Start

  1. source openembedded-core/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. Set the machine: in kas-poky-rpi.yml to one of the supported boards (see conf/machine/*.conf)
  3. kas build meta-raspberrypi/kas-poky-rpi.yml
  4. Use bmaptool to copy the generated .wic.bz2 file to the SD card
  5. 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=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/latest/index.html

Contributing

You can send patches using the GitHub pull request process or/and through the Yocto mailing list. Refer to the documentation for more information.

Maintainers

  • Andrei Gherzan <andrei at gherzan.com>

Similar Projects

Discover other similar projects and AI models.

RepositoryBitBake
Xilinx/meta-xilinx

Collection of Yocto Project layers to enable AMD Xilinx products

186
Nov 16, 2026
RepositoryBitBake
riscv/meta-riscv

OpenEmbedded/Yocto layer for RISC-V Architecture

454
Nov 26, 2026
RepositoryBitBake
sony/meta-flutter

Yocto recipes for Flutter Engine and custom embedders

108
Dec 19, 2024
RepositoryShell
thibmaek/awesome-raspberry-pi

📝 A curated list of awesome Raspberry Pi tools, projects, images and resources

17.2k
Nov 11, 2026
RepositoryTypeScript
getumbrel/umbrel

An elegant home server OS. Run AI agents, store your files, backup your photos, and do more with over 300 apps in the Umbrel App Store.

12.6k
Nov 25, 2026
RepositoryPHP
RaspAP/raspap-webgui

The easiest, full-featured wireless router setup for Debian-based devices. Period.

5.2k
Nov 28, 2026
RepositoryShell
Drewsif/PiShrink

Make your pi images smaller!

4.2k
May 10, 2026
RepositoryPython
opencardev/crankshaft

Crankshaft: A turnkey GNU/Linux solution that transforms a Raspberry Pi to an Android Auto head unit.

2.7k
Nov 23, 2026
RepositoryRust
balena-os/wifi-connect

Easy WiFi setup for Linux devices from your mobile phone or laptop

1.5k
Nov 20, 2026