summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-firmware-rpidistro: Added firmware for BCM43456Aaron Shaw2021-03-161-3/+16
| | | | | | | | The new Raspberry Pi 400 (and perhaps the CM4 as well) use the BCM43456 chip from Broadcom/Synaptics. This adds the necessary firmware. Signed-off-by: Aaron Shaw <aaron@balena.io> (cherry picked from commit f82376c44432c55772941e46224f43edd1cbf2fc) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* libglu: Fix build with userland graphicsKhem Raj2021-03-161-0/+3
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 1ae52a743c077565e5d4e2f49ede90bbdff45fbf) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* userland: Fix weston build with userland graphicsKhem Raj2021-03-162-0/+39
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 80bcc2e0edd65cc3ff4958a973f3d27cf239bb46) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-firmware-rpidistro: Missing link to firmware causes wifi not working ↵Tobias Off2021-03-161-0/+1
| | | | | | | | | | | on raspberrypi zero w The link the brcmfmac is looking for was not created by the recipe for the raspberrypi zero w, so the wifi was not working for this board. Adding link creation in the recipe solved the issue. Signed-off-by: Tobias Off <sebastianoff@web.de> (cherry picked from commit 8e35fbffb086728699667b3572ddf30d90ffdb5f) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* mesa-gl: Enable swrast dri backend for rpi/userlandKhem Raj2021-03-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | After mesa switched build system to meson, the logic to generate dri related artifacts changed too, which means when no dri backend is enabled then dri drivers and corresponding headers dont get generated and hence we end up with missing pkgconfig files e.g. dri.pc which usually will come from full mesa3d package, but in rpi when userland is used we only build GL pieces of mesa. This patch therefore enables swrast dri backend when using userland, which gives us the needed header and .pc files to build packages like Xorg server, since EGL driver will come from userland, the dri backend would be unused and hence should not be effective at runtime. Addresses issue report with https://github.com/agherzan/meta-raspberrypi/pull/773 there is no need to check for graphics stack since mesa-gl is only used with userland graphics Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Trevor Woerner <twoerner@gmail.com> (cherry picked from commit 6c1c9ff4ee743cd90c4107e05be136dd4cb2dee6) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* userland: add knob for ALL_APPSTrevor Woerner2021-03-163-0/+62
| | | | | | | | | The userland sources include a bunch of sample applications. Add an "allapps" PACKAGECONFIG to allow the user to build the additional optional applications. Signed-off-by: Trevor Woerner <twoerner@gmail.com> (cherry picked from commit 3a1fec22c0e0cf389e8ff70ebb310f1f3c282a29) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi-dev: Update for testing v5.10.yPaul Barker2021-03-161-7/+15
| | | | | | | | | | Linux 5.10 series will be the next LTS kernel so it's likely to be the new stable branch for linux-raspberrypi within a couple of months. Let's get set up to test it now. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit 7a6759e2424cecf57dbc7d891e89a70639faf3a8) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: Merge v5.4 recipe & inc filePaul Barker2021-03-162-20/+15
| | | | | | | | | | There is no need for a separate inc file for the v5.4 kernel recipe. Variable assignments are simplified where possible after merging. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit 8c5809ebbb9020ac5867d25a05120a87b9da5e2c) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: Drop unused rpi-kernel-misc config fragmentPaul Barker2021-03-163-3/+0
| | | | | | | | | This config fragment was unconditionally disabled for the v5.4 kernel so it can be dropped. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit 64f6a1b7cc6526a49b180ebc632520bbaad195bd) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: Remove obsolete kernel versionsPaul Barker2021-03-168-205/+0
| | | | | | Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit 2afeee9b82f670b8a3d24a66d31381131555b5d4) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* rpi-bootfiles: Rename recipe to avoid ambiguityPaul Barker2021-03-163-5/+2
| | | | | | | | | The name `bootfiles` is too generic, we should use `rpi-bootfiles` instead. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit ba3a417fbbccb5f6af9ac036eac97c87dcf4c1b7) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* bootfiles: Use BOOTFILES_DIR_NAME variablePaul Barker2021-03-161-6/+6
| | | | | | | | | | | This variable is set in rpi-base.inc and referenced by other recipes which need to know the location of the bootfiles. If this is overridden for any reason we need to ensure that the bootfiles recipe deploys to the correct path. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit b8440b3d26fc0b59acd48ed6f3e39e00cd867f6c) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* rpi-cmdline: Move cmdline.txt generation to a separate recipePaul Barker2021-03-163-30/+51
| | | | | | | | | | | | | | | | | Instead of generating cmdline.txt in the kernel recipe, it is generated in a standalone recipe and pulled in as a dependency of the bootfiles recipe. This simplifies the process of using a linux-yocto, linux-mainline or similiar kernel recipe instead of linux-raspberrypi. In the rpi-cmdline recipe the command line is built from fragments which can all be easily overridden. The variables `SERIAL` and `CMA` are renamed to `CMDLINE_SERIAL` and `CMDLINE_CMA` for consistency. The cmdline.txt file is created in the do_compile step to allow further customisation via do_compile_append if needed. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit 8827040d9c218f68ae3ee6a5814929888ed61581) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* sdcard_image-rpi: Drop redundant dependency on rpi-config:do_deployPaul Barker2021-03-161-1/+0
| | | | | | | | | | The bootfiles:do_deploy task already depends on rpi-config:do_deploy so we do not explicitly need to list the dependency again in the sdcard_image-rpi class. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit ba6a809a55514a10717bf7b371a63dae440f2cd9) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: Convert dynamic config patching to config fragmentsPaul Barker2021-03-163-76/+14
| | | | | | | | | | | | This allows us to drop all of the custom config patching in linux-raspberrypi.inc. It also allows the kernel config to be checked during the build for any discrepancies between the selected config options and the resulting .config file - this identified that `CONFIG_DRM_VC4` depends on `CONFIG_SND` and `CONFIG_SND_SOC`. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit 1c8ad80861f4882eb31c00e27dcc97b3cb786913) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* rpi-u-boot-scr: drop hard-coded 'arm'Ming Liu2021-03-161-2/+2
| | | | | | | | | Let's inherit kernel-arch and use ${UBOOT_ARCH} to replace the hard-coded 'arm'. Signed-off-by: Ming Liu <liu.ming50@gmail.com> (cherry picked from commit 26a888d669b2d73c251c9107bd7e9871751a1ab6) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* packagegroup-rpi-test: Add python3-sense-hat in a meta-python specific bbappendKhem Raj2021-03-162-1/+4
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 25d1eb4146f90526c7511cd40d97b24ad0e02a25) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* armstubs: Always use gcc compilerKhem Raj2021-03-161-0/+2
| | | | | | | | | | | | | | it uses assembly files .S which needs to be processed with gcc alone until they are made portable use gcc Fixes | armstub7.S:175:2: error: instruction requires: thumb | cbz r6, 9f @ Skip this section if we are core 0 | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 5db97b41a84296d4bbc8fd7ffc228124af774cf1) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* raspberrypi-tools: Update to latest on masterKhem Raj2021-03-161-3/+3
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit dcdd0e4a20d8eb87e03ac492dbf308c34bef92e4) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* userland: Upgrade to latest as of 20201027Khem Raj2021-03-1622-124/+55
| | | | | | | | refresh patches Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit fd83102af7b0a2ff2de33a2e71bdfbd87335d79b) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* raspberrypi-firmware: Update to latest to take 5.4.79 prebuiltsKhem Raj2021-03-161-3/+3
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 6a53db2fb689d372c6acbb429f1a2211eca40aa5) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi_5.4.bb: Update to 5.4.79Khem Raj2021-03-161-2/+2
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 07a4d28f1dac9e63e9207b30b0ef28d7d13752f9) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* python3-sense-hat: Move to dynamic-layersKhem Raj2021-03-161-0/+0
| | | | | | | | | | Only active when meta-python is in layermix, this recipe rdeps on python3-pillow, which comes from meta-python, until that moves to oe-core lets hide this recipe unless meta-python is used Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 08d27cd7997867de69548d04f29d1d2d493791f3) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* python3-sense-hat: Switch to using pillow instead of imaging moduleJan-Simon Moeller2021-03-161-1/+1
| | | | | | | | | while meta-python does rprovide python3-imaging via python3-pillow, its better to not rely on that bridge, since this might disappear in future Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 07fc972c60b50ebafe7b31f2c47d3d4a81d78933) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: Do not use += with appendKhem Raj2021-03-161-1/+1
| | | | | | | | | append operator and += when used together results in undefined behaviour in bitbake Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 2e0b2d41cf5b2186bc534a9d9f55a62c952ea236) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* libcamera: Enabled camera overlays define basedMadhavan Krishnan2021-03-164-1/+23
| | | | | | | | | | | | | | | 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> (cherry picked from commit b70c7b9021e37ec765f4db9aac0e0e76f617cbac) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* userland: Apply format-overflow warning patch for gcc aloneKhem Raj2020-10-211-0/+3
| | | | | | | This warning is gcc specific and causes build failures when building with clang, lets therefore remove it when build is using clang compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* u-boot: Fix booting raspberrypi CM3 moduleMarek Belisko2020-10-212-0/+54
| | | | | | | | | With stock u-boot v2020.01 which we use from poky CM3 module won't boot. We need to apply this patch in order to have platform again working. Add it only for cm3 to not break anything else. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
* linux-raspberrypi: Fix build regression from last updateKhem Raj2020-10-202-69/+0
| | | | | | | | | | | This patch is now backported into 5.4 stable commit bc79abf4afea97d5ce682aa2bd1095fb74400916 so it should have been deleted, otherwise its causing build/patch failures now as expected Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: bump to Linux version 5.4.72Eino Juhani Oltedal2020-10-201-2/+2
| | | | | | Fixes: "Bleeding Tooth" Bluetooth Vulnerability. Signed-off-by: Eino Juhani Oltedal <einoju@gmail.com>
* layer.conf: Add gatesgarth to LAYERSERIES_COMPATKhem Raj2020-10-151-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Only deploy cmdline.txt for the main kernelAlex Gonzalez2020-10-121-6/+8
| | | | | | | When multiple kernels are being built, not all of them can deploy the same file. Signed-off-by: Alex Gonzalez <alexg@balena.io>
* python3-rtimu: don't use trailing slash in SMartin Jansa2020-10-111-1/+1
| | | | | | | | * see oe-core base.bbclass changes from: https://lists.openembedded.org/g/openembedded-core/message/143159 https://lists.openembedded.org/g/openembedded-core/message/143161 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi-5.4: bump SRCREV to fix raspberrypi3-64 buildsMartin Jansa2020-10-091-1/+1
| | | | | | | * fixes: https://github.com/raspberrypi/linux/issues/3885 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 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>
* oeqa: Add 5.4 specific error messages to ignore listKhem Raj2020-10-091-0/+3
| | | | | | | | | | with 5.4 fd580000.genet has been replaced with fd580000.ethernet in the error text Fixes https://github.com/raspberrypi/linux/issues/3884 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi-tools: Update to latest snapshot as of 20200803Khem Raj2020-10-051-4/+4
| | | | | | Use date in PV, makes is good candidate for always increasing PV Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi-firmware: Update to 20201002 snapshotKhem Raj2020-10-051-3/+3
| | | | | | | | | Brings in fixes for errors seen in kernel boot log e.g. https://github.com/raspberrypi/linux/issues/3878 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_5.4.bb: Update to 5.4.69Khem Raj2020-10-051-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Define packageconfig to enable rpi pipelineMadhavan Krishnan2020-10-052-0/+4
| | | | | | | | 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>
* linux-raspberrypi_5.4.bb: Add kernel-cache sourceMurat Kilivan2020-10-052-2/+6
| | | | | | | Fixes the following error: ERROR. input file "cfg/virtio.scc" does not exist Signed-off-by: Murat Kilivan <murat.kilivan@gmail.com>
* linux-firmware-rpidistro: Update to 20190114-1+rpt8Khem Raj2020-10-051-2/+7
| | | | | | | | | | | | | | * Update brcmfmac43455-sdio.bin to 7.45.206 * Add BCM43456 firmware - brcm/brcmfmac43456-sdio.bin 7.84.17.1 - brcm/brcmfmac43456-sdio.clm_blob - brcm/brcmfmac43456-sdio.txt * Add compatibility links for direct firmware download to work properly Fixes brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "linux-raspberrypi-5.4: revert 1 commit from upstream to fix ↵Martin Jansa2020-09-182-195/+0
| | | | | | | | | | | | | lttng-modules build" This reverts commit d1257fc1272c9dee76d79a74abc2bdeb7f5a7036. Now lttng-modules in oe-core were updated in: https://git.openembedded.org/openembedded-core/commit/?id=62c87d1a68c4f7c8f30c3c5330dcda9cbcbbbaa7 and the backported patch: https://git.openembedded.org/openembedded-core/diff/meta/recipes-kernel/lttng/lttng-modules/0009-fix-version-ranges-for-ext4_discard_preallocations-a.patch?id=62c87d1a68c4f7c8f30c3c5330dcda9cbcbbbaa7 now expects new writeback_queue_io API being available in LTTNG_KERNEL_RANGE(5,4,62, 5,5,0) so we need to re-enable it.
* Revert "mesa: querying dma_buf modifiers for specific formats"Luis Alfredo da Silva2020-09-172-47/+0
| | | | | | | | This reverts commit 84cb8538cd22586fc82daba38458909cedfec2db. Fixes: - https://gitlab.gnome.org/GNOME/mutter/-/issues/1421 - #711
* raspberrypi-{firmware,tools}: set downloadfilenameMartin Jansa2020-09-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * otherwise we end with big archives in downloads directory without clear indication from where they came * e.g. in one of my jenkins builds I've noticed: -rw-rw-r-- 1 jenkins jenkins 178M Jun 30 15:45 downloads/23548e550a757d368d3d5220373fe829b5961c42.tar.gz -rw-rw-r-- 1 jenkins jenkins 152M Sep 5 2019 downloads/7163480fff007dc98978899b556dcf06f8a462c8.tar.gz -rw-rw-r-- 1 jenkins jenkins 179M Jul 23 01:34 downloads/7e74bcb4f9706f36f752d1c3d3164628ccf2aae5.tar.gz -rw-rw-r-- 1 jenkins jenkins 178M Jun 5 12:34 downloads/7eff9f6774bb43bfd61e749a0b45ffddc98c2311.tar.gz -rw-rw-r-- 1 jenkins jenkins 177M Apr 23 14:49 downloads/84523e0b9a9e78aa69fca1f1a8d75b2bdb5155fc.tar.gz -rw-rw-r-- 1 jenkins jenkins 178M Jan 13 2020 downloads/9d6be5b07e81bdfb9c4b9a560e90fbc7477fdc6e.tar.gz -rw-rw-r-- 1 jenkins jenkins 463 Jul 1 03:58 downloads/23548e550a757d368d3d5220373fe829b5961c42.tar.gz.done -rw-rw-r-- 1 jenkins jenkins 141 Jan 16 2020 downloads/7163480fff007dc98978899b556dcf06f8a462c8.tar.gz.done -rw-rw-r-- 1 jenkins jenkins 463 Aug 1 15:40 downloads/7e74bcb4f9706f36f752d1c3d3164628ccf2aae5.tar.gz.done -rw-rw-r-- 1 jenkins jenkins 463 Jun 6 09:54 downloads/7eff9f6774bb43bfd61e749a0b45ffddc98c2311.tar.gz.done -rw-rw-r-- 1 jenkins jenkins 463 May 16 03:35 downloads/84523e0b9a9e78aa69fca1f1a8d75b2bdb5155fc.tar.gz.done -rw-rw-r-- 2 jenkins jenkins 141 Aug 7 22:10 downloads/9d6be5b07e81bdfb9c4b9a560e90fbc7477fdc6e.tar.gz.done * unfortunately using git fetcher is still problematic because of git repo size: 15G firmware 1,6G tools -rw-rw-r-- 1 jenkins jenkins 180M Sep 17 13:59 downloads/raspberrypi-firmware-a490197f0672d948860b2b807884ae65eabc4d4f.tar.gz -rw-rw-r-- 1 jenkins jenkins 463 Sep 17 14:09 downloads/raspberrypi-firmware-a490197f0672d948860b2b807884ae65eabc4d4f.tar.gz.done -rw-rw-r-- 1 jenkins jenkins 324M Sep 17 14:10 downloads/raspberrypi-tools-b0c869bc929587a7e1d20a98e2dc828a24ca396a.tar.gz -rw-rw-r-- 1 jenkins jenkins 463 Sep 17 14:10 downloads/raspberrypi-tools-b0c869bc929587a7e1d20a98e2dc828a24ca396a.tar.gz.done Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi-5.4: revert 1 commit from upstream to fix lttng-modules buildMartin Jansa2020-09-142-0/+195
| | | | | | | * fixes: lttng-modules/2.12.2-r0/lttng-modules-2.12.2/probes/../probes/lttng-tracepoint-event-impl.h:131:6: error: conflicting types for 'trace_writeback_queue_io' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi: bump to Linux version 5.4.64Pierre-Jean Texier2020-09-121-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* raspberrypi-firmware: update to current HEADPierre-Jean Texier2020-09-121-3/+3
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* docs: Correct minor spelling issuesAndrzej Bednarski2020-09-111-4/+4
| | | | | | Correct spelling issues in the 'extra-build-config.md' file. Signed-off-by: Andrzej Bednarski <andrzej.bednarski@gmail.com>
* README: Mention Yoe distro in supported distro listKhem Raj2020-09-031-1/+1
| | | | | | | | Remove angstrom as it is no longer uptodate Fixes Issue #563 Signed-off-by: Khem Raj <raj.khem@gmail.com>