aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-07-06linux-firmware-rpidistro: fix wifi driver loading on cm4dunfellOmer Akram
Signed-off-by: Omer Akram <omer@thing.com>
2021-11-19linux-firmware-rpidistro: Use buster branch instead of masterPavel Zhukov
Master branch has been renamed to buster. This change is dunfell-specific because master follows bullseye which diverted from ex-master quite a lot. Related: https://github.com/RPi-Distro/firmware-nonfree/issues/20 Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
2021-11-0999-com.rules: fix error invalid substitution typeChangqing Li
fix below error: /etc/udev/rules.d/99-com.rules:10 Invalid value "/bin/sh -c 'ALIASES=/proc/device-tree/aliases; if cmp -s $ALIASES/uart0 $ALIASES/serial0; then echo 0;elif cmp -s $ALIASES/uart0 $ALIASES/serial1; then echo 1; else exit 1; fi'" for PROGRAM (char 58: invalid substitution type) Signed-off-by: Changqing Li <changqing.li@windriver.com> (cherry picked from commit fb253346c2fe85f8fdd49e5a66dff04d8f2bd53e) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
2021-11-09recipes: 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> Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2021-07-15Update raspberrypi firmware to 20210527Omer Akram
Signed-off-by: Omer Akram <omer@thing.com>
2021-06-08libva: Fix for when using `userland`matt-hammond-bbc
https://github.com/agherzan/meta-raspberrypi/issues/842 Fixes failing build of libva when using `userland` recipe. Same as: https://github.com/agherzan/meta-raspberrypi/commit/ac16b0e9d713bcc4ee0e976259064d1a318a5aac Signed-off-by: Matt Hammond <matt.hammond@bbc.co.uk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-07linux-raspberrypi-dev: use static SRCREV when not selected with ↵Martin Jansa
PREFERRED_PROVIDER_virtual/kernel * the anonymous python function was supposed to prevent AUTOREV being parsed when not selected, but that doesn't work, use the same trick with static SRCREV as linux-yocto-dev is using: https://git.openembedded.org/openembedded-core/commit/?id=5e8cf6e568ab90365894478a272b5c28dc941031 * Use LINUX_RPI_KMETA_BRANCH yocto-5.10 instead of master, because that's where static SRCREV_meta is contained. * fixes "git ls-remote git://git.yoctoproject.org/yocto-kernel-cache" being called to resolve AUTOREV in SRCPV even when PREFERRED_PROVIDER_virtual/kernel is set to linux-raspberrypi not linux-raspberrypi-dev. * I've noticed this in a build which was stuck in parsing for 15 minutes before the connection timeout: Loaded 0 entries from dependency cache. Parsing recipes...ERROR: ExpansionError during parsing /jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb Traceback (most recent call last): File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/__init__.py", line 1172, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7f8422a6ef60>, d=<bb.data_smart.DataSmart object at 0x7f8422b25a20>, name='meta'): if srcrev == "AUTOINC": > srcrev = ud.method.latest_revision(ud, d, name) File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/__init__.py", line 1581, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7f8422a6ef60>, d=<bb.data_smart.DataSmart object at 0x7f8422b25a20>, name='meta'): except KeyError: > revs[key] = rev = self._latest_revision(ud, d, name) return rev File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/git.py", line 694, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7f8422a6ef60>, d=<bb.data_smart.DataSmart object at 0x7f8422b25a20>, name='meta'): """ > output = self._lsremote(ud, d, "") # Tags of the form ^{} may not work, need to fallback to other form File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/git.py", line 683, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7f8422a6ef60>, d=<bb.data_smart.DataSmart object at 0x7f8422b25a20>, search=''): bb.fetch2.check_network_access(d, cmd, repourl) > output = runfetchcmd(cmd, d, True) if not output: File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/__init__.py", line 889, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export PATH="/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/meta-webosose/meta-webos/scripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/openembedded-core/scripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-webos-linux-gnueabi:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/hosttools"; export HOME="/home/jenkins"; git -c core.fsyncobjectfiles=0 ls-remote git://git.yoctoproject.org/yocto-kernel-cache ', d=<bb.data_smart.DataSmart object at 0x7f8422b58e80>, quiet=True, cleanup=[], log=None, workdir=None): > raise FetchError(error_message) bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/meta-webosose/meta-webos/scripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/openembedded-core/scripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-webos-linux-gnueabi:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/hosttools"; export HOME="/home/jenkins"; git -c core.fsyncobjectfiles=0 ls-remote git://git.yoctoproject.org/yocto-kernel-cache failed with exit code 128, output: fatal: read error: Connection timed out * it's easily reproducible locally by adding git.yoctoproject.org to /etc/hosts (e.g. in this case 127.0.1.1), then it refuses the connection immediately instead of getting stuck waiting for timeout: oe-core$ bitbake -k linux-raspberrypi Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. ERROR: ExpansionError during parsing /OE/build/oe-core/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb | ETA: 0:00:14 Traceback (most recent call last): File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 1172, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7ff35e059430>, d=<bb.data_smart.DataSmart object at 0x7ff35dfd7760>, name='meta'): if srcrev == "AUTOINC": > srcrev = ud.method.latest_revision(ud, d, name) File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 1581, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7ff35e059430>, d=<bb.data_smart.DataSmart object at 0x7ff35dfd7760>, name='meta'): except KeyError: > revs[key] = rev = self._latest_revision(ud, d, name) return rev File "/OE/bitbake/lib/bb/fetch2/git.py", line 694, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7ff35e059430>, d=<bb.data_smart.DataSmart object at 0x7ff35dfd7760>, name='meta'): """ > output = self._lsremote(ud, d, "") # Tags of the form ^{} may not work, need to fallback to other form File "/OE/bitbake/lib/bb/fetch2/git.py", line 683, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7ff35e059430>, d=<bb.data_smart.DataSmart object at 0x7ff35dfd7760>, search=''): bb.fetch2.check_network_access(d, cmd, repourl) > output = runfetchcmd(cmd, d, True) if not output: File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 889, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/home/martin"; git -c core.fsyncobjectfiles=0 ls-remote git://git.yoctoproject.org/yocto-kernel-cache ', d=<bb.data_smart.DataSmart object at 0x7ff35dfb4fa0>, quiet=True, cleanup=[], log=None, workdir=None): > raise FetchError(error_message) bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/home/martin"; git -c core.fsyncobjectfiles=0 ls-remote git://git.yoctoproject.org/yocto-kernel-cache failed with exit code 128, output: fatal: unable to connect to git.yoctoproject.org: git.yoctoproject.org[0: 127.0.1.1]: errno=Connection refused Summary: There was 1 ERROR message shown, returning a non-zero exit code. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-07linux-raspberrypi-dev: drop protocol=git and add LINUX_RPI_KMETA_BRANCHMartin Jansa
* update SRC_URI format to use the same as linux-raspberrypi_5.10.bb and linux-raspberrypi_5.4.bb by dropping protocol=git and using LINUX_RPI_KMETA_BRANCH * protocol=git was dropped from other linux-raspberrypi recipes in: commit 0381ac4d08abdb3dda815e6594536ac774baad8d Author: Timm Eversmeyer <saeugetier@googlemail.com> Date: Wed Sep 11 07:08:50 2019 +0200 raspberrypi-linux: removed protocoll setting from SRC_URI Default protocoll for git will be used. Default setting is in the most case https. Signed-off-by: Timm Eversmeyer saeugetier@gmail.com Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-07linux-raspberrypi-dev: Update for testing v5.10.yPaul Barker
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>
2021-06-07linux-raspberrypi: allow to change the yocto-kernel-cache branch with ↵Martin Jansa
LINUX_RPI_KMETA_BRANCH Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-07layer.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-02-05[documentation]Add USB host support in documentationAurelian Zanoschi
Signed-off-by: Aurelian Zanoschi <aurelian17@gmail.com>
2021-02-05rpi-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>
2020-11-09Revert "libcamera: Define packageconfig to enable rpi pipeline"Martin Jansa
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>
2020-11-04u-boot: Fix booting raspberrypi CM3 moduleMarek Belisko
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>
2020-11-04linux-raspberrypi: Fix build regression from last updateKhem Raj
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>
2020-11-04linux-raspberrypi: bump to Linux version 5.4.72Eino Juhani Oltedal
Fixes: "Bleeding Tooth" Bluetooth Vulnerability. Signed-off-by: Eino Juhani Oltedal <einoju@gmail.com>
2020-11-04linux-raspberrypi: Only deploy cmdline.txt for the main kernelAlex Gonzalez
When multiple kernels are being built, not all of them can deploy the same file. Signed-off-by: Alex Gonzalez <alexg@balena.io>
2020-11-04python3-rtimu: don't use trailing slash in SMartin Jansa
* 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>
2020-11-04linux-raspberrypi-5.4: bump SRCREV to fix raspberrypi3-64 buildsMartin Jansa
* fixes: https://github.com/raspberrypi/linux/issues/3885 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-11-04rpi-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-11-04oeqa: Add 5.4 specific error messages to ignore listKhem Raj
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>
2020-11-04raspberrypi-tools: Update to latest snapshot as of 20200803Khem Raj
Use date in PV, makes is good candidate for always increasing PV Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-04raspberrypi-firmware: Update to 20201002 snapshotKhem Raj
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>
2020-11-04linux-raspberrypi_5.4.bb: Update to 5.4.69Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-04libcamera: 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-11-04linux-firmware-rpidistro: Update to 20190114-1+rpt8Khem Raj
* 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>
2020-11-04Revert "linux-raspberrypi-5.4: revert 1 commit from upstream to fix ↵Martin Jansa
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.
2020-11-04Revert "mesa: querying dma_buf modifiers for specific formats"Luis Alfredo da Silva
This reverts commit 84cb8538cd22586fc82daba38458909cedfec2db. Fixes: - https://gitlab.gnome.org/GNOME/mutter/-/issues/1421 - #711
2020-11-04raspberrypi-{firmware,tools}: set downloadfilenameMartin Jansa
* 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>
2020-11-04linux-raspberrypi-5.4: revert 1 commit from upstream to fix lttng-modules buildMartin Jansa
* 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>
2020-11-04linux-raspberrypi: bump to Linux version 5.4.64Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-11-04raspberrypi-firmware: update to current HEADPierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-11-04docs: Correct minor spelling issuesAndrzej Bednarski
Correct spelling issues in the 'extra-build-config.md' file. Signed-off-by: Andrzej Bednarski <andrzej.bednarski@gmail.com>
2020-11-04README: Mention Yoe distro in supported distro listKhem Raj
Remove angstrom as it is no longer uptodate Fixes Issue #563 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-04linux-raspberrypi_5.4.bb: Build ashmem and binder driversKhem Raj
These are android drivers, which help in running anbox on top of raspberrypi machines Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-04rpi-gpio: add -fcommon temporarilyMartin Jansa
* until the fix is available upstream Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-11-04linux-raspberrypi-5.4: backport a fix for perf build with -fno-common from ↵Martin Jansa
gcc-10 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-11-04libsdl2: Add userland dependency when not using vc4graphicsKhem Raj
Needed to provide KHR/khrplatform.h header Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-04xserver-xorg: Depend on userland when vc4graphics is disabledKhem Raj
This helps in getting right headers, we have made a choice to let userland provide KHR/khrplatform.h when using it instead of mesa-gl which could have been another provider, xserver-xorg's glx implementation depends on virtual/libgl which in case of rpi-without-vc4 driver is provided by mesa-gl, as a result, compilation fails since no one is providing this header in this case. Fixes errors like usr/include/GL/glext.h:56:10: fatal error: KHR/khrplatform.h: No such file or directory | 56 | #include <KHR/khrplatform.h> | | ^~~~~~~~~~~~~~~~~~~ Fixes issue #391 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-03layer.conf: Remove older releases from LAYERSERIES_COMPATMartin Jansa
* 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>
2020-10-05linux-raspberrypi_5.4.bb: Add kernel-cache sourceMurat Kilivan
Fixes the following error: ERROR. input file "cfg/virtio.scc" does not exist Signed-off-by: Murat Kilivan <murat.kilivan@gmail.com>
2020-08-26raspberrypi-firmware: Upgrade to 20200819Khem Raj
Includes 5.4.59 bumps Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26linux-raspberrypi: Update to 5.4.59Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-26linux-raspberrypi-5.4: bump SRCREV to latest to fix perf buildMartin Jansa
Needs some fixes from newer 5.4 kernel, e.g.: 1b940bbc5c55 Linux 5.4.56 df35e878d0a5 perf bench: Share some global variables to fix build with gcc 10 702d1b287fd2 perf env: Do not return pointers to local variables 73d2d6b421df perf tests bp_account: Make global variable static to fix: LINK perf/1.0-r9/perf-1.0/perf perf/1.0-r9/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ld: error: perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list:2:15: invalid character perf/1.0-r9/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ld: error: perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list:2:15: syntax error, unexpected end of file, expecting ';' perf/1.0-r9/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ld: fatal error: unable to parse dynamic-list script file perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list collect2: error: ld returned 1 exit status Makefile.perf:609: recipe for target 'perf/1.0-r9/perf-1.0/perf' failed make[2]: *** [perf/1.0-r9/perf-1.0/perf] Error 1 make[2]: *** Waiting for unfinished jobs.... perf/1.0-r9/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ld: error: perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list:2:15: invalid character perf/1.0-r9/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ld: error: perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list:2:15: syntax error, unexpected end of file, expecting ';' perf/1.0-r9/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/10.1.0/ld: fatal error: unable to parse dynamic-list script file perf/1.0-r9/perf-1.0/plugins/libtraceevent-dynamic-list collect2: error: ld returned 1 exit status error: command 'arm-oe-linux-gnueabi-gcc' failed with exit status 1 cp: cannot stat 'perf/1.0-r9/perf-1.0/python_ext_build/lib/perf*.so': No such file or directory Makefile.perf:571: recipe for target 'perf/1.0-r9/perf-1.0/python/perf.so' failed Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-08-26linux-raspberrypi: bump to revision 4b945d5Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-08-26raspberrypi-firmware: update to current HEADPierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-08-26rpi-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-10sdcard_image-rpi.bbclass: Fix when RPI_SDIMG_EXTRA_DEPENDS not definedAndrei Gherzan
If the variable is not defined, bitbake will fail: [...] Task 'depends' should be specified in the form 'packagename:task' [...] This is because not expanding the variable leaves an invalid entry. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2020-08-10u-boot: Move fw_env.config to u-boot appendFabio Berton
The u-boot-env is provided by u-boot recipe and not by libubootenv, so right recipe to append is the u-boot. Adding the rpi-u-boot-scr in DEPENDS variable is wrong because it is forcing rpi-u-boot-scr to be a dependency, but it'll fail if I have another recipe that provides bootscript, once both recipes provide the same file. The default value of u-boot-default-script is rpi-u-boot-scr, so right way is to use u-boot-default-script and change the PREFERRED_PROVIDER_u-boot-default-script if needed. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>