Lakka-LibreELEC/projects/Rockchip/devices/RK3399/options
2023-01-18 11:15:04 +01:00

46 lines
1.2 KiB
Plaintext

################################################################################
# setup device defaults
################################################################################
# The TARGET_CPU variable controls which processor should be targeted for
# generated code.
case $TARGET_ARCH in
aarch64)
TARGET_CPU="cortex-a72.cortex-a53"
TARGET_CPU_FLAGS="+crc+crypto"
;;
arm)
TARGET_KERNEL_ARCH="arm64"
TARGET_FLOAT="hard"
TARGET_CPU="cortex-a72.cortex-a53"
TARGET_CPU_FLAGS="+crc"
TARGET_FPU="crypto-neon-fp-armv8"
;;
esac
# Firmware
UBOOT_FIRMWARE+=" atf"
ATF_PLATFORM="rk3399"
ATF_BL31_BINARY="bl31/bl31.elf"
# Kernel target
KERNEL_TARGET="Image"
# Mali GPU family
MALI_FAMILY="t860"
GRAPHIC_DRIVERS="panfrost"
# kernel serial console
EXTRA_CMDLINE="console=uart8250,mmio32,0xff1a0000 console=tty0 coherent_pool=2M cec.debounce_ms=5000"
# Lakka: hardcode output resolution to 1080p
if [ "${DISTRO}" = "Lakka" ]; then
EXTRA_CMDLINE+=" video=HDMI-A-1:1920x1080@60"
fi
# set the addon project
ADDON_PROJECT="ARMv8"
# additional packages
ADDITIONAL_PACKAGES+=" pciutils"