summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* linux-raspberrypi_5.4.bb: Update to latestKhem Raj2020-04-161-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_5.4.bb: Backport the patch to use CHECK macro instead of ↵Khem Raj2020-04-154-18/+142
| | | | | | | | | | | | 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>
* linux-raspberrypi_5.4.bb: Enable powersave options in kconfigKhem Raj2020-04-082-0/+14
| | | | | | | | 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>
* linux-raspberrypi_5.4.bb: Update to latest and fix build with binutils 2.34Khem Raj2020-04-081-1/+4
| | | | | | | | | 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>
* linux-raspberrypi: Add recipes for kernel 5.4Khem Raj2020-04-082-0/+18
| | | | | | | 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>
* linux-raspberrypi: bump to Linux version 4.19.113Pierre-Jean Texier2020-03-271-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* linux-raspberrypi: Get PMU fixes on top of 4.19.108Khem Raj2020-03-201-1/+1
| | | | | | This fixes Issue #593 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Fix building selftest/bpfKhem Raj2020-03-162-1/+49
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: bump to Linux version 4.19.108Pierre-Jean Texier2020-03-081-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* linux-raspberrypi: fix perf build with latest binutilsMartin Jansa2020-02-252-0/+59
| | | | | | | | | | | | | | | | * fixes: | LINK /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/perf | /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a(libperf-in.o):srcline.c:function find_address_in_section: error: undefined reference to 'bfd_get_section_flags' | /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a(libperf-in.o):srcline.c:function find_address_in_section: error: undefined reference to 'bfd_get_section_vma' | /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a(libperf-in.o):srcline.c:function find_address_in_section: error: undefined reference to 'bfd_get_section_size' | collect2: error: ld returned 1 exit status | make[2]: *** [Makefile.perf:519: /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/perf] Error 1 | make[1]: *** [Makefile.perf:206: sub-make] Error 2 | make: *** [Makefile:70: all] Error 2 | make: Leaving directory '/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/perf' | WARNING: exit code 1 from a shell command. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi: bump to Linux version 4.19.105Pierre-Jean Texier2020-02-211-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* linux-raspberrypi: bump to Linux version 4.19.102Pierre-Jean Texier2020-02-081-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* linux-raspberrypi: bump to Linux version 4.19.97Pierre-Jean Texier2020-01-241-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* linux-raspberrypi: bump to Linux version 4.19.93Pierre-Jean Texier2020-01-131-2/+2
| | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* linux-raspberrypi: define kbuild defconfig for rpi cm3Ricardo Salveti2020-01-081-0/+1
| | | | | | Also define a default kbuild defconfig value for rpi cm3. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>