Commit graph

414 commits

Author SHA1 Message Date
Jernej Skrabec
1ef16a3c31 Rockchip: ffmpeg: Remove moved patch 2021-04-11 19:27:31 +02:00
Tomáš Kelemen (vudiq)
eaf9972e78 Lakka: drop dvb-firmware from all projects 2021-04-09 08:35:09 +02:00
Christian Hewitt
72e4b374fe
Merge pull request #5211 from heitbaum/kernel51020
[Allwinner,Generic,Rockchip] linux: Update to 5.10.21
2021-03-08 17:30:34 +04:00
CvH
3c526a73e8
Merge pull request #5201 from knaerzche/rk-fixes
Rockchip more fixes
2021-03-08 11:47:17 +01:00
heitbaum
f0e8ff199e linux (Rockchip: RK3328): update linux.aarch64.conf with CONFIG_KCMP=y 2021-03-08 06:04:14 +00:00
heitbaum
0405f7d8c0 linux (Rockchip: RK3288): update linux.arm.conf with CONFIG_KCMP=y 2021-03-08 06:04:14 +00:00
heitbaum
ae1554eb65 linux (Rockchip: RK3399): update linux.aarch64.conf with CONFIG_KCMP=y 2021-03-08 04:22:35 +00:00
heitbaum
68d3cd6bee linux (Rockchip): Remove patches included in 5.10.20 2021-03-07 22:04:40 +00:00
Alex Bee
6c47c60b8a Rockchip: linux: add patch to work arround CEC issues in dw-hdmi
This patch is no longer required for any of my devices (what it was
in previous kernel versions): as it seems to provide no harm and might
still be neccessary for other HDMI sinks I'm re-adding it here.
2021-03-07 19:48:54 +01:00
Alex Bee
845e6c61d7 Rockchip: RK3288: linux: drop support for foreign DRM systems 2021-03-07 18:51:58 +01:00
Alex Bee
2c0beadd89 Rockchip: linux: add support for (more) BT (USB) devices and HCI protocols 2021-03-07 18:27:25 +01:00
Alex Bee
808af2095a Rockchip: linux: enable all relevant arm/neon/armv8.0 crypto extensions
Also: Build all of them in kernel instead of a module
2021-03-07 17:56:32 +01:00
Alex Bee
4ae6d4de50 Rockchip: linux: align HID and input devices support with other projects
Enabled only joysticks which are (directly) connected to USB and not enabled
any touchpad or touchscreen devices as they are not relevant
2021-03-07 17:02:19 +01:00
Alex Bee
d96b101fb9 Rockchip: linux: add recommended linux options for systemd
As per https://github.com/systemd/systemd/blob/main/README
2021-03-07 15:36:39 +01:00
Alex Bee
280a53febb Rockchip: linux: align FS, partition and block devices support with other projects
Added support for ISO9660/JOLIET/ZISOFS/UDFS, F2FS, HFS, ReiserFS, XFS, enabled FS cache,
added MAC / Windows LDM partition support, added CD-/DVD-ROM block devices support
and dropped UBIFS support.
2021-03-07 15:15:37 +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
Alex Bee
174ecbb07e Rockchip: add workarround for broken CSC RGB to YUV444/YUV422
This conversion results in slightly to dark colors for RK - prefer
RGB over YUV formats for now.
2021-03-03 21:13:13 +01:00
Alex Bee
cbae81460f Rockchip: bootloader: use rk3288-tinker-s.dtb for updates
Since we using rk3288-tinker-s.dtb as default device tree for images
for TinkerBoard, we should use it for updates as well instead of
rk3288-tinker.dtb
2021-03-02 13:10:08 +01:00
Alex Bee
57e42c6328 Rockchip: device tree fixes
Enable FE phy for Beelink A1, since we using this as a "box" image, so that
ethernet works on foreign devices which don't have a external GE phy.
Also: add cec pinctrl settings for RK3288 miqi.
2021-03-02 13:06:12 +01:00
Alex Bee
b0cb56556f Rockchip: RK3288: fix 2160p@60Hz modes
Has only been observered on a Samsung 4K TV
2021-03-02 12:58:13 +01:00
Alex Bee
04f5f99bdd Rockchip: RK3399: add FUSB302 driver
Most RK3399 boards having a FUSB302 Type-C controller: add the driver to support it.
2021-02-28 11:15:07 +01:00
Alex Bee
2afcb318eb Rockchip: allow edid firmware loading
Allow drm edid "firmware" loading via kernel commandline for Rockchip
2021-02-28 11:15:03 +01:00
Alex Bee
d2e0f4bc65 Rockchip: add fixup patches 2021-02-28 11:14:59 +01:00
Alex Bee
e180ad745f Rockchip: RK3288: drop CONFIG_CRYPTO_DEV_ROCKCHIP
Using this driver crashes the SoC: drop it.
2021-02-28 11:14:54 +01:00
Alex Bee
50336190c4 Rockchip: reduce number of images
In order to reduce the number of images, I trimed to build only the most basic version which allows to boot all revsions and has all capabilities we need. (People can replace dtb from /usr/share/bootloader)
I also dropped some boards where I found shortcomings in the device tree which might be easy to solve but I can't test and they were not supported in earlier releases.
2021-02-28 11:14:51 +01:00
Alex Bee
7138427c79 Rockchip: RK3288: drop kernel toolchain
There is no need to use a specific kernel toolchain for RK3288 - both u-boot and kernel build fine with the LE arm toolchain.
2021-02-28 11:14:43 +01:00
Alex Bee
a0b381897b Rockchip: add mapping for mainline device trees
This adds a mapping for device trees which differ between vendor and mainline kernel and will therefore allow updates to new releases.
The old ones will be replaced by the new, or at least most appropriate (in case of RK3328 box devices), devicetrees in mainline kernel.

Besides a warning will be shown now if the device tree that the installation uses does not exist in the update tarball.
2021-02-28 11:14:19 +01:00
Alex Bee
a2c61d7906 Rockchip: allow updates for MiQi and Tinker devices
MiQi and Tinker devices have been merged to RK3288 device at some point after LE9.2 release.
This allows updating for them as well through mapping to the new RK3288 device.

While at that also drop the pointless check for kernel versions.
2021-02-28 11:13:13 +01:00
Alex Bee
dc5fc13722 Rockchip: convert bootloader scripts to new syntax
Done using fixlecode.py
2021-02-28 11:11:40 +01:00
heitbaum
8b84f35550
linux: Rockchip: RK3288: enable required config options 2021-02-24 17:29:42 -08:00
heitbaum
34ffa50f66
linux: Rockchip: RK3328: enable required config options 2021-02-24 17:29:42 -08:00
heitbaum
d2cdd6a65d
linux: Rockchip: RK3399: enable required config options 2021-02-24 17:29:42 -08:00
CvH
fa79b5d00f
Merge pull request #5113 from heitbaum/kernel51013
[Allwinner,Generic,Rockchip] linux: Update to 5.10.17
2021-02-18 12:11:17 +01:00
heitbaum
f50ab81165 Rockchip: linux: Remove patches included in 5.10.17 2021-02-17 21:41:14 +00:00
heitbaum
c1062e8568 linux: update linux.conf to reflect compiled with 5.10.17 2021-02-17 21:41:14 +00:00
Alex Bee
cbf7a3cbf2 Rockchip: add common bootloader config 2021-02-17 21:48:38 +01:00
Alex Bee
2800cc2795 Rockchip: RK3399: add support for PCIE wifi devices
Now that we have PCIE support for RK3399 we can also add support for
same PCIE wifi chipsets - this also adds some firmware to RK3399 images
which is required by some of them.
2021-02-16 16:46:34 +01:00
Alex Bee
8224a07880 Rockchip: add ffmpeg/kodi patches for HW deinterlacing
Patches are taken from AW (written by @jernejsk) with small change from me
(which also made its way to AW patches)
2021-02-16 16:43:50 +01:00
Alex Bee
4e4e3fe650 Rockchip: add IEP driver
I wrote the driver some month ago and have been testing it on everday
basis since then (by just using it). I will have to add some more
functionality before upstreaming it, since the IP supports way more
then just deinterlacing - however: thats the only use-case for kodi now.
2021-02-16 16:42:42 +01:00
Alex Bee
8b7f2f8a1b Rockchip: RK3288: add HEVC decoding support
The current rkvdec HEVC code can be taken as-is, I only had to add some
seperation for the versions to ensure it won't be taken for H264/VP9 on RK3288.
2021-02-16 16:40:04 +01:00
Alex Bee
4935aaecf3 Rockchip: linux: update patches
This contains some new patches from drm mailing list along with
some devicetree fixes, that were required for LE to run correctly.
2021-02-16 16:37:24 +01:00
Lubomir Rintel
0d904c4685 Rockchip: RK3399: linux.aarch64.conf: enable CONFIG_MEDIA_PCI_SUPPORT
The Rockpro64 board has a PCIe slot. Let's enable CONFIG_MEDIA_PCI_SUPPORT
and a handful of drivers, at suggestion of knaerzche.

To pick a sensible set of drivers, I've started with enabling all that
were made accessible by MEDIA_PCI_SUPPORT=y, then disabled those that
are not enabled elsewhere (notably linux.x86_64.conf) and followed by
disabling ye olde parallel PCI cards. Hopefully I got that right.
2021-02-15 19:23:34 +01:00
Lubomir Rintel
7cbe84f258 Rockchip: RK3399: linux.aarch64.conf: enable CONFIG_SATA_AHCI
Rockpro64 optionally ships with a storage case [1] intended to host a
PCIe SATA controller and hard drives. This is useful for a media
library.

[1] https://wiki.pine64.org/index.php/NASCase

This enables CONFIG_ATA=m and CONFIG_SATA_AHCI=m, the rest is set to
defaults.
2021-02-11 21:18:57 +01:00
Lubomir Rintel
e7c64e2037 Rockchip: RK3399: linux.aarch64.conf: enable CONFIG_PCI
The Rockpro64 board has a PCIe slot. This essentially enables
CONFIG_PCI=y and CONFIG_PCIE_ROCKCHIP_HOST=m; the rest that this patch
enables are defaults.
2021-02-11 21:15:59 +01:00
CvH
91cf0cd87f
Merge pull request #5059 from lrusak/gcc-package-update
GCC toolchain updates
2021-02-06 20:04:15 +01:00
Alex Bee
08307d58ff mesa: add patch to fix YUV to RGB conversion
This adds a patch to mesa that fixes color space conversion for
lima GPUs and allows to drop a kodi hack that was need to allow
SW decoing on mali 4xx GPUs for Rockchip.

For details see: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8549#note_785097
2021-02-01 17:39:09 +01:00
Lukas Rusak
e24695004c Rockchip: RK3399: linux.aarch64.conf: add CONFIG_ARM64_BTI_KERNEL=y 2021-01-29 09:19:10 -08:00
Lukas Rusak
80f9538550 Rockchip: RK3328: linux.aarch64.conf: add CONFIG_ARM64_BTI_KERNEL=y 2021-01-29 09:18:56 -08:00
Alex Bee
7d0199bbd4 rockchip: linux: Remove patches included in 5.10.11
Additionally dropped no longer required inux-1000-export-mm_trace_rss_stat.patch
and updated kernel configs
2021-01-28 17:45:40 +01:00
Alex Bee
1886328e39 rockchip: add USB media drivers 2021-01-26 00:27:34 +01:00