Commit graph

1499 commits

Author SHA1 Message Date
Tomáš Kelemen (vudiq)
e57da47067 RPi/bootloader: disable 4K modes, other Lakka changes
Co-authored-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
Co-authored-by: David Lawson <dmrlawson@gmail.com>
Co-authored-by: Tomas Kelemen <vudiq@vudiq.sk>
2021-10-15 21:37:08 +02:00
Tomáš Kelemen (vudiq)
658d35ea40 vulkan: build vulkan-tools 2021-10-15 21:36:16 +02:00
Matthias Reichl
09601805d2 linux (RPi): config options for 5.10.63-1faafd9
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-07 18:43:53 +02:00
Tomáš Kelemen (vudiq)
607dcb16b9 Merge remote-tracking branch 'libreelec/master' 2021-10-07 11:40:15 +02:00
Tomáš Kelemen (vudiq)
8a11bbb678 add support for GPICase
Co-authored-by: Albert Malina <albert.malina@gmail.com>
Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2021-10-07 10:58:42 +02:00
CvH
507492c930
Merge pull request #5435 from antonlacon/le11-arch-options
buildsystem: change when config/arch.$ARCH is sourced
2021-10-03 08:02:45 +02:00
Tomáš Kelemen (vudiq)
a812599e21 Update to LibreELEC 10.0.0 2021-08-20 00:26:42 +02:00
Matthias Reichl
3734dd2ebe Revert "RPi4: make 4kp60 enabled per default"
This reverts commit 887dfdbcad.
2021-07-29 15:46:14 +02:00
Matthias Reichl
d89fc2b75b linux (RPi): config options for 5.10.52-86729e7
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-27 21:40:14 +02:00
Matthias Reichl
e46004fd73 linux (RPi): config options for 5.10.52-2697f74
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-27 21:37:06 +02:00
Matthias Reichl
5dabf876cf RPi4: change distroconfig to boot 64bit kernel
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-22 18:57:12 +02:00
Matthias Reichl
303d2b39c0 RPi4: switch to 64bit kernel build
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-22 18:02:10 +02:00
Matthias Reichl
fa9baeb414 RPi4: add aarch64 kernel config
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-22 18:02:10 +02:00
Matthias Reichl
887dfdbcad RPi4: make 4kp60 enabled per default
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-19 17:32:28 +02:00
Matthias Reichl
91be0b98e4 RPi: excplicitly end overlay scope in distroconfig.txt
This ensures dt parameters like dtparam=audio=on which appear
after "include distroconfig" are applied to the base dt instead
of the last dtoverlay loaded in distroconfig.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-19 17:32:28 +02:00
Tomáš Kelemen (vudiq)
ae6858bd53 Update to LibreELEC 9.97.1 2021-07-15 18:40:20 +02:00
Matthias Reichl
7df646db5b Revert "RPi4: temporarily limit framebuffer size to HD"
This reverts commit 540c98a090.
2021-07-05 16:00:47 +02:00
Matthias Reichl
a785d8282b kodi (RPi4): drop patch to hide pixel-wrap issue
This issue should finally be resolved in latest RPi kernel

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
540c98a090 RPi4: temporarily limit framebuffer size to HD
RPi firmware allocates a 4k framebuffer in gpu mem when 4kp60 is
enabled which leads to H264 decoding failing because it's running
out of GPU memory.

This framebuffer isn't used/needed in LE at all, so limit it's size
to HD (which the firmware does in non-4kp60 setups) until the KMS driver
and the firmware support freeing the orphaned framebuffer.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
903fd5e1f4 linux (RPi): config options for 5.10.44-2b13c54
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
e1eb4f2370 RPi: adapt vc4-hdmi ALSA card conf to kernel changes
The switch to HDMI_CODEC moved the IEC958 control from mixer to PCM,
adjust the ALSA card conf accordingly.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
2848dd80bb linux (RPi): config options for 5.10.43-9eba214
enable HDMI_CODEC

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
5bccf53d93 linux (RPi): config options for 5.10.42-da6937f
enable PoE+ HAT power supply driver module

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Ian Leonard
388bfe4440 projects: drop TARGET_FEATURES as project options
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-21 00:13:21 +00:00
Tomáš Kelemen (vudiq)
32c502c1a9 Merge branch 'master' into lakka 2021-05-22 19:10:57 +02:00
Matthias Reichl
75840aab12 linux (RPi): drop legacy CONFIG_CMDLINE options
These options were carried over from the ancient past, they are not
needed so let's drop them.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-05-01 13:24:07 +02:00
Tomáš Kelemen (vudiq)
e6cdaff374 disable DRIVER_ADDONS for Lakka
also for targets where currently disabled in case upstream will enable
them in the future
2021-04-27 09:44:51 +02:00
Tomáš Kelemen (vudiq)
25536f4bd2 Merge 'libreelec/master' 2021-04-16 22:54:53 +02:00
Christian Hewitt
23234b9faa
Merge pull request #5320 from HiassofT/le10-kodi-rpi4-colorspace
kodi (RPi4): add patch to set colorspace connector property
2021-04-14 17:55:47 +04:00
Matthias Reichl
5cc421dbc6 linux (RPi): config options for 5.10.27-7773c5c
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-04-12 14:20:58 +02:00
Matthias Reichl
11481981b5 kodi (RPi4): add patch to set colorspace connector property
This enables signalling of BT.2020 colorspace via HDMI.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-04-12 14:16:01 +02:00
Tomáš Kelemen (vudiq)
3607b900d0 RPi4: enable VULKAN support 2021-04-09 08:40:30 +02:00
Tomáš Kelemen (vudiq)
eaf9972e78 Lakka: drop dvb-firmware from all projects 2021-04-09 08:35:09 +02:00
Matthias Reichl
0270ae475f linux (RPi): config options for 5.10.25-e1499ba
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-26 15:51:59 +01:00
CvH
e367b4a71c
Merge pull request #5259 from HiassofT/le10-kernel-5.10.20+
linux (RPi): update to 5.10.23-13c4388
2021-03-20 07:14:31 +01:00
Matthias Reichl
6f812b15b9 linux (RPi): config options for 5.10.20-95b18fa
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:23:19 +01:00
Matthias Reichl
ee7b0c4a8a kodi (RPi4): update workaround to hide pixel wrap issue
Update with latest version from popcornmix's gbm_matrix branch.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:09:29 +01:00
Matthias Reichl
2909f02029 RPi4: fix incomplete kernel config after PR 5044
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>
2021-03-07 16:03:51 +01:00
CvH
16f32a6a23
Merge pull request #5044 from lrusak/linux-required-config
linux: check for required config options before building
2021-03-05 18:11:11 +01:00
Matthias Reichl
4a301de44c RPi: add udev rule to increase alsa buffer size to 1.2MB
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>
2021-02-26 00:10:37 +01:00
Lukas Rusak
0078d5e17e
RPi: linux: update kernel configs 2021-02-24 17:29:42 -08:00
Matthias Reichl
63c7994a28 linux (RPi): config options for 5.10.13-34263dc
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-16 16:42:46 +01:00
Matthias Reichl
b30315f5ba remove VALGRIND="no" from options files
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>
2021-02-08 22:07:38 +01:00
Matthias Reichl
a0fea36a91 RPi4: increase CMA memory default to 512MB
This is needed to play back some 4k HEVC files, eg
"Samsung Wonderland Two HDR UHD 4K Demo.ts" from
https://4kmedia.org/samsung-wonderland-two-hdr-uhd-4k-demo/

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-07 12:46:41 +01:00
Matthias Reichl
8db92a52d2 linux (RPi): config options for 5.10.11-c5f51df
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-05 13:02:55 +01:00
Matthias Reichl
48e1c5b7e9 linux (RPi): enable ARM_MODULE_PLTS
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>
2021-02-05 13:02:55 +01:00
Matthias Reichl
fccb16ea2a linux (RPi): config options for 5.10.9-02dbfea
Enable NVMEM_RMEM=m on RPi4

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-05 13:02:55 +01:00
Matthias Reichl
3c75529d14 kodi (RPi4): update workaround to hide pixel wrap issue
The updated version fixes the "atomic commit failed" issues
that were present in the previous workaround.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-04 12:17:03 +01:00
Matthias Reichl
5e3b9a689c RPi4: use vc4-kms-v3d dtoverlay in distroconfig
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>
2021-01-25 10:24:17 +01:00
Matthias Reichl
01e90a2882 kodi (RPi4): add workaround to hide pixel wrap issue
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>
2021-01-25 10:23:53 +01:00