3cc9dbb9ca
* 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>
130 lines
4.0 KiB
Plaintext
130 lines
4.0 KiB
Plaintext
################################################################################
|
|
# setup system defaults
|
|
################################################################################
|
|
|
|
#VALGRIND="yes"
|
|
|
|
# Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
|
|
BOOTLOADER="u-boot"
|
|
|
|
# Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
|
|
KERNEL_TARGET="Image"
|
|
|
|
# Kernel extra targets to build
|
|
KERNEL_UBOOT_EXTRA_TARGET=""
|
|
|
|
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
|
KERNEL_MAKE_EXTRACMD="dtbs"
|
|
|
|
#Set kernel toolchain
|
|
KERNEL_TOOLCHAIN="aarch64-none-linux-gnu"
|
|
|
|
################################################################################
|
|
# setup build defaults
|
|
################################################################################
|
|
|
|
# Project CFLAGS
|
|
if [ "${DEBUG}" = "no" -o "${DEBUG}" = "" ]; then
|
|
PROJECT_CFLAGS="-O3"
|
|
fi
|
|
# SquashFS compression method (gzip / lzo / xz)
|
|
SQUASHFS_COMPRESSION="lzo"
|
|
|
|
################################################################################
|
|
# setup project defaults
|
|
################################################################################
|
|
#Set LIBDRM config options.... this isnt needed on L4T, as we install seperate libDRM in tegra-bsp package.
|
|
#LIBDRM_CONFIG="--enable-tegra-experimental-api"
|
|
|
|
# build and install ALSA Audio support (yes / no)
|
|
ALSA_SUPPORT="yes"
|
|
|
|
# build and install PulseAudio support (yes / no)
|
|
PULSEAUDIO_SUPPORT="yes"
|
|
|
|
# build and install WireGuard support (yes / no)
|
|
WIREGUARD_SUPPORT="yes"
|
|
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
# OpenGL(X) implementation to use (no / Mesa)
|
|
OPENGLES="no" #OpenGLES works, but breaks some cores that dont support it(Moonlight)
|
|
|
|
# OpenGL implementation to use (no / Mesa)
|
|
OPENGL="mesa"
|
|
else
|
|
# OpenGL(X) implementation to use (no / Mesa)
|
|
OPENGLES="mesa" #OpenGLES works, but breaks some cores that dont support it(Moonlight)
|
|
|
|
# OpenGL implementation to use (no / Mesa)
|
|
OPENGL="mesa"
|
|
fi
|
|
|
|
# include uvesafb support (yes / no)
|
|
UVESAFB_SUPPORT="no"
|
|
|
|
# Displayserver to use (x11 / no)
|
|
DISPLAYSERVER="x11"
|
|
|
|
# Windowmanager to use (ratpoison / fluxbox / none)
|
|
WINDOWMANAGER="none"
|
|
|
|
# Xorg Graphic drivers to use (all / i915,r300,r600,nvidia,nouveau)
|
|
# Space separated list is supported,
|
|
# e.g. GRAPHIC_DRIVERS="i915 r300 r600 radeonsi nvidia nouveau"
|
|
GRAPHIC_DRIVERS="nouveau tegra"
|
|
|
|
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap / libamcodec)
|
|
# KODIPLAYER_DRIVER="default"
|
|
|
|
# Modules to install in initramfs for early boot
|
|
# INITRAMFS_MODULES="font softcursor bitblit fbcon"
|
|
|
|
# OEM packages for OEM's (yes / no)
|
|
# OEM_SUPPORT="no"
|
|
|
|
# additional drivers to install:
|
|
# for a list of additinoal drivers see packages/linux-drivers
|
|
# Space separated list is supported,
|
|
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
|
ADDITIONAL_DRIVERS="tegra-bsp"
|
|
|
|
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
|
# Space separated list is supported,
|
|
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
|
|
FIRMWARE="misc-firmware wlan-firmware dvb-firmware"
|
|
|
|
# build and install ATV IR remote support (yes / no)
|
|
ATVCLIENT_SUPPORT="no"
|
|
|
|
# Amlogic IR remote support (yes / no)
|
|
AMREMOTE_SUPPORT="no"
|
|
|
|
# build with installer (yes / no)
|
|
INSTALLER_SUPPORT="no"
|
|
|
|
# Kernel to build
|
|
LINUX="L4T"
|
|
|
|
# CEC Support
|
|
CEC_FRAMEWORK_SUPPORT="yes"
|
|
|
|
# Set Distro Specific options
|
|
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
#Enable Vulkan for Lakka
|
|
VULKAN="vulkan-loader"
|
|
elif [ "${DISTRO}" = "LibreELEC" ]; then
|
|
#LibreELEC doesnt use vulkan, and isnt supported in their main tree.
|
|
VULKAN="no"
|
|
#Add Support for git downloads
|
|
GET_HANDLER_SUPPORT+=" git"
|
|
fi
|
|
|
|
# disable arm target
|
|
|
|
if [ "${ARCH}" = "arm" ]; then
|
|
echo "Error: 32bit ARM arch is not supported by L4T"
|
|
exit 1
|
|
fi
|
|
|