aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/bootfiles/rpi-config_git.bb
AgeCommit message (Collapse)Author
2024-01-26rpi-config: Add CAN0_INTERRUPT_PIN and CAN1_INTERRUPT_PIN variableDamiano Ferrari
Current configuration hard-code the values of the CAN interrupt pins. This setting allows to change them. The default values are the same as before. Signed-off-by: Damiano Ferrari <damiano.ferrari@ferrarigrowtech.com>
2024-01-25rpi-config: Reduce config.txt sizeLeon Anavi
Remove some comments to reduce config.txt file size to avoid file corruption and make sure Raspberry Pi 5 will boot successfully. The issue with large config.txt has been reported to related projects: https://github.com/raspberrypi/firmware/issues/1848 https://github.com/Evilpaul/RPi-config/issues/9 This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2023-11-24rpi-config: reintroduce start_xLeon Anavi
Add a patch to reintroduce configuration start_x. This patch has been submitted to the upstream of of the RPi-config GitHub repo: https://github.com/Evilpaul/RPi-config/pull/8 This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2023-11-17rpi-config: Upgrade to tip of treeLeon Anavi
Upgrade to the latest version of the repository with includes the following improvements of the template for config.txt: - update revision and date stamp - additon of dtoverlay - general updates This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2023-06-09rpi-config: U-Boot requires "enable_uart=1" to operate correctly.DOLE Olivier
When RPI_USE_U_BOOT is set to 1, if enable_uart is not set to 1 in config.txt then the board won't boot (Resolves agherzan#1189). This requirement only affects the following boards: - Raspberry Pi Zero W - Raspberry Pi 3 32 & 64 bit - Raspberry Pi 4 32 & 64 bit Signed-off-by: DOLE Olivier <odole@dicksondata.fr>
2023-04-17recipe-bsp: Add support for Raspberry Pi Camera Module v3Jesse Visser
Signed-off-by: Jesse Visser <jssvssr2000@gmail.com>
2022-05-03rpi-config: Add option to enable One-wire interfaceKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.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-11-17rpi-config: don't trigger bbfatal for empty ENABLE_UARTMartin Jansa
Fixes https://github.com/agherzan/meta-raspberrypi/pull/941 not to show fatal error for default configuration with ENABLE_UART being empty. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-11-14rpi-config: Take into consideration ENABLE_UART value of 0Andrei Gherzan
Also, validate if the value of it is not 0 or 1. Fixes: https://github.com/agherzan/meta-raspberrypi/issues/567 Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2021-11-07recipes: Update SRC_URI protocols for githubMarcel Hamer
Use protocols=https for GitHub SRC_URIs using the conversion script in openembedded-core. Signed-off-by: Marcel Hamer <marcel@solidxs.se>
2021-10-14rpi-config: warn on config.txt lines exceeding 80 bytesZygmunt Krynicki
The Raspberry Pi firmware does not support lines exceeding 80 bytes. This is documented at https://www.raspberrypi.com/documentation/computers/config_txt.html#file-format It seems that comments can be longer but it's still best to avoid this problem instead of debug it. Detect the situation in do_deploy_append and bbwarn if the limit is exceeded. Connected to #917 Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
2021-09-24rpi-cmdline: Support ethernet over USBAndrew Penner
Support ethernet over USB via config.txt and cmdline.txt Signed-off-by: Andrew Penner <andrew.penner@protonmail.com>
2021-08-11rpi-config: Allow setting hdmi_cvtOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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-19recipes-bsp: Add support for Raspberry Pi HD quality camerasss22213
Signed-off-by: Bohung-Nian <n0404.n0404@gmail.com>
2021-05-18rpi-config: comment updatedSCVready
Updated the comment that indicates there is a possible file limitation in config.txt affecting certain variables, at least the "start_x" var. This issue was originally discussed and fixed in: https://github.com/agherzan/meta-raspberrypi/pull/678 and this commit updates the comment added with the new info gathered from: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=298129 and from a similar issue: https://github.com/raspberrypi/firmware/issues/1012 Signed-off-by: SCVready <alejandro.solozabal@outlook.com>
2021-02-04rpi-config: Add support for CM4 host USBAurelian Zanoschi
By default in case of CM4 IO board, the USB ports (header + built-in) are disabled. In order to enable them the DWC2 mode needs to be set to host. Signed-off-by: Aurelian Zanoschi <aurelian17@gmail.com>
2021-01-18rpi-config: use CONFIG shell variableMartin Jansa
* instead of repeating //config.txt so many times, to make it a bit less error prone (as shown in previous commit) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-01-18rpi-config: fix do_deployMartin Jansa
* in https://github.com/agherzan/meta-raspberrypi/pull/678 this line was acidentally changed from "${BOOTFILES_DIR_NAME}" to "bcm2835-bootfiles", causing do_deploy to fail finding config.txt Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-01-12rpi-config: Relocated "start_x=1" in config.txtSCVready
It seems like "start_x=1" needs to be earlier in the file to work properly on the Rapberry Pi 4 B. Fixes: #670 Signed-off-by: SCVready <alejandro.solozabal@outlook.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-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-29rpi-config: Add CAN_OSCILLATOR variable to set mcp2515 crystal frequencyJakub Luzny
Current configuration (16MHz) is made for the PiCAN2 board that uses 16MHz crystal. This setting allows for use of Waveshare RS485 CAN HAT that has 8MHz crystal soldered (although according to Waveshare there is also a 12MHz crystal version of the board). Signed-off-by: Jakub Luzny <jakub@luzny.cz>
2020-07-23rpi-config_git: Added ENABLE_DUAL_CAN build configurationcolin
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-06-24rpi-config: Add ENABLE_IR variable for infraredLeon Anavi
Users who want infrared device tree overlays gpio-ir and gpio-ir-tx to be set in config.txt can now easily do it through variable ENABLE_IR, for example in local.conf: ENABLE_IR = "1" By default the GPIO pin for gpio-ir is set to 18 and the pin for gpio-ir-tx is 17. Both pins can be easily changed by modifying variables GPIO_IR and GPIO_IR_TX (for example in local.conf). Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-01-14Add support for PiTFT 2.8" with capacitive touchErik Botö
Add support for the Adafruit PiTFT Plus 320x240 2.8" TFT with Capacitive Touchscreen, using the same patterns used for the other versions of the PiTFT screens. Signed-off-by: Erik Botö <erik.boto@gmail.com>
2019-07-19rpi-config: Check for armstub based on machine featureAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-18rpi-config: Check some config values against "1"Carton
When we read the docs, we have the feelings that theses variables are boolean ones. So I was setting, for example in my distro.conf file the variable ' ENABLE_I2C = "1" ' to enable I2C. Then I wanted to disable it by simply setting 'ENABLE_I2C' to "0" but it wasn't working. So I noticed that, for example, ' ENABLE_UART ' was checked with ' = "1" ' condition and some other "boolean" was checked against ' -n ' like for ENABLE_I2C. This commit tries to have an uniform behavior for all variables that are shown in the doc under the format ' VARIABLE = "1" ' to enable them and the reader can think they are kind of 'boolean' values. Signed-off-by: Joël Carron <joel.carron@eeproperty.ch>
2019-07-04rpi-config: Handle ARMSTUBAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-02-15rpi-config: used printf to escape properlymemox_5
Used printf command because on some systems bash doesn't escape sequences consistently. Signed-off-by: memox5 <memox_5@yahoo.com>
2018-12-12Add Pican2 supportFabien Lahoudere
In order to make Pican 2 work, we : - add mcp2515.dto to the overlay list - add a variable to enable it in local.conf - create a udev rule to mount interface http://skpang.co.uk/catalog/pican2-canbus-board-for-raspberry-pi-23-p-1475.html Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
2018-11-07machines: Drop VC4_CMA_SIZEKhem Raj
setting cma is not required with latest vc4 driver Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-04rpi-config: Use vc4-kms-v3d for raspberrypi3-64 as wellKhem Raj
vc4-fkms-v3d needs dispmanx, its DRM VC4 V3D driver on top of the dispmanx display stack, this does not work with 4.14 kernel and since we always use vc4graphics on 64bit, just keep using vc4-kms-v3d dtbo which should enable right graphics Tested with core-image-sato, running glxgears with 55.5fps in raspberrypi3-64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27meta-raspberrypi: use generic licenses in ${COMMON_LICENSE_DIR} from PokyHugo Hromic
Keep consistency with current practices. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-06-04rpi-config: load at86rf233 overlayAnton Gerasimov
Controlled with ENABLED_AT86RF variable Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2018-05-14rpi-config: remove explicit device tree selection for raspberrypi3-64Peter A. Bigot
The current firmware doesn't need this. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-05-07config_git.bb: Remove extra spaceEduardo Abinader
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
2018-05-05rpi-config: add helper to enable dwc2 peripheral supportPeter A. Bigot
Document and add support to easily enable USB gadget mode. Also fix a spelling error. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-04-23Drop unnecessary dependencies and tasksPaul Barker
We have a few recipes which only deploy files that go into the boot partition and do not create packages to be installed into the rootfs. These recipes don't need to run the usual packaging tasks so we can drop them to speed up the build a little. We also have a bunch of recipes that don't need the usual toolchain as they just copy files or invoke native commands like `mkimage`. So to speed up the build a little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency on the toolchain. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2018-04-20rpi-config: support more commonly used config variables and update documentationHugo Hromic
Added support for and documented the following new extra build options: * gpu_freq overclocking option * disable boot rainbow splash screen * configure the boot delay after GPU firmware loading * configure common HDMI and composite video options Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-01-29rpi-config: fix config variables with the same initial name being overwrittenHugo Hromic
2018-01-11rpi-config: allow VC4DTBO override on raspberrypi3-64Ricardo Salveti
Allow user to replace VC4DTBO (e.g. vc4-kms-v3d) on raspberrypi3-64. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
2017-12-18rpi-config: Add RPI_EXTRA_CONFIG optionPaul Barker
The variable RPI_EXTRA_CONFIG can be set in local.conf to append text to the Raspberry Pi config.txt file as described in the documentation. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-10-09rpi-config: Do not force HDMI mode for raspberrypi3-64Paul Barker
Forcing hdmi_drive=2 prevents the use of a DVI monitor and a HDMI-DVI converter cable. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-20raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64Khem Raj
Use correct overlay for enabled vc4 accelaration This enable 3D accelaration over dispmanx on vc4/rpi64 Enable audio over HDMI Disable overscan to avoid graphics glitches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-07-27recipe: anchor regexps in COMPATIBLE_MACHINEMartin Jansa
* bitbake is using re.match, so raspberrypi actually matches with anything ^raspberrypi.* which currently works, but it will also match with hypothetical raspberrypi-is-no-more-this-is-banana-now MACHINE which isn't intended by this COMPATIBLE_MACHINE. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-17pitft: Include a pitft35r MACHINE_FEATURERob Woolley
This MACHINE_FEATURE will automatically add the recommended Adafruit configuration line to the Raspberry Pi config.txt. Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
2017-04-05rpi-config: fix invalid shell variable nameAndrea Galbusera
Commit da32aac introduced an invalid shell variable name in do_deploy(): according to bash manpage variable names cannot contain dots. Replace dot with underscore to fix it. Signed-off-by: Andrea Galbusera <gizero@gmail.com>