mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-05-19 01:56:47 +00:00
this brings images suited to work OOB for RPi3/4/5 with CRT TV sets. it comes with preconfigured shaders, core options, readable font, ... see https://www.lakka.tv/articles/2024/05/02/rpi-composite/ - add new RPiX-Composite devices under RPi project - RPi3/4-Composite use own kernel config - RPi5-Composite uses kernel config of RPi5 - remove linux.arm.conf broken symlinks from some devices - move VULKAN enable to device options - add splash screens for 480/576 height - glibc: match kernel version for RPi3/4 (using 5.10.y with "fake" 240p patch) - adjust DEVICE conditions to only match first 4 characters / first 4 characters + wildcard (various places) - add specific assets, configs, shaders in retroarch package - retroarch: adjust default configuration - linux: add 5.10.y kernel (used by RPi3/4-Composite, see above) - linux: add patches for 5.10.y kernel - mkimage: add additional information into cmdline.txt and retroarch-overrides.txt - firstboot.sh: add output (logged in fs-resize.log) - firstboot.sh: prepend processed overrides with hash - firstboot.sh: copy core configurations to storage partition - firstboot.sh: rework wifi autoconfig script - retroarch: add full default config file and apply changes in the package file directly to the config for individual systems (solves some issues with core/game overrides when there is no value in the config and user creates overrides in first run of retroarch, then these overrides are also stored in default config)
103 lines
3.0 KiB
Plaintext
103 lines
3.0 KiB
Plaintext
################################################################################
|
|
# setup system defaults
|
|
################################################################################
|
|
|
|
# Bootloader to use (bcm2835-bootloader)
|
|
BOOTLOADER="bcm2835-bootloader"
|
|
|
|
# Kernel target
|
|
KERNEL_TARGET="zImage"
|
|
|
|
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
|
KERNEL_MAKE_EXTRACMD="dtbs"
|
|
|
|
# Additional kernel dependencies
|
|
KERNEL_EXTRA_DEPENDS_TARGET=""
|
|
|
|
# Kernel to use. values can be:
|
|
# default: default mainline kernel
|
|
LINUX="raspberrypi"
|
|
|
|
# use framebuffer console
|
|
EXTRA_CMDLINE="console=tty0"
|
|
|
|
################################################################################
|
|
# setup build defaults
|
|
################################################################################
|
|
|
|
# Project CFLAGS
|
|
PROJECT_CFLAGS=""
|
|
|
|
# SquashFS compression method (gzip / lzo / xz / zstd)
|
|
SQUASHFS_COMPRESSION="zstd"
|
|
|
|
################################################################################
|
|
# setup project defaults
|
|
################################################################################
|
|
|
|
# OpenGL(X) implementation to use (no / mesa)
|
|
OPENGL="no"
|
|
|
|
# OpenGL-ES implementation to use (no / bcm2835-driver / mesa)
|
|
OPENGLES="mesa"
|
|
|
|
# Vulkan implementation to use (vulkan-loader / no)
|
|
VULKAN="no"
|
|
|
|
# Displayserver to use (wl / no)
|
|
DISPLAYSERVER="no"
|
|
|
|
# Windowmanager to use (weston / no)
|
|
WINDOWMANAGER="no"
|
|
|
|
# Xorg Graphic drivers to use (all / vc4 / none)
|
|
# Space separated list is supported,
|
|
# e.g. GRAPHIC_DRIVERS="vc4"
|
|
GRAPHIC_DRIVERS="vc4"
|
|
|
|
# KODI Player implementation to use (default / bcm2835-driver / mesa)
|
|
KODIPLAYER_DRIVER="mesa"
|
|
|
|
# use the kernel CEC framework for libcec (yes / no)
|
|
CEC_FRAMEWORK_SUPPORT="yes"
|
|
|
|
# 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 brcmfmac_sdio-firmware-rpi"
|
|
|
|
# build with installer (yes / no)
|
|
INSTALLER_SUPPORT="no"
|
|
|
|
# kernel image name
|
|
KERNEL_NAME="kernel.img"
|
|
|
|
# additional drivers to install:
|
|
# for a list of additional drivers see packages/linux-drivers
|
|
# Space separated list is supported,
|
|
# e.g. ADDITIONAL_DRIVERS+=" DRIVER1 DRIVER2"
|
|
if [ "${ALSA_SUPPORT}" = "yes" ]; then
|
|
ADDITIONAL_DRIVERS+=" rpi-cirrus-config"
|
|
fi
|
|
|
|
# build and install driver addons (yes / no)
|
|
DRIVER_ADDONS_SUPPORT="no"
|
|
|
|
# driver addons to install:
|
|
# for a list of additional drivers see packages/linux-driver-addons
|
|
# Space separated list is supported,
|
|
DRIVER_ADDONS="crazycat dvb-latest"
|
|
|
|
# additional packages to install:
|
|
ADDITIONAL_PACKAGES+=" bcm2835-utils dtc"
|
|
|
|
# debug tty path
|
|
DEBUG_TTY="/dev/console"
|
|
|
|
# Overrides for Lakka
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
FIRMWARE="${FIRMWARE//dvb-firmware/}"
|
|
DRIVER_ADDONS_SUPPORT="no"
|
|
DRIVER_ADDONS=""
|
|
fi
|