mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2026-11-07 09:05:59 -10:00
original PR: #2037 (for devel branch) 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) - e2fsprogs: guard fs-verity code for kernels without fs-verity support - retroarch: remove patch to save to default config file (superseded by existing RetroArch built-in functionality)
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
################################################################################
|
|
# Device defaults
|
|
################################################################################
|
|
|
|
# NOOBS supported hex versions (legacy) is not relevant for RPi4
|
|
unset NOOBS_HEX
|
|
|
|
# NOOBS supported model versions
|
|
NOOBS_SUPPORTED_MODELS='"Pi 4"'
|
|
|
|
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
|
FIRMWARE="${FIRMWARE} rpi-eeprom xpi_gamecon"
|
|
|
|
# set the addon project
|
|
ADDON_PROJECT="ARMv8"
|
|
|
|
# The TARGET_CPU variable controls which processor should be targeted for
|
|
# generated code.
|
|
case $TARGET_ARCH in
|
|
aarch64)
|
|
TARGET_CPU="cortex-a72"
|
|
TARGET_CPU_FLAGS="+crc"
|
|
;;
|
|
arm)
|
|
TARGET_KERNEL_ARCH="arm64"
|
|
TARGET_KERNEL_PATCH_ARCH="aarch64"
|
|
TARGET_FLOAT="hard"
|
|
# cortex-a72 caused issues in the past, so use a53
|
|
TARGET_CPU="cortex-a53"
|
|
TARGET_CPU_FLAGS="+crc"
|
|
TARGET_FPU="neon-fp-armv8"
|
|
;;
|
|
esac
|
|
|
|
# Kernel target
|
|
KERNEL_TARGET="Image"
|
|
|
|
# enable vulkan for Lakka
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
VULKAN="vulkan-loader"
|
|
fi
|