aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux
AgeCommit message (Collapse)Author
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-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-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>
2020-09-02linux-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-08-24linux-raspberrypi: Update to 5.4.59Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-18linux-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-13linux-raspberrypi: bump to revision 4b945d5Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-08-06Generalize the naming of the bootfiles deploy directoryJeff Ithier
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>
2020-07-14linux-raspberrypi: bump to Linux version 5.4.51Pierre-Jean Texier
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>
2020-07-08linux-raspberrypi: bump to 5.4.50 since upstream was force-pushedChristopher Clark
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
2020-06-21linux-raspberrypi_5.4.bb: Upgrade to 5.4.47Khem Raj
Drop backported patches which are already in this release Fixes Issue #658 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-13linux-raspberrypi_5.4.bb: Move to 5.4.45Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-05 linux-raspberrypi: bump to Linux version 4.19.126Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-05-20linux-raspberrypi: Update to latest on 5.4 releaseKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-09linux-raspberrypi_5.4.bb: Update to 5.4.35Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-09linux-raspberrypi: bump to Linux version 4.19.120Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-04-28linux-raspberrypi_5.4.bb: Update to latestKhem Raj
brings in some pinmux and dtoverlays Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-27linux-raspberrypi_5.4.bb: Update to latestBartłomiej Burdukiewicz
Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
2020-04-18 linux-raspberrypi: bump to Linux version 4.19.115Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-04-16linux-raspberrypi_5.4.bb: Update to latestKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-15linux-raspberrypi_5.4.bb: Backport the patch to use CHECK macro instead of ↵Khem Raj
RET_IF Revert couple of regressions for selftest Fixes | /usr/src/debug/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/test_select_reuseport.c:671: undefined reference to `RET_IF' Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-08linux-raspberrypi_5.4.bb: Enable powersave options in kconfigKhem Raj
Will let system hibernate and suspend, its initial setup, there is more work needed to get it going fully without problems in userspace, which will follow Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-08linux-raspberrypi_5.4.bb: Update to latest and fix build with binutils 2.34Khem Raj
perf fails to build without bfd patch still, therefore apply it to 5.4 as well. Update to latest on 5.4 branch Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-08linux-raspberrypi: Add recipes for kernel 5.4Khem Raj
5.4 is slated to be next hop for linux-raspberrypi, here add the recipes, default is still 4.19, we can switch that later Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-27linux-raspberrypi: bump to Linux version 4.19.113Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>