summaryrefslogtreecommitdiffstats
path: root/conf/machine/include
Commit message (Collapse)AuthorAgeFilesLines
* rpi-base: Add missing overlay_map.dtb and vc4-kms-v3d-pi4.dtboMike Looijmans2021-03-091-6/+8
| | | | | | | | | | | | | 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>
* overlays: Add "vc4-kms-dsi-7inch.dtbo"Mike Looijmans2021-03-021-0/+1
| | | | | | | | | | | | 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>
* overlays: add missing device overlaysAaron Shaw2021-02-071-0/+3
| | | | | | | add overlays for pi zero, bcm2710 based rpi2 and rpi b rev 1 Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io>
* overlays: add overlays for pi 400 and cm4Aaron Shaw2021-02-071-0/+2
| | | | | | | add overlays for pi 400 and cm4 Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io>
* rpi-default-versions: Switch default kernel to 5.10Martin Jansa2021-02-061-1/+1
| | | | | | | | * 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>
* overlays: add justboom overlaysAaron Shaw2021-01-191-0/+3
| | | | | | | add justboom overlays Change-type: patch Signed-off-by: Aaron Shaw <shawaj@gmail.com>
* overlays: reorder in alphabetical orderAaron Shaw2021-01-191-7/+7
| | | | | | | reorder list to be in alphabetical order Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io>
* machine: use weak default for kernel and KERNEL_DEVICETREE settingsChristopher Clark2021-01-122-2/+2
| | | | | | | | | | | | | 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>
* rpi-bootfiles: Rename recipe to avoid ambiguityPaul Barker2020-11-271-1/+1
| | | | | | | The name `bootfiles` is too generic, we should use `rpi-bootfiles` instead. Signed-off-by: Paul Barker <pbarker@konsulko.com>
* libcamera: Enabled camera overlays define basedMadhavan Krishnan2020-11-141-0/+1
| | | | | | | | | | | | | 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>
* rpi-default-settings: Replace default parselogs with parselogs_rpiKhem Raj2020-10-091-0/+6
| | | | | | | | 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>
* rpi-default-versions: Switch defaults to 5.4Pierre-Jean Texier2020-08-131-1/+1
| | | | | | | | | | 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>
* Generalize the naming of the bootfiles deploy directoryJeff Ithier2020-08-061-2/+6
| | | | | | | | | | 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>
* conf/machine/include/rpi-base.inc: Added can1 interface to bspcolin2020-07-231-0/+1
| | | | | | | | | 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>
* rpi-base: add SERIAL_CONSOLES_CHECK to default to SERIAL_CONSOLESChristopher Clark2020-07-171-0/+1
| | | | | | | | 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>
* rpi-base.inc: Include modules if IR is enabledLeon Anavi2020-06-241-0/+1
| | | | | | | | | | | | | 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>
* rpi-base.inc: Add infrared dtboLeon Anavi2020-06-041-0/+2
| | | | | | | Add device tree binary overlays gpio-ir-tx and gpio-ir-tx to support peripherals for sending and receiving infrared signals. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* rpi-base.inc: Include modules if I2C is enaledLeon Anavi2020-04-281-1/+3
| | | | | | | | | | | | Add kernel modules i2c-dev and i2c-bcm2708 to variable MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS if ENABLE_I2C is set to 1. This 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>
* rpi-base.inc: Add kernel modules to all imagesLeon Anavi2020-04-151-1/+1
| | | | | | | | | | | | | | Add kernel modules, including i2c-dev and i2c-bcm2708, to variable MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS. This way kernel modules will be present in all images based on packagegroup-core-boot, including the core-image-minimal image. Otherwise, if modules, are in variable MACHINE_EXTRA_RRECOMMENDS they will be added only in images based on packagegroup-base, which does not include the core-image-minimal or core-image-full-cmdline images. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* rpi-base: Drop old dtbo namesKhem Raj2020-04-081-2/+0
| | | | | | | | pi3-disable-bt is renamed to disable-bt and pi3-miniuart-bt is renamed to miniuart-bt in 2014, now with 5.4 these are not recognised anymore and miniuart-bt and disable-bt are already part of RPI_KERNEL_DEVICETREE_OVERLAYS Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-u-boot-scr: Set u-boot-default-script as providerFabio Berton2020-04-031-0/+2
| | | | | | | | | Add u-boot-default-script to the PROVIDES variable to make easier to replace boot script in another layer just by changing PREFERRED_PROVIDER_u-boot-default-script variable. Set rpi-u-boot-scr as the default provider for meta-raspberrypi. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* rpi-base.conf: add disable-bt.dtbo and miniuart-bt.dtbo overlays.Orne Brocaar2020-03-311-0/+2
| | | | | | Closes #602. Signed-off-by: Orne Brocaar <info@brocaar.com>
* rpi-base.inc: use wic.bz2 for all rpi machines by defaultPierre-Jean Texier2020-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | This change moves the default image for all rpi machines. We moved from rpi-sdimg to wic.bz2. Also enable wic.bmap image generation. From the documentation in [1], Bmaptool is a generic tool for creating the block map (bmap) for a file and copying files using the block map. The idea is that large files, like raw system image files, can be copied or flashed a lot faster and more reliably with bmaptool than with traditional tools, like "dd" or "cp". Example: $: sudo bmaptool copy <image-name>.wic.xz /dev/<your-block-device> [1] - https://github.com/intel/bmap-tools Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* gstreamer1.0-omx: let virtual/libomxil dependency to pull userlandMartin Jansa2020-01-241-0/+3
| | | | | | * and adjust VIRTUAL-RUNTIME_libomxil to pull runtime provider for libomxil Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Add support for PiTFT 2.8" with capacitive touchErik Botö2020-01-141-0/+1
| | | | | | | | 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>
* rpi-base.inc: Introduce DISABLE_VC4GRAPHICSAndrei Gherzan2019-09-161-1/+1
| | | | | | | | | | | | Since we enabled vc4graphics by default[1], there is no easy way to disable it if needed. This patch introduces a variable (DISABLE_VC4GRAPHICS) which when set to '1' will not add 'vc4graphics' to MACHINE_FEATURES forcing the old behaviour. One could use it in 'local.conf' for example. [1] https://github.com/agherzan/meta-raspberrypi/pull/417 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Enabling open-source vc4graphics driver for all RPI platformsRiyaz2019-07-181-1/+1
| | | | | | | | Vc4graphics enables drm backend on wayland Compositor (weston & westeros) Appending vc4graphics machine feature to use mesa drivers for OpenGL and V4l2 for video. Signed-off-by: Riyaz <Riyaz.l@ltts.com>
* rpi-base.inc: Include the "fake" KMS dtboAndrei Gherzan2019-06-301-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base: Rename the rpi0w dtbAndrei Gherzan2019-06-301-1/+1
| | | | | | | | | | This change is following the rename in the kernel: commit 6f91b5dbfdb62a434571a73f2dc15181963e3bea Author: Phil Elwell <phil@raspberrypi.org> Date: Tue May 28 16:36:04 2019 +0100 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Include rpi4 dtbAndrei Gherzan2019-06-301-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-versions: Switch defaults to 4.19Khem Raj2019-05-291-1/+1
| | | | | | | 4.19 is now declared stable, see https://github.com/raspberrypi/linux/issues/2931#issuecomment-494016355 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Switch default back to 4.14.yPaul Barker2019-04-241-1/+1
| | | | | | | | | | The 4.19.y kernel is not yet considered stable upstream as discussed in the following GitHub issues: https://github.com/agherzan/meta-raspberrypi/issues/410 https://github.com/raspberrypi/linux/issues/2931 Signed-off-by: Paul Barker <paul@betafive.co.uk>
* machines: Switch default kernel to 4.19Khem Raj2019-02-241-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dtbo: Remove lirc-rpi overlayKhem Raj2019-02-241-1/+0
| | | | | | kernel 4.19 does not have this overlay Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-default-providers.inc: use virtual/libgbm instead of libgbmMing Liu2018-12-181-1/+1
| | | | | | This is to be consistent with the latest OE. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Add Pican2 supportFabien Lahoudere2018-12-121-0/+1
| | | | | | | | | | | 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>
* rpi-base.inc: Add gpio-key to the device tree overlaysOtavio Salvador2018-10-311-0/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* rpi-base.inc: Sort device tree overlaysOtavio Salvador2018-10-311-5/+5
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* rpi-base.inc: Build rpi-poe dtb overlayAndrei Gherzan2018-09-111-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: Split overlays and dtbs from KERNEL_DEVICETREEAndrei Gherzan2018-07-261-10/+17
| | | | | | | This is helpful for example in the cases where the kernel doesn't provide all the dtbs in arm64 as in arm. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: update IMAGE_BOOT_FILES for change in oe-coreJonathan Haigh2018-07-201-10/+5
| | | | | | | | | | | | [Issue #285] -- https://github.com/agherzan/meta-raspberrypi/issues/285 The openembedded-core commit 1860d9d3c62e2e94cd68a809385873ffd8270b6d changed the names of DTB files in the deploy directory - they are no longer prefixed with "${KERNEL_IMAGETYPE}-". Update make_dtb_boot_files (which generates entries in IMAGE_BOOT_FILES) to take this change into account. Signed-off-by: Jonathan Haigh <jonathan.haigh@arm.com>
* rpi-base.inc: install at86rf233 overlayAnton Gerasimov2018-06-041-0/+1
| | | | | | Controlled with ENABLE_AT86RF variable Signed-off-by: Anton Gerasimov <tossel@gmail.com>
* rpi-base.inc: add dwc2 overlayPeter A. Bigot2018-05-051-0/+1
| | | | | | | | | | | | This along with some module and connman magic allows a RaspberryPi Zero Wireless to tether to a host over USB. dtoverlay=dwc2,dr_mode=peripheral modprobe g_ether connman enable gadget connman tether gadget on Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* rpi-base.inc: Add Raspberry Pi 3B+ dtbAndrei Gherzan2018-03-291-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: set default wic kickstart filePeter A. Bigot2018-03-071-0/+1
| | | | | | | While wic is not a standard image, adding it to IMAGE_FSTYPES in local.conf will fail unless a WKS_FILE is provided. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* linux-raspberrypi: Change default version to 4.14.yPaul Barker2018-02-281-1/+1
| | | | | | | This matches the change made in the upstream firmware repository earlier in February. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Fix do_image_rpi_sdimg/do_image_wic dependenciesPaul Barker2018-02-281-0/+2
| | | | | | | | | | | | | | | | | | | | | The dependency resolution code in bitbake has recently been optimized and this seems to have slightly changed the behaviour of do_image_rpi_sdimg and do_image_wic. We ensure that the main build artifacts are present by depending on the relevant do_deploy and do_populate_sysroot tasks. However, we need to ensure that other build tasks for these dependencies have also been executed before we try to create our image. This can be achieved by adding a recursive dependency on do_build, so that the do_build tasks of all recipes in the dependency chain of do_image_rpi_sdimg/do_image_wic are executed before the image function itself is executed. The original issue seen here was that 'recipedata' files were not copied to 'tmp/deploy/licenses' as do_populate_lic for each dependency had not been ran before the image creation function. The write_deploy_manifest function from license.bbclass (listed in IMAGE_POSTPROCESS_COMMAND) therefore failed. Adding the recursive dependency on do_build fixes this issue, ensuring do_populate_lic runs before do_image_rpi_sdimg/do_image_wic. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-base.inc: Include udev-rules-rpi in MACHINE_EXTRA_RRECOMMENDSAndrei Gherzan2018-01-261-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: use $KERNEL_PACKAGE_NAME for the kernel package nameRicardo Salveti2018-01-111-1/+1
| | | | | | | | | | The kernel class is now using $KERNEL_PACKAGE_NAME to set the default kernel package name in order to allow alternate kernel flavors. This fixes the following bitbake warning: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base (${KERNEL_PACKAGE_NAME}-image) replaces original key RDEPENDS_kernel-base (). Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* rpi-base.inc: Fix KERNEL_IMAGETYPE assignmentPaul Barker2017-11-271-1/+3
| | | | | | | | | | We can't just override KERNEL_IMAGETYPE in machine-specific conf files without breaking the implementation of RPI_USE_U_BOOT. Instead we need to define a new KERNEL_IMAGETYPE_DIRECT variable which will control the value when u-boot is not in use. This new variable may then be overridden as needed without breaking our u-boot support. Signed-off-by: Paul Barker <pbarker@toganlabs.com>