Commit graph

18 commits

Author SHA1 Message Date
GavinDarkglider
6fb5ad6fee
Cleanups, More LibreELEC Stuff, more permission fixes, Misc switch stuff. (#1930)
* libCEC: Update to 6.0.2

* L4T: Switch-bsp: Fix typos

* Switch: Fix all permission issues with running kodi as a non-root user.

* L4T: Switch: Minor code cleanups

* Add upower and libgudev so kodi can get battery stats

Upower was removed from libreELEC in 2013 with this commit: 3a130cd500
This was a stupid choice as it is the only option in kodi for supplying any battery statitistics. Currently broken.
This patchset: https://github.com/xbmc/xbmc/pull/17327/commits for kodi seemingliy wants to fix the issue(Doesnt, is more of a new way to deal with dbus in general), but will still require that upower be available for battery.

* Switch: LibreELEC: Peripheral.Joystick: Fix Add Patches from PR's upstream to fix issues with udev devices

* Switch: LibreElec: Peripheral.Joystick: Add Nintendo Switch udev joystick mappings

* Switch: LibreELEC: Peripheral.Joystick: Force Udev controller driver as default.
2024-02-17 18:33:15 +02:00
GavinDarkglider
66e50e96b9
Lakka v5.x switch 6 (#1926)
* L4T: Fix/Enable NVV4l2 decoder in libreelec builds.

* L4T: LibreELEC: Allow Kodi to run as root

* L4T: Small Tree Cleanup

* Bluez: Switch: LibreELEC: Fix fast connect on all switch builds, not just lakka.

* L4T: Finish ffmpeg 6.0 patchset

* L4T: Fix building newer libcec for switch

* L4T: switch-bsp: Update dock hotplug to check distro stuff, before integrating CEC and bump version.
2024-01-29 20:49:02 +02:00
Demetris Ierokipides
f42c582467 Switch: remove ra patch 2023-12-11 19:21:21 +02:00
Demetris Ierokipides
f347fd3433 switch: remove offending patch after retroarch update 2023-12-10 20:17:51 +02:00
GavinDarkglider
4d743d3c68
Lakka v5.x switch 3 (#1895)
* Switch: Bootloader: Fix boot.scr issues, fix issue in updater, and bump package version

* Joycond: Switch: Update

* L4T: Switch: Retroarch: Add patch to fix single joycon detection

This patch is included in upstream PR #15818

* Lakka: Wii-u-gc-adapter: Enable service when building image

* L4T: Switch: Add wii-u-gc-adapter to build

* L4T: Switch: retroarch add canary support to updater

* Lakka: Retroarch: Add Canary path support for updater

* Retroarch: Switch: Add patch for canary builds

* L4T: BusyBox: Fix Password Generation

* Busybox: Make DISTRO user password creation match switch busybox package

* L4T: tegra-bsp: Update 10-monitor.conf to fix vsync/tearing issues
2023-10-29 22:58:45 +02:00
GavinDarkglider
cae4ac3f4c
Fix Switch Issue's in upstream 5.x (#1888)
* Retroarch: Hack in extra repo until PR is merged and remove old patches

* ppsspp: Fix ffmpeg build script

* Switch: Retroarch: Update PR version
2023-10-05 01:42:20 +03:00
GavinDarkglider
dc34f7aa87
Lakka v5.x switchroot 5.1.2 (#1871)
* Update kernel to 5.1.1

* L4T: Switch: Build Xpadneo as module, as building in doesnt work

* L4T:Switch: Update Switch Uboot

* L4T: Switch: Update switch-bootloader

* Packages: FFmpeg: L4T: Update nvv4l2 patchset to latest

* [temp]Bluetooth fix

* Update kernel to dev version

* Update Switch U-Boot

* Switch: Kernel: update to switchroot 5.1.2 kernel

* Switch: Update Platform_init

* Switch: Update Switch BSP package joycon pairing script

* Switch: Update Bootloader to 5.1.2
2023-08-30 04:05:32 +03:00
GavinDarkglider
47c07c60ba
[WIP]Lakka 5.x Switch changes..... (#1853)
* Latest 4.3 changes poorly merged

* Build fixes

* Squash?

* Fix ppsspp on switch

* Fix video recording, add base stuff for nvv4l2 decoder/encoder, but leave disabled for now

* Clean up left over files

* Switch: Dont build xpadneo driver, but install configs

* FFMpeg: Add back L4T decoder Patches
2023-06-10 03:16:27 +03:00
GavinDarkglider
1c3e314011
Lakka-v4.x:Switch: More fixes/workarounds (#1807)
* Switch: Initial kernel cleanup

* Switch: Mariko: Attempt to fix gadget attach to UDC issue

* Switch: Cleanup initramfs and copy XUSB firmware for mariko to initramfs

* Retroarch: Add Switch lite Controller Workaround to pre-start script

* Switch: bootloader: Fix R2P syntax issue with new driver

* L4T: Fix get_l4t-kernel-sources script sha256 checks
This is far from the finished version, but it should fix kernel nightly issues

* L4T: Switch: update config/script packages versions for nightly

* L4T:Switch:Bootloader: Small cleanups, and add hekate icon for LibreELEC
2023-01-22 00:18:58 +01:00
GavinDarkglider
8d3d047ff7
[WIP]Lakka-v5.x:Switch:New Bootloader and Mariko(2019 switch, Lite, OLED) Support (#1801)
* Switch: Switch to new Bootloader.

* Initial Mariko Support

* ffmpeg: Fix issues caused by last libreELEC upstream merge.
2023-01-21 18:55:20 +01:00
GavinDarkglider
adfb67ff3c
[WIP] Switch: More Switch stuff. (#1759)
* Switch: Update kernel and kernel config

* Switch: Bootloader: update boot.txt with usb3 disable fix for UDC

* Switch: Add XUSB firmware for t210b01(Mariko) consoles

* Switch: Update UCM to work for Frig
2023-01-21 18:44:49 +01:00
GavinDarkglider
c16def7032
Lakka-v5.x Switch Support Fixes (#1753)
* Switch: it builds

* Switch: Use udev to finalize usb gadget to save from systemd looping service restart until cable connected.

* Switch: Update kernel stuff again

* Switch: Downgrade Alsa packages to version in 4.x tree

* Joycond: Update Switch version

* Switch: Minor fixes

* LibreELEC: Fix a few broken files from upstream pull

* Switch: Fix LibreELEC build.

* Switch: Update bootloader stuff

* L4T: FFMPEG: Add support for nvv4l2 decoder/encoder

* FFMPEG: Add back encoder support for game recording in retroarch

* FFMPEG: revert a few changes, and add support for vulkan.
2023-01-21 18:40:08 +01:00
Tomáš Kelemen (vudiq)
acf941af47
update RetroArch to 1.10.1 + all cores to current
* ppsspp: kept at 1.12.3
* retroarch: removed patch for Switch merged upstream
2022-04-07 22:46:36 +02:00
GavinDarkglider
f6f6a2a455
Fix recording/streaming in Lakka 4.x builds Few other minor fixes..... (#1617)
* Add Xvideo Extension Support

* Fix moonlight dependencies

* Fix retroarch recording/streaming.

* Fix melonds for tegra210 builds
2022-03-03 22:02:36 +01:00
GavinDarkglider
57ab31843d
Latest Lakka Switch Patches (#1600)
* Update kernel Config/patches for CEC support

* Add base CEC support to dock-hotplug, and make so support can be disabled via uenv.txt

* Add working libcec package for L4T, and enable CEC support in packages.

* Fix pulseaudio-alsa routing

This fixes using other audio backends(Alsathread, Alsa, TinyAlsa) in retroarch via dock or bluetooth.

* Downgrade GCC in L4T builds

This fixes issues revolving around undefined symbol: __aarch64_ldadd4_acq_rel issue with gcc 10

* Fix updater for switch builds
Only tested working with tar archives.

* Edit retroarch default settings for the switch.

* Fix pulseaudio changing sink volume issues.
2022-03-03 21:51:20 +01:00
GavinDarkglider
800557a248
More Nintendo Switch fixes (#1548)
* Downgrade glibc to 2.27 for L4T Builds.
* Downgrade binutils to 2.32 for L4T Builds.
* Update L4T Project Options
* Refactor tegra-bsp package
* Import/Rebase CTC's ffmpeg patches, and switch decoder to nvv4l2 from nvmpi. Fixes decoder issues
* Enable all disabled cores
* Remove hack in busybox package to dump firmware into L4T Builds, we now handle this in tegra-bsp package.
* More L4T project cleanups
* Bring switch-bootloader package.mk inline with upstream formatting
* Fix reboot_payload
* Add proper tegra-bsp:init support
* Bootloader cleanups, seperate bootloader stuff for libreelec builds
* Update init for supporting all distros on Nintendo Switch
* Add proper splash images for libreelec builds.
* Final bootloader fixes
* switch-bootloader-merge-fixes
* Fix uboot merge issues
* fix bmp
* It all builds
* add Basic USB Gadget(Serial console only)
* Properly fix mtp, and finish gadget stuff
2022-03-03 21:48:22 +01:00
GavinDarkglider
3a8bf282c6
[WIP] More switch/l4t stuff (#1543)
* Update UCM, Add initial LibreELEC build changes, Add alsastate save/restore, remove old ffmpeg from switch builds
* Add mount to switch build for cheats
* Add support for nvmpi to new ffmpeg
* L4T/Switch: use Python3
* L4T: use upstream openssh package
* openssh: add Switch specific patch for keydir
* project/device options cleanup, typos, other fixes
* moonlight: move the core to lakka packages, build for other targets
* rearange a few patches
* L4T: use upstream xorg-server package
* L4T: use upstream libglvnd package
* L4T: use upstream mesa package
* L4T: use upstream util-linux package
* Remove xpadneo from L4T builds

Co-authored-by: Tomáš Kelemen (vudiq) <vudiq@vudiq.sk>
2021-11-20 12:19:31 +01:00
GavinDarkglider
c03d8024fb
Add support for Nintendo Switch (#1536) 2021-10-27 13:36:27 +02:00