Commit graph

80 commits

Author SHA1 Message Date
Demetris Ierokipides
c182853b14 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-11-10 16:37:40 +02:00
Matthias Reichl
55eb33a122 Revert "linux (RPi): temporarily change FIQ default in dwc_otg to off"
This reverts commit 0a7b9dfc75.

The issue has been fixed in the RPi linux kernel

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-10-27 14:29:29 +02:00
Demetris Ierokipides
cc0fbe363a Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-10-15 00:44:05 +03:00
Matthias Reichl
0a7b9dfc75 linux (RPi): temporarily change FIQ default in dwc_otg to off
Currently FIQ code is broken and locks up RPi2/3 on boot.
So don't enable it by default until the issue is resolved.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-10-03 22:01:52 +02:00
Matthias Reichl
700f3d2956 linux (RPi): update to 6.0-rc1-c8f4128
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-10-03 22:01:52 +02:00
Demetris Ierokipides
6e856cf717 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-09-12 02:18:57 +03:00
Rudi Heitbaum
6c19bec922 linux (RPi): patch to compile kernel 5.15 with binutils-2.39 2022-08-08 10:24:25 +00:00
David Lawson
933195d946
Revert rpi patches again (#1720)
* Revert "linux: restore raspberrypi linux patches (#1714)"

This reverts commit 5d05f25d52.

* rpi: add back patch for 240p composite output
2022-07-22 00:41:00 +03:00
David Lawson
5d05f25d52
linux: restore raspberrypi linux patches (#1714)
- put Lakka raspberry pi packages into the upstream raspberrypi directory to make future upstream rebasing/merging easier
 - rename ".backup patches" to ".backup_patches" to stop error messages during build
2022-07-09 15:36:45 +03:00
Matthias Reichl
2c1fdb3834 linux (RPi): update to 5.15.48-b34bf32
Drop linux-010-pr5052.patch, this is now in rpi kernel tree

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-07-01 18:04:04 +02:00
Matthias Reichl
6cf632cf0b linux (RPi): update to 5.10.110-89c0af7
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-06-09 15:14:27 +02:00
Matthias Reichl
c99de9c356 Revert "TEST linux (RPi): add patch to delay cec_phys_addr_invalidate"
This reverts commit a89289334e.

This patch does not seem to help so drop it.
2022-06-09 15:14:26 +02:00
Matthias Reichl
7042215a72 TEST linux (RPi): add PR5052
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-06-07 19:06:40 +02:00
sky42
22000a3b2e linux (RPi): fix dirty pipe CVE-2022-0847 2022-03-09 00:45:19 +01:00
Matthias Reichl
a89289334e TEST linux (RPi): add patch to delay cec_phys_addr_invalidate
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-02-07 13:19:46 +01:00
Matthias Reichl
e599d395b0 linux (RPi): update to 5.10.87-48f2346
drop video codec callback limit revert, this is now in RPi kernel, too

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-01-07 13:46:55 +01:00
Matthias Reichl
3486fa6b7d linux (RPi): update to 5.15.5-20426cd
drop VIDIOC_DQEVENT compat32 fix patch, this is now included in RPi
kernel tree

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-11-29 19:52:01 +01:00
Matthias Reichl
cc51ee6af6 linux (RPi): backport VIDIOC_DQEVENT compat32 ioctl fix
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-11-19 20:35:28 +01:00
Matthias Reichl
4df43bc619 linux (RPi): update to 5.15.2-027a7a8
drop linux-001-temp-revert-video-codec-callback-limit.patch, this
has been reverted in RPi repo, too.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-11-18 18:39:15 +01:00
Matthias Reichl
d0a33bc1c8 linux (RPi): temporarily revert video codec callback limit
The callback limit can cause stalls in kodi and ffmpeg, revert the
commit until a proper solution has been found.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-29 12:52:12 +02:00
Matthias Reichl
db0a5be3a6 linux (RPi): temporarily revert video codec callback limit
The callback limit can cause stalls in kodi and ffmpeg, revert the
commit until a proper solution has been found.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-29 12:50:11 +02:00
Matthias Reichl
b3930d74e3 linux (RPi): update to 5.10.25-e1499ba
zoom fixes are now in RPi kernel, dropped local patch

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-26 15:51:59 +01:00
Matthias Reichl
a86b37f7e6 linux (RPi): add patch to fix ELD constraints for compressed formats
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:23:19 +01:00
Matthias Reichl
045b80ded3 linux (RPi): update patch to fix zoom in video player
Replaced with version from PR https://github.com/raspberrypi/linux/pull/4215

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:23:19 +01:00
Matthias Reichl
ac9298d795 linux (RPi): update to 5.10.22-b2625fe
Dropped local HDMI audio FIFO patches, new version is now in RPi kernel.
The update also resolves the long standing flip_done timeout issues on
RPi3 and adds VC1 decoding via V4L2 on RPi0-3 (the latter needs a firmware
update which isn't released yet).

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:23:19 +01:00
Matthias Reichl
38b2c4172b linux (RPi): add patch to further increase HDMI DMA AXI priority
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-16 16:46:15 +01:00
Matthias Reichl
0d615b9ec6 linux (RPi): add patch to avoid full hdmi audio fifo writes on vc4
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-16 16:45:26 +01:00
Matthias Reichl
a05b83c640 linux (RPi): update to 5.10.13-431ac1d
IR timeout fix patch dropped, the fixes are now in stable kernel.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-05 13:02:55 +01:00
Matthias Reichl
9536da4564 linux (RPi): add patch to fix zoom in video player
This also fixes playback issues of 720p videos if no 720p modes
are whitelisted or refresh switch is disabled after the pixel-wrap
workaround commit 01e90a2882.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-27 19:09:45 +01:00
Matthias Reichl
1f7ec5438b linux (RPi): update to 5.10.7-c077470
drop LBM and scaler pos patches which are now in RPi kernel tree

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-20 12:21:32 +01:00
Matthias Reichl
a322ce1d0e linux (RPi): enable 4k modes up to 4kp30 on RPi4
Flickering vertical bars on 4k videos are fixed by the LBM PR,
black screen in kodi in 4096x2160 mode is fixed by the POS1_SCL patch.

Drop patch to hide 4k modes so RPi4 can support 4k modes up to 4kp30

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-17 22:55:52 +01:00
Matthias Reichl
cc2bf0c5ab linux (RPi): update to 5.10.5-a7eebc0
drop local patch to enable DMA_WIDE_SOURCE for hdmi audio dma,
extended version is now in RPi kernel

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-07 17:59:04 +01:00
CvH
3f649ab6e1
Merge pull request #4853 from HiassofT/le10-ir-timeout
linux: add patch to fix IR timeout handling
2021-01-06 16:22:38 +01:00
Matthias Reichl
d2ea7e0328 linux (RPi): add patch to enable DMA_WIDE_SOURCE for hdmi audio dma
This fixes DLATE errors and HBR passthrough cutting out.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-06 11:48:58 +01:00
Matthias Reichl
130ab1b3f4 linux: add patch to fix IR timeout handling
This fixes the "double button press" issue with nuvoton-cir
as reported on the forum.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-05 10:38:14 +01:00
Matthias Reichl
9635834760 linux (RPi): update patch to hide 4k modes
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-12-18 21:10:07 +01:00
Matthias Reichl
991e8cb478 linux: fix OUYA patch
The old help syntax has long been deprecated and removed from 5.9

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 20:18:15 +02:00
Matthias Reichl
02832883bf linux (RPi): update patch to hide 4k modes
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 20:18:15 +02:00
Matthias Reichl
f9e39ebd9a linux (RPi): update to 5.9-rc3-15e21e3
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 20:18:15 +02:00
Matthias Reichl
f358298383 linux (RPi): drop obsolete patches from popcornmix
Synced with https://github.com/popcornmix/linux/tree/kodi/rpi4-kms
Only the workaround to hide 4k modes is now left.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-08-17 12:48:19 +02:00
Matthias Reichl
e5269ee54d linux (RPi): update to 5.4.58-8adbcbc
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-08-13 11:44:31 +02:00
Matthias Reichl
a994dd5ae7 linux (RPi): update patches from popcornmix
sourced from https://github.com/popcornmix/linux/tree/kodi/rpi4-kms

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-10 20:07:29 +02:00
MilhouseVH
18b7fc2bc6 linux (RPi): fix perf with gcc-10 and 5.4.y 2020-06-24 20:56:40 +02:00
Jernej Skrabec
b7fa8c627b linux: fix building perf with -fno-common 2020-06-24 20:56:40 +02:00
Matthias Reichl
a300420076 linux (RPi): add patches from popcornmix
sourced from https://github.com/popcornmix/linux/tree/kodi/rpi4-kms

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-06-19 14:29:12 +02:00
Matthias Reichl
48ad174b38 linux (RPi): update to 5.4.44-3f54521
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-06-14 21:22:11 +02:00
MilhouseVH
6f6e862ae0 TEMP: linux: fix binutils-2.34 incompatability 2020-02-05 23:29:13 +00:00
MilhouseVH
277f5b100e Revert "linux (default, RPi): fix perf build with glibc 2.30"
This reverts commit 1239d6ccb2.
2019-09-18 22:06:49 +01:00
Matthias Reichl
1239d6ccb2 linux (default, RPi): fix perf build with glibc 2.30
perf build fails because glibc 2.30 includes a gettid() function:

jvmti/jvmti_agent.c:48:21: error: static declaration of 'gettid' follows non-static declaration
   48 | static inline pid_t gettid(void)
      |                     ^~~~~~
In file included from /home/hias/rpi/libreelec-master/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/unistd.h:1170,
                 from jvmti/jvmti_agent.c:33:
/home/hias/rpi/libreelec-master/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of 'gettid' was here
   34 | extern __pid_t gettid (void) __THROW;
      |                ^~~~~~

This has already been fixed in the 5.3 kernel tree. Add a backport
commit until the fix dribbles down into stable 5.2 or we swtich to 5.3.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-08-16 09:58:54 +02:00
MilhouseVH
1dd859ef45 linux (RPi/Generic): drop upstream patches 2019-07-15 14:30:41 +01:00