Commit graph

23 commits

Author SHA1 Message Date
Tomáš Kelemen (vudiq)
6d1ce60e00
L4T/binutils: add patch to add missing include 2024-05-17 14:31:27 +02: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
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
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)
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
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
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
af6be3378a
Fix Switch build in new tree (#1687) 2022-04-23 21:36:57 +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
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
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