PR 5044 added incomplete kernel options for RPi4 which lead
to questions from "make oldconfig" during kernel build.
Fix this by processing RPi4 kernel config with oldconfig and
setting the missing options.
Signed-off-by: Matthias Reichl <hias@horus.com>
The default of 512k is too small at 192kHz/8ch, kodi can only get a
86ms buffer instead of the 200ms buffer it usually wants. That results
in occasional buffer underruns when playing media from local storage
which is uncached in kodi's default settings.
Increase the alsa buffer size to 1.2MB so kodi can get the audio buffer
size it likes to have.
Signed-off-by: Matthias Reichl <hias@horus.com>
valgrind is only included if VALGRIND is explicitly set to "yes",
setting it to "no" in some options files is not needed.
Signed-off-by: Matthias Reichl <hias@horus.com>
ARM_MODULE_PLTS defaults to "y" since kernel 4.18 and is also
enabled in RPi kernels.
Disabling that option causes module load failures with "relocation
28 out of range" when lots of stuff is built into the kernel, eg
when enabling KASAN or other code instrumentation.
Signed-off-by: Matthias Reichl <hias@horus.com>
The updated version fixes the "atomic commit failed" issues
that were present in the previous workaround.
Signed-off-by: Matthias Reichl <hias@horus.com>
The firmware supports auto-selecting the pi4 overlay on RPi4
via overlay_map for a while, finally switch to that to align
config with RPiOS.
Signed-off-by: Matthias Reichl <hias@horus.com>
The revised version also hides the pixel wrap issue during
video playback, use it until the video driver issue is fixed.
Signed-off-by: Matthias Reichl <hias@horus.com>