summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
* layer.conf: Define LAYERDEPENDSAndrei Gherzan2021-06-071-0/+2
| | | | | | | We should currently only depend on core - everything should be handled through dynamic layers. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* Revert "libcamera: Define packageconfig to enable rpi pipeline"Martin Jansa2020-11-091-2/+0
| | | | | | | | | | | | | | | This reverts commit a27f10b76cb1dbf089a3f0980e97f1931b090f17. This was backported to dunfell together with many other changes in: https://github.com/agherzan/meta-raspberrypi/pull/754 but 202002 version in dunfell fails with: ERROR: QA Issue: libcamera: configure was passed unrecognised options: pipelines [unknown-configure-option] 202008 version in gatesgarth is fine, it was added in March: https://git.linuxtv.org/libcamera.git/commit/meson_options.txt?id=ee7e2c93dfbf34b3500c895115c516e5e90d3e31 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rpi-default-settings: Replace default parselogs with parselogs_rpiKhem Raj2020-11-041-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>
* libcamera: Define packageconfig to enable rpi pipelineMadhavan Krishnan2020-11-041-0/+2
| | | | | | | | 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>
* layer.conf: Remove older releases from LAYERSERIES_COMPATMartin Jansa2020-11-031-1/+1
| | | | | | | | | | | | * 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 * with zeus it parses OK, but I believe people who use meta-raspberrypi from dunfell branch in zeus builds should rather ask for backports they are missing in zeus branch Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rpi-default-versions: Switch defaults to 5.4Pierre-Jean Texier2020-08-261-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-101-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-08-101-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>
* Revert "Generalize the naming of the bootfiles deploy directory"Andrei Gherzan2020-08-101-6/+2
| | | | This reverts commit a907c3261ef583f898803706cd596d372c6644cb.
* Generalize the naming of the bootfiles deploy directoryJeff Ithier2020-07-271-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>
* rpi-base: add SERIAL_CONSOLES_CHECK to default to SERIAL_CONSOLESChristopher Clark2020-07-231-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-07-141-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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-base.inc: Add infrared dtboLeon Anavi2020-06-141-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-301-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-201-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>
* raspberrypi3: Switch to vc4-fkms-v3d.Drew Moseley2020-04-202-0/+2
| | | | | | This seems to be required to have a functional DSI display. Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
* 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-081-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>
* oeqa: Add rpi specific kernel dmesg parserKhem Raj2020-03-171-0/+3
| | | | | | | | These errors are harmless on rpi3/rpi4 [1] [1] https://github.com/raspberrypi/linux/issues/3195 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: add dunfell to compat layerPierre-Jean Texier2020-03-161-1/+1
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* 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>
* raspberrypi-cm3.conf: drop KBUILD_DEFCONFIG definitionRicardo Salveti2020-01-081-1/+0
| | | | | | | KBUILD_DEFCONFIG should be defined by the kernel recipe instead, such as linux-raspberrypi. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* conf/machine: add pci to MACHINE_FEATURES for Pi4Allen Wild2020-01-072-0/+2
| | | | | | | This pulls in the pciutils package (including `lspci`) via packagegroup-base. Signed-off-by: Allen Wild <allenwild93@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>
* raspberrypi*.conf: Remove vc4 configuration as we already default to itAndrei Gherzan2019-09-163-3/+0
| | | | | | | | | As of late[1], we defaulted to enabling vc4graphics in MACHINE_FEATURES. Let's cleanup the machine configurations as per this change. [1] https://github.com/agherzan/meta-raspberrypi/pull/417 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* layer.conf: Add zeus to compatible layersKhem Raj2019-09-041-1/+1
| | | | | | zeus is codename for next 3.0 release Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi4-64: Remove the 3G RAM limitationAndrei Gherzan2019-08-151-1/+1
| | | | | | | | | The PCIe bounce buffers were ported[1] in the kernel so we can remove this limitation now. [1] https://github.com/raspberrypi/linux/pull/3144 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* layer.conf: Add meta-networking to dynamic layersKhem Raj2019-07-281-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi4-64.conf: Limit RAM to 3GAndrei Gherzan2019-07-251-1/+1
| | | | | | | | | | | | | | | The PCI controller on the Raspberry Pi 4 acts as a DMA controller and can only address the first 3Gb[1] of the memory space. On 32bit this was addressed by implementing bouncing buffers[2] but this currently has no support for arm64. In order to have working USB, as a workaround, we limit the ram to 3G. Fixes #446 [1] https://github.com/raspberrypi/linux/issues/3093 [2] https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/pci/controller/pcie-brcmstb-bounce.c Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi*: Define ARMSTUB for all machinesAndrei Gherzan2019-07-199-0/+17
| | | | 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>
* raspberrypi4-64.conf: Remove memory limitationAndrei Gherzan2019-07-181-1/+1
| | | | | | | | We can do this because the kernel now includes a workaround for the DMA issue. https://github.com/raspberrypi/linux/pull/3080 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi4.conf: The firmware uses kernel7l.img when LPAE is supportedAndrei Gherzan2019-07-161-1/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi4-64.conf: Uboot configuration and drop armstubAndrei Gherzan2019-07-161-2/+8
| | | | | | We drop armstub configuration because the new firmware includes them. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi4.conf: Define uboot defconfigAndrei Gherzan2019-07-161-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi4-64.conf: Define a machine feature for armstubsAndrei Gherzan2019-07-041-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi4-64.conf: Initial machine configurationAndrei Gherzan2019-07-041-1/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi4-64.conf: Introduce RPi arm64 machineAndrei Gherzan2019-07-041-0/+25
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi4: Use vc4-fkms-v3dAndrei Gherzan2019-06-301-0/+1
| | | | | | | | Currently, we use vc4-kms-v3d as the default overlay for VC4 but this seems to break vc4 at runtime on RPi4. Change this to vc4-fkms-v3d for now as this is the default Raspbian ons as well. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Include the "fake" KMS dtboAndrei Gherzan2019-06-301-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi4.conf: Add initial machine 32 bit configurationAndrei Gherzan2019-06-301-0/+17
| | | | 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>
* raspberrypi3.conf: Clarify machine modeAndrei Gherzan2019-06-301-2/+2
| | | | 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>
* layer.conf: Add warrior to compatible release seriesKhem Raj2019-04-051-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>