aboutsummaryrefslogtreecommitdiffstats
path: root/conf
AgeCommit message (Collapse)Author
2024-02-14Add Raspberry Pi 5kirkstoneLeon Anavi
Backport Raspberry Pi 5 support to branch kirkstone. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2023-09-29rpi-base: Fix wic image kernel dependencyJoshua Watt
wic images depend on the kernel device trees, and therefore should depend on virtual/kernel:do_deploy to make sure these are present in the deploy directory. Most of the time, this dependency is satisfied indirectly since a rootfs image will depend on the kernel, but add it explicitly for the cases where it is not. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> (cherry picked from commit 482d864b8f1af84915ed6a9641e80af4e49a1f63)
2023-04-06machines: simplify MACHINEOVERRIDES definitionsZachary T Welch
Prepending new definitions should be preferred to assignment, as it is simpler and more conducive to defining new machine configurations that reuse these configurations. Signed-off-by: Zachary T Welch <zach@aquabyte.ai>
2022-04-21rpi-base.inc: Add MCP3008 ADC overlayAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Jan <jan.claussen10@web.de>
2022-02-25rpi-base.inc: Cleanup redundant imgtyp variableAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-02-22layers: Bump to use kirkstoneKhem Raj
its not going to be backward ABI compatible with honister due to variable renaming. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-21rpi-default-versions: Use 5.15 as default kernelKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-20rpi-base.inc: enable i2c-gpio overlayBernhard Guillon
Adds support for software i2c controller on gpio pins RPI_EXTRA_CONFIG += "\ dtoverlay=i2c-gpio,bus=7,i2c_gpio_sda=6,i2c_gpio_scl=5 \ " Will configure a /dev/i2c-7 bus with sda=gpio#6 and slc=gpio#5 The overlay documentation can be found here: https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README Signed-off-by: Bernhard Guillon <Bernhard.Guillon@begu.org>
2022-02-19rpi-base.inc: Add vc4-fkms-v3d-pi4 overlayMichal Toman
Since RPi kernel commit 9e87248154a633b18b4900ee742d9894b49e019b FKMS overlay for Pi4 family is split into a separate file. Not shipping the overlay means FKMS does not load correctly on these devices and VC4 is not brought up. Signed-off-by: Michal Toman <michal@toman.sk>
2022-01-21raspberrypi4-64: Switch to cortexa72 tunePaul Barker
After commits ca50267ab568 & 03cebdd7ef92 in openembedded-core, the `cortexa72-crc` tune is no longer available and the `cortexa72` tune includes the crc extension by default. Update the raspberrypi4-64 machine config to handle these changes. Signed-off-by: Paul Barker <paul.barker@sancloud.com>
2022-01-04recipes-bsp: Add support for gpio-shutdownOtto Esko
- Feature is enabled with ENABLE_GPIO_SHUTDOWN variable - Include the gpio-shutdown overlay - If using SysV init include the additional keymap and inittab entries to bind the KEY_POWER event - Systemd init does not require any additional bindings Signed-off-by: Otto Esko <otto.esko@gmail.com>
2021-12-26machine: add Pi Zero 2 W 32bitsMauro Anjo
Added new machine configuration for Raspberry Pi Zero 2 W in 32bit mode. Signed-off-by: Mauro Anjo <maurosanjo@gmail.com>
2021-12-10raspberrypi4-64: Switch to using cortexa72-crc default tuneKhem Raj
rpi4 SOC does not have AES Crypto in H/W Fixes Issue #964 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-19conf/machine: add variant Wi-Fi/BT drivers for CM4 and Pi 400Peter A. Bigot
These boards use a slightly different chip which requires additional firmware to be present. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2021-11-14rpi-base.inc: Added gpio-poweroff overlay.Cameron Kellough
Some machines need to have the kernel toggle a gpio when an external power source needs to shut off power to complete a shutdown and de-energize the processor. gpio-poweroff provides this functionality but was omitted from the kernel overlays brought oveer by the rpi-layer from the kernel. Signed-off-by: Cameron Kellough <cameron@telemetrak.com>
2021-11-13conf/machine: Add Pi Zero 2 Wifi 64bit yocto machineAlexandru Costache
This inherits Pi3 64bit configuration Signed-off-by: Alexandru Costache <alexandru@balena.io>
2021-08-25raspberrypi4: Use full kms (vc4-kms-v3d) DT overlayKhem Raj
With latest 5.10 kernel fkms version fails to bring up VC4 and we do not get dri device initialized ( /dev/dri ) is empty, which means we can not launch wayland componsitors. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-20machines: Use tune files from new location in oe-coreKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-04layer.conf: Update to honisterMartin Jansa
This marks the layers as compatible with honister now they use the new override syntax. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-04Manually fix conversionMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-04Convert to new override syntaxMartin Jansa
This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-10Add WM8960 soundcard supportDevendra Tewari
Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
2021-05-26layer.conf: Define LAYERDEPENDSAndrei Gherzan
We should currently only depend on core - everything should be handled through dynamic layers. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2021-05-19recipes-bsp: Add support for Raspberry Pi HD quality camerasss22213
Signed-off-by: Bohung-Nian <n0404.n0404@gmail.com>
2021-05-11rpi-base: make SPLASH overridable from outsidePierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-03-24tune-arm1176jzf-s.inc: Rework to match oe-coreKhem Raj
OE-core now uses -mcpu instead of mtune Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-23layer.conf: Drop gatesgarth and add honister to LAYERSERIES_COMPATKhem Raj
master can only be validated with latest WIP oe-core releases so drop gatesgrath which is now a dedicated release, soon hardknott will be out too but for master needs its fine, while hear add honister ( fall 2021 ) release too Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-09rpi-base: Add missing overlay_map.dtb and vc4-kms-v3d-pi4.dtboMike Looijmans
overlay_map.dtb arranges that when config.txt requests "vc4-kms-v3d" the rpi4 will actually load "vc4-kms-v3d-pi4" and fixups like that. It is present on the official distros, and must be put into the overlays subdirectory in the boot partition. For a detailed description of the overlay_map.dts file see: https://www.raspberrypi.org/documentation/configuration/device-tree.md#part2.2.10 vc4-kms-v3d-pi4 is required for the arm based kms driver on the rpi4. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
2021-03-02overlays: Add "vc4-kms-dsi-7inch.dtbo"Mike Looijmans
In theory, this would allow one to use the official 7-inch touchscreen in combination with the (non-firmware) kms driver by adding the following lines to config.txt: ignore_lcd=1 dtoverlay=vc4-kms-v3d dtoverlay=vc4-kms-dsi-7inch Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
2021-02-07overlays: add missing device overlaysAaron Shaw
add overlays for pi zero, bcm2710 based rpi2 and rpi b rev 1 Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io>
2021-02-07overlays: add overlays for pi 400 and cm4Aaron Shaw
add overlays for pi 400 and cm4 Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io>
2021-02-07overlays: add overlay to allow 64 bit usage with CM3Aaron Shaw
add overlay to allow 64 bit usage with CM3 Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io>
2021-02-06rpi-default-versions: Switch default kernel to 5.10Martin Jansa
* 5.10.11 is now considered stable: https://github.com/raspberrypi/firmware/blob/stable/extra/uname_string7 https://github.com/raspberrypi/firmware/commit/8572bb50bf24a9ffef949ced69776e66559f4afe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-01-21raspberrypi4-64: No need to force arm_64bit=1Paul Barker
This workaround is no longer needed with recent firmware. Signed-off-by: Paul Barker <pbarker@konsulko.com>
2021-01-21conf: Use unified u-boot config for 64-bit targetsPaul Barker
The rpi_arm64 configuration supports both Raspberry Pi 3 & 4 in 64-bit mode. Switching to this config is a small step towards supporting a unified build for these targets. Signed-off-by: Paul Barker <pbarker@konsulko.com>
2021-01-19overlays: add justboom overlaysAaron Shaw
add justboom overlays Change-type: patch Signed-off-by: Aaron Shaw <shawaj@gmail.com>
2021-01-19overlays: reorder in alphabetical orderAaron Shaw
reorder list to be in alphabetical order Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io>
2021-01-19linux-raspberrypi: Enable use of 'RPI_EXTRA_CONFIG += ...' in local.confMatt Spencer
Before this patch, use of RPI_EXTRA_CONFIG += in a local.conf would overwrite the needed 'arm_64bit=1' defined in the core recipes. The net result would be a system that did not boot. This patch fixes the assignment of 'arm_64bit=1' even if RPI_EXTRA_CONFIG has been set elsewhere. Signed-off-by: matthew@thespencers.me.uk
2021-01-12machine: use weak default for kernel and KERNEL_DEVICETREE settingsChristopher Clark
To allow other layers to easily provide a default kernel preference to use with the Raspberry Pi MACHINEs, switch to use the ??= assignment operator for setting the default kernel and the device tree value in this layer. This change is motivated by enabling Xen support in meta-virtualization to use the raspberrypi4-64 MACHINE definition from this layer with the Yocto Linux kernels. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
2020-11-27rpi-bootfiles: Rename recipe to avoid ambiguityPaul Barker
The name `bootfiles` is too generic, we should use `rpi-bootfiles` instead. Signed-off-by: Paul Barker <pbarker@konsulko.com>
2020-11-25layer.conf: Add hardknott (3.3) to acceptable releasesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-14libcamera: Enabled camera overlays define basedMadhavan Krishnan
Added imx219.dtbo file in the overlays, and added dtoverlay in /boot/config.txt define based. To enable Sony Raspberry pi camera imx219 sensor, need to set the variable RASPBERRYPI_CAMERA_V2 as 1. In future, we can add any camera overlays here to support and use them with libcamera. Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
2020-11-03layer.conf: Remove older releases from LAYERSERIES_COMPATMartin Jansa
* with gstreamer1.0-omx_1.18%.bbappend it won't even parse with dunfell and older * and since https://github.com/agherzan/meta-raspberrypi/commit/36c3c2e7ca09806da460328767565bbf872a6ad8 which renamed gstreamer1.0-omx_1.14%.bbappend to gstreamer1.0-omx_1.16%.bbappend it didn't parse with zeus and older Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-10-15layer.conf: Add gatesgarth to LAYERSERIES_COMPATKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-09rpi-default-settings: Replace default parselogs with parselogs_rpiKhem Raj
rpi kernel spits out additional errors in kernel logs which should be ignored, there is no easy way to extend parselogs testcase other than inheriting it into another testcase and use that testcase instead Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-05libcamera: Define packageconfig to enable rpi pipelineMadhavan Krishnan
libcamera middleware has supported many pipelines for video frames capturing. So defined the packageconfig, to enable the rpi pipeline and to capture frames using the rpi camera sensor. Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
2020-08-13rpi-default-versions: Switch defaults to 5.4Pierre-Jean Texier
Linux Kernel 5.4 is now considered stable. See [1] to check the current apt stable kernel. [1] - https://github.com/raspberrypi/firmware/blob/stable/extra/uname_string7 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-08-06Generalize the naming of the bootfiles deploy directoryJeff Ithier
The raspberry pi 4 variant has a BCM2711 chip, however it still uses the same boot files as the BCM2835 used in previous generations. This change generalizes the naming of the directory generated in the $DEPLOY_DIR to avoid the implication that the files are only meant for the BCM2835. Signed-off-by: Jeff Ithier <ithijme@gmail.com>
2020-07-23conf/machine/include/rpi-base.inc: Added can1 interface to bspcolin
The device tree only supports a single CAN interface. This prevents compatiblity with dual-CAN boards like the PiCAN2 Duo. The mcp2515-can1 device tree blob for overlay was added to RPI_KERNEL_DEVICETREE_OVERLAYS in order to support dual-CAN hats. Signed-off-by: Colin McAllister <colinmca242@gmail.com>
2020-07-17rpi-base: add SERIAL_CONSOLES_CHECK to default to SERIAL_CONSOLESChristopher Clark
As per the example in the bsp-guide, and the qemu and other machine configs. Assists when running virtualized, where serial console device can differ. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>