summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* linux-raspberrypi-dev: use static SRCREV when not selected with ↵Martin Jansa2021-06-071-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* linux-raspberrypi-dev: drop protocol=git and add LINUX_RPI_KMETA_BRANCHMartin Jansa2021-06-071-2/+3
| | | | | | | | | | | | | | | | | | | | * 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>
* linux-raspberrypi: allow to change the yocto-kernel-cache branch with ↵Martin Jansa2021-06-072-2/+4
| | | | | | LINUX_RPI_KMETA_BRANCH Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi: Upgrade to 5.10.17Mike Looijmans2021-03-161-2/+2
| | | | | | | | | This fixes, amongst others, issues with I2C controller interrupts on the RPI4 that prevented a touch panel from functioning. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> (cherry picked from commit ef04a3a523e6cd935968f34f338501fd915c506c) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: update LIC_FILES_CHKSUM in .inc file and drop from 5.10 ↵Martin Jansa2021-03-163-5/+1
| | | | | | | | | | | | and dev recipe * COPYING was changed only 4 times (last time in 5.6 with: https://github.com/torvalds/linux/commit/74835c7db0322 ) so hopefully it will last for a while Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit 7565931e23429fa8e241da1f271d6a30c90c700e) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: add recipe for 5.10 versionMartin Jansa2021-03-161-0/+20
| | | | | | | | | | | | | * 5.10.11 is now considered stable: https://github.com/raspberrypi/firmware/blob/stable/extra/uname_string7 https://github.com/raspberrypi/firmware/commit/8572bb50bf24a9ffef949ced69776e66559f4afe Gatesgarth specific: - Use KERNEL_EXTRA_ARG instead of KERNEL_DTC_FLAGS Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit dd163e0856dbc035456e4e9f675e4383e6cb2437) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: Superfluous 'inherit kernel'Jonas Vautherin2021-03-161-1/+1
| | | | | | | | | 'recipes-kernel/linux/linux-yocto.inc' already inherits 'kernel'. This commit removes the superfluous one in 'linux-raspberrypi.inc'. Signed-off-by: Jonas Vautherin <jonas.vautherin@protonmail.ch> (cherry picked from commit 56ab9265570892d1357dd29cb92c04d4a0ce6d75) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: Uprev yocto-kernel-cachePaul Barker2021-03-161-1/+1
| | | | | | Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit 5570f2f55dc8104b1f88806a4889086f2b7b46f4) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberrypi: Uprev to v5.4.83Paul Barker2021-03-161-2/+2
| | | | | | Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit b1d38437f5ef1571c1b0017ab113c4fd0737ba5c) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* linux-raspberry: Drop 64-bit specific do_compile_append()Ovidiu Panait2021-03-161-7/+0
| | | | | | | | | | | | | The functionality provided by this compile append is already present in kernel-devicetree.bbclass since oe-core commit: https://github.com/openembedded/openembedded-core/commit/74619de02774 The md5sums of the generated dtbs for raspberrypi3-64 and raspberrypi4-64 do not change with this patch applied. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> (cherry picked from commit a7cc636d4ef0ed7ddabf5785463dbb5c79633b1e) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* initramfs-image-bundle: Add MTD_UBIKhem Raj2021-03-161-0/+2
| | | | | | | | | | CONFIG_UBIFS_FS is used as 'm' in defconfig and depends on MTD and MTD_UBI which is also 'm', inorder for it to include in kernel proper, set MTD_UBI=y and MTD=y as well. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 3e2a8534a6f00d66860a9fab4c59b3117ebda43a) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* 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>
* 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>
* 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-cmdline: Move cmdline.txt generation to a separate recipePaul Barker2021-03-161-28/+0
| | | | | | | | | | | | | | | | | 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>
* 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>
* 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>
* 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-161-1/+2
| | | | | | | | | | | | | | | 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>
* 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>
* 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>
* 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>
* linux-raspberrypi_5.4.bb: Update to 5.4.69Khem Raj2020-10-051-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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.
* 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>
* linux-raspberrypi_5.4.bb: Build ashmem and binder driversKhem Raj2020-09-032-0/+9
| | | | | | | These are android drivers, which help in running anbox on top of raspberrypi machines Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi-5.4: backport a fix for perf build with -fno-common from ↵Martin Jansa2020-09-022-0/+69
| | | | | | gcc-10 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi: Update to 5.4.59Khem Raj2020-08-241-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi-5.4: bump SRCREV to latest to fix perf buildMartin Jansa2020-08-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* linux-raspberrypi: bump to revision 4b945d5Pierre-Jean Texier2020-08-131-1/+1
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* Generalize the naming of the bootfiles deploy directoryJeff Ithier2020-08-061-2/+2
| | | | | | | | | | 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>
* linux-raspberrypi: bump to Linux version 5.4.51Pierre-Jean Texier2020-07-141-2/+2
| | | | | | | | | Fixes: ERROR: linux-raspberrypi-1_5.4.50+gitAUTOINC+856e83151c-r0 do_fetch: Fetcher failure: Unable to find revision 856e83151cf3f802c495585ac176bb135a08030f in branch rpi-5.4.y even from upstream ERROR: linux-raspberrypi-1_5.4.50+gitAUTOINC+856e83151c-r0 do_fetch: Fetcher failure for URL: 'git://github.com/raspberrypi/linux.git;branch=rpi-5.4.y'. Unable to fetch URL from any source. Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* linux-raspberrypi: bump to 5.4.50 since upstream was force-pushedChristopher Clark2020-07-081-2/+2
| | | | Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
* linux-raspberrypi_5.4.bb: Upgrade to 5.4.47Khem Raj2020-06-212-12/+12
| | | | | | | | Drop backported patches which are already in this release Fixes Issue #658 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_5.4.bb: Move to 5.4.45Khem Raj2020-06-131-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: bump to Linux version 4.19.126Pierre-Jean Texier2020-06-051-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* linux-raspberrypi: Update to latest on 5.4 releaseKhem Raj2020-05-201-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_5.4.bb: Update to 5.4.35Khem Raj2020-05-091-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: bump to Linux version 4.19.120Pierre-Jean Texier2020-05-091-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* linux-raspberrypi_5.4.bb: Update to latestKhem Raj2020-04-281-1/+1
| | | | | | brings in some pinmux and dtoverlays Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_5.4.bb: Update to latestBartłomiej Burdukiewicz2020-04-271-2/+2
| | | | Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
* linux-firmware-rpidistro: Upgrade to 20190114-1+rpt6Khem Raj2020-04-201-2/+2
| | | | | | Adjust PV to reflect the release and make it a bit meaningful Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: bump to Linux version 4.19.115Pierre-Jean Texier2020-04-181-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>