0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 11:31:22 +00:00
GavinDarkglider 3cc9dbb9ca Switch: Tons of fixes, with poor commit history. lol. (#1839)
* Switch: Minor kernel config update

* fat32-boot: Attempt to fix umounting flash partition to prevent possible corruption on reboot

* Switch: Bootloader: Fix mistake in boot.txt that wasnt properly setting up dvfsb stuff

* Switch: Add user for retroarch to run as

* Busybox: Fix writing flash partition when using fat32-boot option to give all users write access

* Audio: Pulseaudio-configs: Minor updates for use when running apps as non root user

* Switch: Finalize changes so for running as non root user.

* Retroarch: Revert broken WAR in retroarch-config script

* Switch: Fix default retroarch config, to work out of box with new user

* Fix retroarch controller configs for switch, and add line to fix it to the update.sh file

* Add back missing lite gamepad config, which got lost in a rebase somewhere

* Retroarch: Start Reworking Switch Clocks

* Switch: Bump switch specific package versions, and add changes needed to make built in lakka clock speed menu work properly. Also hide gamemode.

* Retroarch: add patch to remove game mode from menu to all builds

* Switch: dont enable overclock by default

* sort

* Sort me.

* Switch: Drop old flycast from switch build in favor of newer core.

This has some issues with some games showing artifact bars using vulkan renderer,
but also fixes a lot of issues. As a work around to this issue, users can set opengl renderer, and the bars will not be there.

* More to sort

* Fix CEC stuff

* Fix dock audio switching with new user config

* WIP: GPU Clocks

* sort

* fix quotes

* Add working single joycon configs

* Update Switch Joycond to latest

* Switch: Retroarch: add bluetooth ertm disable, and add patch to fix l2cap kernel hang

* Switch: Update image stuff, so kernel reflects Lakka/Libreelec kernel makes in uimage header, and re-arange some things to make them global

* Switch: Linux: Enable Xpad Driver for wired xbox controllers

* Switch: More xpadneo stuff
This should at a minimum fix issues with Xbox One S controllers
8bitdo and GuliKit KingKong Controller families will probably need more
hid-core patching to redirect them to this driver for support.

Also, when 0.10 version of Xpadneo is released, It will stop building due to kernel not having this patch:
f07b3c1da9

When the time comes, this will need to be looked into.

* xpadneo: update package

* Switch: Update U-Boot to Switchroot 2023-NX03 version

* Switch: Update kernel to Switchroot 5.1.0

* Switch: Create Singular switch-bsp Package
This package consolodates the switch specific configs into one package,
as this feels cleaner, and easier to deal with later, if/when needed.
This package combines the switch-alsa-ucm and switch-bluetooth-dock stuff
into one package.

---------

Co-authored-by: Tomáš Kelemen (vudiq) <vudiq@vudiq.sk>
2023-06-10 03:17:06 +03:00

79 lines
2.3 KiB
Plaintext

============================ @DISTRO@ .ini Configuration ============================
Never use # to comment out keys in the ini.
Either avoid them or use ; in front to invalidate a key.
Example: rootdev=mmcblk0p2 -> ;rootdev=mmcblk0p2
Below you can find all supported keys and their defaults.
========================= .ini Boot Entry Config Keys ==========================
[l4t=1]
Enables and parses the .ini boot entry with L4T Loader.
Mandatory!
[boot_prefixes=@DISTRO_PATH@/boot/]
Sets the directory of the @DISTRO@/L4T bootloader files
Mandatory!
[id=@DISTRO_ID@]
Set FS Label name. @DISTRO_ID@ by default.
Used to automatically find the correct linux partition.
================================================================================
[r2p_action=self]
self: Reboots to self. [Default]
bootloader: Reboots to bootloader menu.
[usb3_enable=0]
1: Enable USB3 support.
Enabling it can dramatically decrease WiFi 2.4GHz and Bluetooth signal quality.
[4k60_disable=0]
1: Disable 4K@60 for Nintendo Switch (OLED).
If [usb3_enable] is set, the driver will automatically choose between USB3
and 4K@60. 4K@60 is preferred in that case.
[uart_port=0]
0: Disable serial logging
1: Enable serial logging on UART-A [Internal Port]
2: Enable serial logging on UART-B [Right Joycon Rail]
3: Enable serial logging on UART-C [Left Joycon Rail]
4: Enable serial logging on USB
[fbconsole=1]
0: Enable kernel logging on built-in display.
1: Enable kernel logging on DP/HDMI/VGA.
9: Or removed, disables kernel logging on any display.
[als_enable=1]
1: Enable Ambient Light Sensor.
[bootargs_extra=]
Set extra kernel command line arguments.
[dvfsb=0]
1: Enable DVFS B-Side.
Reduces power draw in order to use less battery for the same performance.
Can also allow higher CPU/GPU clocks. If OC is used, the reduced power draw
is negated.
[ram_oc=0]
Set RAM Overclock frequency in KHz.
If you hang or get corruption or artifacts, try to reduce it.
On T210 (Erista max 1996 MHz):
Only frequencies in the following list are supported:
1728000, 1795200, 1862400, 1894400, 1932800, 1996800
Suggested:
- 1862400
On T210B01 (Mariko max 2133 MHz):
Any multiple of 38400 KHz can be used.
Suggested:
- 1866000
- 2133000
================================================================================