Go to file
colin bc6e24c4c2 rpi-config_git: Added ENABLE_DUAL_CAN build configuration
Currently ENABLE_CAN adds mcp2525-can0 to the dtoverlay.

ENABLE_DUAL_CAN was added to also add mcp2515-can1 to the dtoverlay.
This will allow a user to enable dual CAN when using a hat like the
PiCAN 2 Duo board.

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
2020-08-10 11:10:11 +01:00
.github PULL_REQUEST_TEMPLATE.md: Add pull request template 2017-05-12 20:41:05 +01:00
classes Revert "Generalize the naming of the bootfiles deploy directory" 2020-08-10 11:10:11 +01:00
conf conf/machine/include/rpi-base.inc: Added can1 interface to bsp 2020-08-10 11:10:11 +01:00
docs docs/extra-build-config.md: Infrared 2020-07-14 18:27:52 +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_git: Added ENABLE_DUAL_CAN build configuration 2020-08-10 11:10:11 +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 Revert "Generalize the naming of the bootfiles deploy directory" 2020-08-10 11:10:11 +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>