Commit graph

21 commits

Author SHA1 Message Date
GavinDarkglider
8c70c4924b
[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.
2022-12-25 04:32:18 +02:00
GavinDarkglider
0d79444707
[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
2022-11-10 16:31:54 +02:00
GavinDarkglider
bb321a5eed
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.
2022-10-13 21:05:34 +03:00
Demetris Ierokipides
349084a3e0 Fix switch assets dir leftover 2022-10-11 19:02:00 +03:00
David Lawson
add852f071
retroarch: fix mount source of shaders directory (#1757) 2022-10-10 23:47:29 +03:00
David Lawson
008812476e
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
2022-10-09 23:33:50 +03:00
GavinDarkglider
9e969c418d
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
2022-08-03 20:43:23 +03:00
GavinDarkglider
b56f4dc9c6
Switch: Update kernel sources to use versions with latest fixes. (#1718) 2022-07-21 23:12:35 +03:00
GavinDarkglider
df536d5e8a
[WIP] Lakka Switch V4.2-V4.3 fixups (#1692)
* Add patch to glibc that should have been there a long time ago.

* Initial wireguard support

* Bluetooth stack fixes, removes need to disable ertm for xbox controllers.

* Switch to xpadneo over xpad
2022-06-04 15:23:44 +03:00
GavinDarkglider
c4f65eb837
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-03-24 16:14:15 +01:00
GavinDarkglider
170410d70a
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-03-14 22:52:20 +01:00
Tomáš Kelemen (vudiq)
d2d1140f4e
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-03-10 18:39:30 +01:00
GavinDarkglider
683f8c34de
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-03-10 18:17:48 +01:00
Tomáš Kelemen (vudiq)
4a4f17ced4
update RetroArch to 1.10.1 + all cores to current
* ppsspp: kept at 1.12.3
* retroarch: removed patch for Switch merged upstream
2022-03-04 22:26:51 +01:00
Tomáš Kelemen (vudiq)
51a434e745
add melonds via distro-options to Switch.aarch64 2022-02-27 20:01:54 +01:00
GavinDarkglider
927e258148
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-02-27 18:38:45 +01:00
GavinDarkglider
bf38e1520f
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-02-21 10:10:20 +01:00
GavinDarkglider
82e5d624f6
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
2021-11-24 00:06:43 +01:00
Tomáš Kelemen (vudiq)
4d8ce4d8f7
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-14 17:50:08 +01:00
GavinDarkglider
79731adc6a
[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-03 08:22:33 +01:00
GavinDarkglider
4d58d3cf00
Add support for Nintendo Switch (#1536) 2021-10-27 09:47:55 +02:00