summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* linux-raspberrypi: Upgrade to 5.10.81HEADmasterKhem Raj2021-11-231-2/+2
| | | | | | | Also fixes https://github.com/agherzan/meta-raspberrypi/issues/957 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-firmware-rpidistro: Use bullseye branchKhem Raj2021-11-181-24/+18
| | | | | | | | | | | 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>
* linux-raspberrypi: Bump to 5.10.78Alexandru Costache2021-11-131-2/+2
| | | | | | | To include Pi Zero 2W device-tree changes for brcmfmac firmware. Signed-off-by: Alexandru Costache <alexandru@balena.io>
* linux-firmware-rpidistro: Package bcm43436 and bcm43436s firmwareAlexandru Costache2021-11-131-3/+33
| | | | Signed-off-by: Alexandru Costache <alexandru@balena.io>
* recipes: Update SRC_URI protocols for githubMarcel Hamer2021-11-074-4/+4
| | | | | | | Use protocols=https for GitHub SRC_URIs using the conversion script in openembedded-core. Signed-off-by: Marcel Hamer <marcel@solidxs.se>
* linux-raspberrypi: Drop 5.4Andrei Gherzan2021-11-031-23/+0
| | | | | | | | | | | | | 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>
* linux-raspberrypi: Bump 5.10 to 5.10.76Andrei Gherzan2021-10-301-3/+3
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-raspberrypi: Update to 5.10.63Khem Raj2021-09-171-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Update to 5.10.59Khem Raj2021-08-251-3/+3
| | | | | | Update metadata branch to latest 5.10 as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-firmware-rpidistro: fix wifi driver loading on cm4Omer Akram2021-08-121-0/+1
| | | | Signed-off-by: Omer Akram <omer@thing.com>
* linux-raspberrypi: Upgrade to 5.10.52Khem Raj2021-08-061-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-043-47/+47
| | | | | | | | | | 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>
* Add WM8960 soundcard supportDevendra Tewari2021-06-102-0/+3
| | | | Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
* linux-raspberrypi-dev: use static SRCREV when not selected with ↵Martin Jansa2021-05-281-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-05-281-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-05-282-2/+4
| | | | | | LINUX_RPI_KMETA_BRANCH Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* bluez-firmware-rpidistro: Update to 1.2-4+rpt8Khem Raj2021-05-161-3/+19
| | | | | | | | | 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>
* linux-firmware-rpidistro: Update to 20190114-1+rpt11Khem Raj2021-05-161-2/+2
| | | | | | | | 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>
* linux-raspberrypi: Update to 5.10.31Khem Raj2021-04-261-3/+3
| | | | | | Update yocto kernel metadata to latest 5.10 as well. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi-5.10: Upgrade to 5.10.25Khem Raj2021-04-031-2/+2
| | | | | | | Detail changelog [1] [1] https://github.com/raspberrypi/linux/compare/ec967eb45f8d4ed59bebafb5748da38118383be7...d1fd8a5727908bb677c003d2ae977e9d935a6f94 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Upgrade to 5.10.17Mike Looijmans2021-03-091-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>
* linux-raspberrypi: update LIC_FILES_CHKSUM in .inc file and drop from 5.10 ↵Martin Jansa2021-02-063-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>
* linux-raspberrypi: add recipe for 5.10 versionMartin Jansa2021-02-061-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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi: pass dtc flags via KERNEL_DTC_FLAGSOvidiu Panait2021-01-262-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* linux-raspberrypi: Superfluous 'inherit kernel'Jonas Vautherin2021-01-261-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>
* linux-raspberrypi: Uprev yocto-kernel-cachePaul Barker2021-01-211-1/+1
| | | | Signed-off-by: Paul Barker <pbarker@konsulko.com>
* linux-raspberrypi: Uprev to v5.4.83Paul Barker2021-01-211-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@konsulko.com>
* linux-raspberry: Drop 64-bit specific do_compile_append()Ovidiu Panait2020-12-241-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>
* initramfs-image-bundle: Add MTD_UBIKhem Raj2020-12-181-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>
* linux-firmware-rpidistro: Added firmware for BCM43456Aaron Shaw2020-12-091-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>
* linux-firmware-rpidistro: Missing link to firmware causes wifi not working ↵Tobias Off2020-12-031-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>
* linux-raspberrypi-dev: Update for testing v5.10.yPaul Barker2020-11-271-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>
* linux-raspberrypi: Merge v5.4 recipe & inc filePaul Barker2020-11-272-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>
* linux-raspberrypi: Drop unused rpi-kernel-misc config fragmentPaul Barker2020-11-273-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>
* linux-raspberrypi: Remove obsolete kernel versionsPaul Barker2020-11-278-205/+0
| | | | Signed-off-by: Paul Barker <pbarker@konsulko.com>
* rpi-cmdline: Move cmdline.txt generation to a separate recipePaul Barker2020-11-271-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>
* linux-raspberrypi: Convert dynamic config patching to config fragmentsPaul Barker2020-11-273-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>
* linux-raspberrypi_5.4.bb: Update to 5.4.79Khem Raj2020-11-251-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Do not use += with appendKhem Raj2020-11-141-1/+1
| | | | | | | append operator and += when used together results in undefined behaviour in bitbake Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Enabled camera overlays define basedMadhavan Krishnan2020-11-141-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>
* 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>