aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel
AgeCommit message (Collapse)Author
2021-11-18linux-firmware-rpidistro: Use bullseye branchKhem Raj
Switch to using bullseye release 20210315-3+rpt3 License is pointed in different location in new repo structure WHENCE file is gone too. Fixes https://github.com/YoeDistro/yoe-distro/issues/617 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-13linux-raspberrypi: Bump to 5.10.78Alexandru Costache
To include Pi Zero 2W device-tree changes for brcmfmac firmware. Signed-off-by: Alexandru Costache <alexandru@balena.io>
2021-11-13linux-firmware-rpidistro: Package bcm43436 and bcm43436s firmwareAlexandru Costache
Signed-off-by: Alexandru Costache <alexandru@balena.io>
2021-11-07recipes: 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>
2021-11-03linux-raspberrypi: Drop 5.4Andrei Gherzan
The currently preferred version, 5.10 is the upstream stable, and an LTS version so I don't see why anybody would want to go with 5.4 anymore. Also, these two versions now diverged in terms of what device tree overlays they provide making it more complicated to maintain. Until there is a good reason to maintain that support, I propose to drop this version. Fixes: https://github.com/agherzan/meta-raspberrypi/issues/927 Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2021-10-30linux-raspberrypi: Bump 5.10 to 5.10.76Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2021-09-17linux-raspberrypi: Update to 5.10.63Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-25linux-raspberrypi: Update to 5.10.59Khem Raj
Update metadata branch to latest 5.10 as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-12linux-firmware-rpidistro: fix wifi driver loading on cm4Omer Akram
Signed-off-by: Omer Akram <omer@thing.com>
2021-08-06linux-raspberrypi: Upgrade to 5.10.52Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-04Convert to new override syntaxMartin Jansa
This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-10Add WM8960 soundcard supportDevendra Tewari
Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
2021-05-28linux-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-05-28linux-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-05-28linux-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-05-16bluez-firmware-rpidistro: Update to 1.2-4+rpt8Khem Raj
Package new firmwares for cm43430b0 and bcm4345c5 License-update: Updates about new firmware added [1] [1] https://github.com/RPi-Distro/bluez-firmware/commit/83921f41fe58ec7fcc825e626d4a88796fff62fd#diff-93467241211d3f9d253fb8ad341738fbda5e5d3ade4721326f2bba82525fbaee Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-16linux-firmware-rpidistro: Update to 20190114-1+rpt11Khem Raj
Update CYW43455 firmware  - brcm/brcmfmac43455-sdio.bin 7.45.229  - See: https://github.com/raspberrypi/linux/issues/3849 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-26linux-raspberrypi: Update to 5.10.31Khem Raj
Update yocto kernel metadata to latest 5.10 as well. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-03linux-raspberrypi-5.10: Upgrade to 5.10.25Khem Raj
Detail changelog [1] [1] https://github.com/raspberrypi/linux/compare/ec967eb45f8d4ed59bebafb5748da38118383be7...d1fd8a5727908bb677c003d2ae977e9d935a6f94 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-09linux-raspberrypi: Upgrade to 5.10.17Mike Looijmans
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>
2021-02-06linux-raspberrypi: update LIC_FILES_CHKSUM in .inc file and drop from 5.10 ↵Martin Jansa
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>
2021-02-06linux-raspberrypi: add recipe for 5.10 versionMartin Jansa
* 5.10.11 is now considered stable: https://github.com/raspberrypi/firmware/blob/stable/extra/uname_string7 https://github.com/raspberrypi/firmware/commit/8572bb50bf24a9ffef949ced69776e66559f4afe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-01-26linux-raspberrypi: pass dtc flags via KERNEL_DTC_FLAGSOvidiu Panait
Currently, the do_compile log is cluttered with dtc warnings that should only be printed when compiling with W="123": ... /soc: node has a reg or ranges property, but no unit name /soc/gpu: missing or empty reg/ranges property /soc/firmware/gpio: missing or empty reg/ranges property ... This happens because we pass dtc flags via KERNEL_EXTRA_ARGS directly on the make command line, preventing scripts/Makefile.lib logic from appending flags that silence dtc warnings (all assignments done from within a makefile, to a variable specified on the command line, are ignored). oe-core commit [1] introduced the dedicated KERNEL_DTC_FLAGS variable to pass dtc flags via the environment. Use this variable to get rid of the do_compile log noise. The md5sums of the generated dtbs for raspberrypi3-64 and raspberrypi4-64 do not change with this patch applied. [1] https://github.com/openembedded/openembedded-core/commit/063b5de86624 Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
2021-01-26linux-raspberrypi: Superfluous 'inherit kernel'Jonas Vautherin
'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>
2021-01-21linux-raspberrypi: Uprev yocto-kernel-cachePaul Barker
Signed-off-by: Paul Barker <pbarker@konsulko.com>
2021-01-21linux-raspberrypi: Uprev to v5.4.83Paul Barker
Signed-off-by: Paul Barker <pbarker@konsulko.com>
2020-12-24linux-raspberry: Drop 64-bit specific do_compile_append()Ovidiu Panait
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>
2020-12-18initramfs-image-bundle: Add MTD_UBIKhem Raj
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>
2020-12-09linux-firmware-rpidistro: Added firmware for BCM43456Aaron Shaw
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>
2020-12-03linux-firmware-rpidistro: Missing link to firmware causes wifi not working ↵Tobias Off
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>
2020-11-27linux-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>
2020-11-27linux-raspberrypi: Merge v5.4 recipe & inc filePaul Barker
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>
2020-11-27linux-raspberrypi: Drop unused rpi-kernel-misc config fragmentPaul Barker
This config fragment was unconditionally disabled for the v5.4 kernel so it can be dropped. Signed-off-by: Paul Barker <pbarker@konsulko.com>
2020-11-27linux-raspberrypi: Remove obsolete kernel versionsPaul Barker
Signed-off-by: Paul Barker <pbarker@konsulko.com>
2020-11-27rpi-cmdline: Move cmdline.txt generation to a separate recipePaul Barker
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>
2020-11-27linux-raspberrypi: Convert dynamic config patching to config fragmentsPaul Barker
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>
2020-11-25linux-raspberrypi_5.4.bb: Update to 5.4.79Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-14linux-raspberrypi: Do not use += with appendKhem Raj
append operator and += when used together results in undefined behaviour in bitbake Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-14libcamera: Enabled camera overlays define basedMadhavan Krishnan
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>
2020-10-20linux-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-10-20linux-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-10-12linux-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-10-09linux-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-10-05linux-raspberrypi_5.4.bb: Update to 5.4.69Khem Raj
Signed-off-by: Khem Raj <raj.khem@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-10-05linux-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-09-18Revert "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-09-14linux-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-09-12linux-raspberrypi: bump to Linux version 5.4.64Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-09-03linux-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>