Commit graph

932 commits

Author SHA1 Message Date
David G. F
49f2b66071
Remove the RG351P/V rumble patch (#1308)
It produces random kernel panics. Until I figure out what the bug is,
disable this.
2021-05-21 03:17:33 +03:00
David Lawson
631eff4645
Joycon stuff (#1282)
* Add joycon kernel driver patches

* Add joycond
2021-05-06 01:23:30 +03:00
David G. F
12a3881fc8
Fix battery issue with RG351P/V (#1262) 2021-04-15 01:27:33 +03:00
David Lawson
433243cb41
Rpi: update to 5.10.25 (#1239)
* rpi4: update kernel to 5.10

* rpi: linux: remove upstreamed patches

* rpi: linux: rebase patches

* rpi: linux: fix ouya patch

* rpi: Update all kernel configs for 5.10.25
2021-04-05 16:41:33 +03:00
David G. F
a29c30590a
Map volume keys on RG351V (like OGA Super does) (#1236) 2021-04-02 21:34:42 +03:00
Tomáš Kelemen
b5ae0f6426
opusfile, rockchip buildfixes (#1234)
* opusfile: add openssl dependency

* rk3328+rk3399+oga: add linux patch - libcrypto
2021-04-02 03:12:12 +03:00
David G. F
6080d35956
Fix console rotation on OGA family and rumble on boot too (#1223)
This adds a new function hook that can be defined for devices that have
slightly different cmdline within the same configuration.
Remove vcchost regulator since it is not used and just makes the rumble
go crazy during kernel boot.
2021-03-23 20:49:33 +02:00
David G. F
b321acc50d
Fixes for RG350V: enable second MMC and Wifi (#1222)
This reenables Wifi (MT7601U) that was deleted by a previous commit.
Also enables the secondary SD card reader by fixing the voltages.
Finally re-enable low power OPPs that were disabled. This brings power
savings on idle mode and low demanding emus (in particular voltages are
lower for those points, reducing power consumption significantly)
2021-03-21 22:22:58 +02:00
David G. F
0f75e66986
Add support for RG350V (#1220)
Unfortunately there's no easy way to choose DTBs at u-boot time, so
keepting a separated image for now.
2021-03-21 00:31:31 +02:00
David G. F
6c07e387f9
Fix OGA builds (#1196)
* Fix OGA builds

No need for the u-boot patch, update the INI files instead.
Added the new userspace mali G31 blob and update the build script (we
pull headers still from Rockchip repo).
Add the RTL8821 patch to fix linux build with newer GCCs too.

This makes OGAs bootable again (tested it on OGA Super)

* Adding aarch64 support
2021-03-09 22:52:25 +02:00
David G. F
8784a602d6
Add gcc9 patch for OGA to fix builds (#1193) 2021-03-09 16:18:46 +02:00
Murad U
e925215274
Adding initial support for ODROID-Go Super (#1186)
* Initial ODROID-Go Super support

* Added missing libssl-dev dependency in Docketfile

* Reverted Retroarch version
2021-02-26 14:57:32 +02:00
David G. F
424b1d8d8f
Adding initial support for Gameforce CHI console (#1182)
This is essentially an OGA clone with a bigger (640x480) non-rotated
screen. Requires a joypad kernel patch (a copy of OGA's + small bits) and a new
DTB.

Changed a bit the way splash screens work, now you can specify proper
resolutions (instead of just vertical res) so that it works well for
cases like rotated screens.

Tweaked Retroarch to ship both drivers (DRM + GO2 DRM) and the GO2
driver to inhibit itself in case the console has a non-rotated display.
This should work for any console as long as the resolution is reported
correctly. The regular DRM driver should have 1 frame less latency!

What's not working: Console is still rotated (minor issue) and kernel
panics on poweroff :) Debugging it, but I'll need to solder the UART for
that.
2021-02-19 17:05:46 +02:00
Seth Barberee
dd68be8f61
RPi: VC4 (#1157)
* RPi: move to 5.4 and use vc4

* RPi1 functional now
2021-01-14 02:08:36 +02:00
David G. F
a5b663eb45
Fixing Rumble driver crashes due to race condition (#1149) 2020-12-27 15:57:32 +02:00
Ntemis
eda613ac4f Merge branch 'linux-5.9.13' of github.com:by-gnome/Lakka-LibreELEC 2020-12-12 23:11:46 +02:00
David G. F
444756c25b
Adding Kernel driver for RG351P gamepad + rumble, as a patch. (#1130)
This is a bit of a hardcore workaround, but it is actually simpler than
adding proper support for PWM rumble in Retroarch.
I tested it thoroughly on my RG351P, in particular the USB reconnect,
which is hard to get right.
2020-12-12 17:42:55 +02:00
Matthias Reichl
545fee04cb 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-12-12 11:52:52 +03:00
MilhouseVH
0257d505fc linux (Generic): drop obselete patch after upstream refactor
See: ba1e78a1dc
2020-12-12 11:52:43 +03:00
MilhouseVH
02842eb1bb linux (Generic): drop obsolete patch after major upstream refactor
See: 3e7abf8141
2020-12-12 11:52:33 +03:00
Seth Barberee
8163c7a912
clean up Rpi2/4 patches for linux5.4 and bluez (#1120)
* clean up Rpi2/4 patches for linux5.4 and bluez

* cleanup rest of bluez patches across Generic/NXP/OdroidXU3
2020-12-03 22:32:02 +02:00
Seth Barberee
438b2d3f09
[Rpi2/3] linux 5.4 (#1119)
* update Rpi2 to linux 5.4

* update kernel config
2020-12-03 00:59:21 +02:00
David G. F
cb58954d6b
Adding RG351P support, an Odroid Go Advance clone (#1105)
This console requires a separate DTS and a USB controller config.
U-Boot cannot reliably distinguish the two consoles since the HW ID
for it is the same as OGA v1.1 (looking into the schematics did not
yeld any GPIO differences that could be used for that).

I plan to dig a bit more into u-boot, perhaps enabling USB and
looking for the USB controller could be a way to differentiate them.
In the meantime this just adds another OGA flavor, which adds little
overhead to the build system.

Another TODO is rumble support, mapped to PWM1, which is not trivial
to support in RetroArch.
2020-11-18 20:01:16 +02:00
Demetris Ierokipides
466db8827a
Rpi4 total upgrade WIP (#1040)
* Rpi4: Restructure and update rpi4 kernel to the latest 5.4.64
- New audio alsa config
- Increase gpu ram to 384mb
- Use the mesa 3d driver

* RPi4:Add bluez patch

* Bump bcm2835-driver

* Bump rpi-eeprom package to the latest
Bootloader version: 2020-09-03
VL805: 0138a1

* Bump rpi family bootloader

* rpi: use systemd for cpufreq tuning

Signed-off-by: Ian Leonard <antonlacon@gmail.com>

* Rpi4:Bump linux to v5.4.65

* Bump alsa-lib package to v1.2.3.1 and patch rpi4 hdmi support

Co-authored-by: Ian Leonard <antonlacon@gmail.com>
2020-09-23 00:37:21 +03:00
Ntemis
8cd45c30ec Update X86/64 kernel to latest 5.4.61-LTS version 2020-08-28 21:26:22 +03:00
Ntemis
e379a76e42 Remove LE patch affecting rockchip kernel 2020-07-22 01:59:40 +03:00
Demetris Ierokipides
5766173240
Odroid Go Advance Support (#981)
* Lakka: Add RK3326 - Odroid Go Advance support

* odroidgo2: rename kernel

* libretro: fix some packages

* OGA:And there will be Cortex-A35 support in ARCH=arm

* RK3326: rename to OdroidGoAdvance

* uboot_helper: add missing bracket

* OdroidGoAdvance: fix bootloader and kernel

* OdroidGoAdvance: boots and shows a prompt!

* OdroidGoAdvance: enable wayland

* libretro-cores: new package, add master switch

* OdroidGoAdvance: have wayland use libmali's wayland-egl

* OdroidGoAdvance: fix wayland / wayland-egl dependency in RetroArch

* OdroidGoAdvance: boots to rotated RetroArch

* OdroidGoAdvance: add joypad autoconfig (to be upstreamed)

* OdroidGoAdvance: remove Wayland, go back to KMS

* odroidgo2: works without wayland, set xmb layout, update assets

* odroidgo2: oops

* odroidgo2: menu scaling adjustments

* Enable audio and headphone sensing (#905)

* retroarch: cleanup

* retroarch: remove XDG_RUNTIME_DIR envvar

* rkbin: cleanup

* odroidgo2: cleanup

* odroidgo2: cleanup x11 and wayland

* odroidgo2: please?

* odroidgo2: add proper splash

* Rockchip: disable UART serial console

* OGA:Add charging animation support on uboot

- Users have to burn this SPI flash update image and boot from it first
https://wiki.odroid.com/lib/exe/fetch.php?tok=bd1c8c&media=https%3A%2F%2Fdn.odroid.com%2FRK3326%2FODROID-GO-Advance%2Frecovery%2Fsdcard_recovery_200211.img

Signed-off-by: Ntemis <ierokipides.dem@gmail.com>

* retroarch: update

* Small libretro update

* Use proper flags for OdroidGoAdvance a35 (#908)

* OGA: Bump kernel
- Added esp8089 driver
- Fixes suspend and resume of rk817 codec
- Fixes rk817 battery driver temp prop

Signed-off-by: Ntemis <ierokipides.dem@gmail.com>

* Update Easyrpg to v0.6.2 stable

* OdroidGoAdvance: Add support for OGA v1.1 (#957)

Co-authored-by: natinusala <natinusala@gmail.com>
Co-authored-by: shantigilbert <shantic@gmail.com>
2020-07-14 05:47:17 +03:00
Matthias Reichl
c1e0fc7fce linux (RPi): update to 4.19.86-c078c64
support for the Kathrein RC6 remote has been backported to stable
so linux-901-extend-rc6-toggle-support.patch can be dropped.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-31 17:34:37 +01:00
MilhouseVH
1ebce4e7eb
Merge pull request #3606 from HiassofT/le92-kernel-4.19.56
linux (RPi): update to 4.19.56+
2019-07-11 08:45:01 +01:00
sky42
8c216956fd linux (Generic): update to linux-5.1.16
5.1.10 changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.10
5.1.11 changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.11
5.1.12 changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.12
5.1.13 changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.13
5.1.14 changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.14
5.1.15 changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.15
5.1.16 changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.16
2019-07-06 10:41:35 +00:00
Matthias Reichl
bb6cb4a18c linux (RPi): update to 4.19.56
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 09:35:36 +02:00
MilhouseVH
89c4916d11 linux (RPi/Generic/Allwinner): revert faulty Bluetooth commit
https://forum.kodi.tv/showthread.php?tid=343069&pid=2858940#pid2858940
https://forum.kodi.tv/showthread.php?tid=343068&pid=2859150#pid2859150
2019-06-15 06:26:29 +01:00
MilhouseVH
076d6c901a linux (Generic): update to 5.1.9 2019-06-15 06:26:29 +01:00
Matthias Reichl
707655ced2 linux (RPi): switch to 4.19.50
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-06-12 23:07:58 +02:00
Jernej Škrabec
13bd9b8829
Merge pull request #3375 from MilhouseVH/linux5.0.2+
linux (RPi/Generic): update to linux-5.0.7
2019-04-10 22:30:36 +02:00
Matthias Reichl
6c81019654 linux (Generic): drop obsolete libelf detection patch
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-04-03 14:09:02 +01:00
MilhouseVH
5f1ca7d94a linux (Generic): drop hda patch
@hiassoft:
"
It was added about 6 years ago, in early kernel 3.x days, probably meant to fix an issue with Nvidia ION, but rejected upstream - see discussion here
https://mailman.alsa-project.org/pipermail/alsa-devel/2013-February/059570.html

I think we should drop it as it could cause issues. If there's some issue remaining it needs to be handled properly without downstream patches
"
2019-03-27 10:13:06 +00:00
Matthias Reichl
ea767f15f5 linux: add patch to improve Xbox DVD remote performance
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-24 10:46:14 +01:00
Matthias Reichl
fdf75059dd linux: add backport patch to add RCMM IR decoder
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-03-24 10:45:57 +01:00
Christian Hewitt
820d962a92 linux: remove amlogic-3.10 patch dir 2019-03-23 14:23:55 +04:00
MilhouseVH
b06df1cdc0 linux (Generic/RPi): RC6 toggle support now upstream 2019-03-11 03:31:52 +00:00
MilhouseVH
c186601548 linux (Generic/RPi): XBOX remote support now upstream 2019-03-11 03:31:52 +00:00
Matthias Reichl
679200f328 linux: add patch to fix Zotac IR remotes
Zotac remotes use the customer code 0x80340000 and need the same toggle
bit handling as MCE remotes.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-02-03 14:33:13 +01:00
CvH
180b76bee0 linux (Generic): add DVBSkyS960 fix 2019-01-13 13:02:37 +01:00
CvH
cc434878bf linux (RPi): add DVBSkyS960 fix 2019-01-13 13:02:32 +01:00
MilhouseVH
09181ba7d8 linux (RPi): update to linux-f2bea78 (4.19.2) 2018-11-15 12:02:24 +00:00
MilhouseVH
0701952826 linux (Generic): update to linux-4.19.2 2018-11-13 23:39:42 +00:00
MilhouseVH
15bacda921 linux (Generic): update to linux-4.19.1 2018-11-04 16:14:46 +00:00
MilhouseVH
75fefcaf9a linux (Generic): r8169: fix broken Wake-on-LAN from S5 (poweroff) 2018-10-25 17:52:09 +01:00
MilhouseVH
6c5e314372 linux (Generic): drop "drm/i915: Interactive RPS mode" - now upstream
https://bugs.freedesktop.org/show_bug.cgi?id=107111#c13
2018-10-25 14:49:46 +01:00