Martin Jansa
195c7d59bc
*.patch: add Upstream-Status to all patches
...
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a
This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).
This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.
This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:
Patches in Pending state: 41 (57%)
With recent change to enable patch-status not only for all .patch
files in oe-core, but for all recipes from oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3
this causes bluez5 do_patch failures as reported in:
https://lists.openembedded.org/g/openembedded-core/message/183177
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2023-06-22 00:04:40 +01:00
Allan Xavier
c9d9582a23
linux-raspberrypi: Build eeprom access into kernel
...
To better support rpi-eeprom without depending on userland it was
decided to build nvmem-rmem support into the kernel for Raspberry Pi 4
machines.
Signed-off-by: Allan Xavier <mr.a.xavier@googlemail.com>
2023-02-08 22:04:18 +00:00
Khem Raj
a02173f597
linux-raspberrypi: Remove unused patches
...
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-01 23:15:11 +00:00
Khem Raj
3c5959ba85
linux-raspberrypi: Fix build with gcc13
...
Backport a needed patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-01 23:15:11 +00:00
Devendra Tewari
246555aea7
Add WM8960 soundcard support
...
Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
2021-06-10 21:22:24 +01:00
Khem Raj
3e2a8534a6
initramfs-image-bundle: Add MTD_UBI
...
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-18 22:44:47 +00:00
Paul Barker
64f6a1b7cc
linux-raspberrypi: Drop unused rpi-kernel-misc config fragment
...
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-27 14:29:55 +00:00
Paul Barker
2afeee9b82
linux-raspberrypi: Remove obsolete kernel versions
...
Signed-off-by: Paul Barker <pbarker@konsulko.com>
2020-11-27 14:29:55 +00:00
Paul Barker
1c8ad80861
linux-raspberrypi: Convert dynamic config patching to config fragments
...
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-27 14:29:55 +00:00
Khem Raj
6ca9b2f9f7
linux-raspberrypi: Fix build regression from last update
...
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-20 20:09:55 +01:00
Martin Jansa
0e9c32c816
Revert "linux-raspberrypi-5.4: revert 1 commit from upstream to fix lttng-modules build"
...
This reverts commit d1257fc127
.
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-18 09:53:18 +01:00
Martin Jansa
d1257fc127
linux-raspberrypi-5.4: revert 1 commit from upstream to fix lttng-modules build
...
* 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-14 15:59:27 +01:00
Khem Raj
5013a063d5
linux-raspberrypi_5.4.bb: Build ashmem and binder drivers
...
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-03 14:43:10 +01:00
Martin Jansa
1991ef8283
linux-raspberrypi-5.4: backport a fix for perf build with -fno-common from gcc-10
...
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-09-02 21:43:09 +01:00
Khem Raj
5ac6f01333
linux-raspberrypi_5.4.bb: Upgrade to 5.4.47
...
Drop backported patches which are already in this release
Fixes Issue #658
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-21 10:45:14 +01:00
Khem Raj
3b2ded5ae7
linux-raspberrypi_5.4.bb: Backport the patch to use CHECK macro instead of 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-15 11:35:23 +01:00
Khem Raj
8d163dd844
linux-raspberrypi_5.4.bb: Enable powersave options in kconfig
...
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-08 22:31:24 +01:00
Khem Raj
2aab60f22c
linux-raspberrypi: Fix building selftest/bpf
...
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-16 19:10:44 +00:00
Martin Jansa
b422a0ae50
linux-raspberrypi: fix perf build with latest binutils
...
* 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>
2020-02-25 19:55:21 +00:00
Andrei Gherzan
62ff6dcd57
linux-raspberrypi: Fix defconfig for RPi4-64
...
emmc dt node uses iproc sdhci driver. Make sure it is enabled.
https://github.com/raspberrypi/linux/pull/3045
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-04 15:47:13 +01:00
Andrei Gherzan
9bfbd7a26a
linux-raspberrypi: Build rpi poe fan driver
...
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-09-11 11:36:35 +01:00
Paul Barker
51249c9c78
linux-raspberrypi: Allow specification of ncurses location
...
From patch message:
In some cross build environments such as the Yocto Project build environment
it provides an ncurses library that is compiled differently than the host's
version. This causes display corruption problems when the host's curses
includes are used instead of the includes from the provided compiler are
overridden. There is a second case where there is no curses libraries at
all on the host system and menuconfig will just fail entirely.
The solution is simply to allow an override variable in check-lxdialog.sh
for environments such as the Yocto Project. Adding a CROSS_CURSES_LIB and
CROSS_CURSES_INC solves the issue and allowing compiling and linking against
the right headers and libraries.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2018-04-23 14:08:04 +01:00