Commit graph

45 commits

Author SHA1 Message Date
GavinDarkglider
988937084e
Switch: U-Boot: bump version to 2024-NX02 (#1946) 2024-05-20 09:21:10 +02:00
Tomáš Kelemen (vudiq)
6d1ce60e00
L4T/binutils: add patch to add missing include 2024-05-17 14:31:27 +02:00
Rob Loach
9d5e4aaa49
retroarch: remove tmp-cheat.mount directly (#1972) 2024-05-05 20:43:10 +02:00
Rob Loach
2f60c709f6
retroarch: fix the cheats directory mounting (#1971)
* retroarch: update the cheats mount directory

* retroarch: update user directory for cheats
2024-05-02 01:05:49 +03:00
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
GavinDarkglider
3638f11057
L4T: Xorg-server: Fix build issue (#1924) 2024-01-22 16:51:42 +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
7d0d1b53a8
Lakka v5.x switch 4 (#1898)
* L4T: Switch: Dont set canary path for official builds

* mergerfs: add patch to fix makefile
2023-11-03 01:35:10 +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
d9c504704e
Minor Switch Changes (#1893)
* L4T: Kernel: Add back wireguard patches

* Retroarch: Update to version with latest switch changes, and revert hack to use special repo on those builds.
2023-10-11 22:16:59 +03: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
Tomáš Kelemen (vudiq)
c29ef8fdd5
L4T/Switch: remove duplicate alsa-utils package 2023-01-23 09:19:06 +01:00
Tomáš Kelemen (vudiq)
e9295ce301
L4T/openssl: ffmpeg requires newer openssl
however this breaks lr_moonlight, which expects older openssl
2023-01-23 09:16:50 +01:00
Tomáš Kelemen (vudiq)
8af5f81055
ethtool/Switch: move package.mk to the correct folder 2023-01-23 00:42:34 +01:00
Tomáš Kelemen (vudiq)
3442c8883e
ethtool/Switch: add older version from Lakka 4.x branch 2023-01-22 22:29:15 +01:00
Tomáš Kelemen (vudiq)
71481961ae
alsa-lib/L4T: remove duplicate package 2023-01-22 21:41:07 +01:00
Tomáš Kelemen (vudiq)
d15d91beb8
L4T/alsa-topology-conf: remove duplicate package 2023-01-22 09:39:33 +01: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
Tomáš Kelemen (vudiq)
f36c7dba38
L4T/alsa-ucm-conf: remove duplicate package 2023-01-21 23:51:43 +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
Demetris Ierokipides
c6e159b9f0
Fix switch assets dir leftover 2023-01-21 17:59:23 +01:00
David Lawson
7db920f347
retroarch: fix mount source of shaders directory (#1757) 2023-01-21 17:53:54 +01:00
David Lawson
13fb43105d
Fix retroarch tmp- mount paths (#1754)
* retroarch: fix assets mount source

* retroarch: change /usr/share/retroarch-system to /usr/share/retroarch/system to match other mounts

* retroarch: change /usr/share/retroarch-overlays to /usr/share/retroarch/overlays
2023-01-21 17:27:06 +01:00
GavinDarkglider
4f8d2a57e9
WIP - Add Support for Ayn Odin (#1713)
* Initial fully buildable/bootable Odin Support

* Rework NX-Boot to FAT32 Boot for shared usage between switch and odin

* Move shared packages from switch/odin to main packages folder
2023-01-21 16:11:38 +01:00
GavinDarkglider
099004d672
Switch: Update kernel sources to use versions with latest fixes. (#1718) 2023-01-21 15:08:41 +01:00
GavinDarkglider
af6be3378a
Fix Switch build in new tree (#1687) 2022-04-23 21:36:57 +02:00
Tomáš Kelemen (vudiq)
d6271d6eb2
L4T: set WINDOWMANAGER to "no" 2022-04-09 19:02:37 +02:00
GavinDarkglider
07b6cc4043
Lakka L4T/Switch Changes for v4.1 (#1644)
* Switch: Use versions of these firmwares supplied by kernel install

* Switch: Update kernel to latest

* Backup old uenv.txt on update.

* Update L4T ffmpeg patches
2022-04-07 23:53:36 +02:00
GavinDarkglider
7bcc9f42e2
Minor L4T/Switch changes before 4.x release. (#1631)
* Add support for 32.7.1 bsp

* Add option to uenv.txt to use performance governor.

* Add support for auto frequency changing based upon docking

* Add README.md to L4T Project since it is its own beast

* Fix flycast issues in L4T builds, by reverting back to upstream libretro master, which actually has support for nano platform
2022-04-07 23:24:30 +02:00
Tomáš Kelemen (vudiq)
49a25a0c5e
Lakka: add boom3 and vitaquake3 to LIBRETRO_CORES env
- so they can be updated using `libretro_update.sh`
- exclude for all targets except Switch
2022-04-07 23:04:59 +02:00
GavinDarkglider
8a48e6f2c5
Cleanup decoder/encoder stuff for L4T Builds, update some things, fix GLES building, but keep GL build. Other Minor cleanups. (#1623)
* Update L4T encoder/decoder to latest version which is 70% faster at 1080p

* Add vulkan support to ffmpeg

* Add vitaquake3 and boom3 cores for switch builds

These cores are considered broken, but starting, so maybe in the future they will be more reliable.

* Run dock-hotplug before starting retroarch.

This Will properly force DPI if booted on dock, and audio switching. It also has the added bonus of force fixing audio issues where speakers randomly dont work on boot."

* Update Kernel Repos

* update libglvnd

* update xf86-video-nouveau

* Build mesa properly in L4T LibreELEC builds.

* Update L4T build config for retroarch to fix building with support for EGL/openGLES.
While L4T supports EGL/OpenGLES, and the issue building for it is fixed,
we arent switching now though because moonlight core doesnt support it.

* Exclude moonlight core in Lakka builds that use openGLES over openGL, as openGLES is not supported

* Use openGLES in LibreELEC builds, as that is what upstream is targeting
2022-04-07 23:04:13 +02: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
a7d10cb59b
[WIP] Fix Decoder issues with seeking in video stream, and moonlight streams, Add Proper support for HW Encoder to ffmpeg. (#1619)
* Update Decoder, fix all issues with seeking, and moonlight streams, Add Proper Encoder support.

* Remove libcec from l4t builds, as it doesnt work for us anyway
2022-03-03 22:05:10 +01: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
Tomáš Kelemen (vudiq)
26b15d6b7b
L4T: cleanup of packages
* remove old license headers
* remove obsolete PKG_ vars
* switch-coreboot|u-boot: use full commit sha (due to new get_git)
* switch-cpu|gpu-profile: fix dependencies and toolchain
2021-11-20 12:23:33 +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