1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.

44 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"
TARGET_FEATURES="64bit"
;;
arm)
TARGET_KERNEL_ARCH="arm64"
TARGET_KERNEL_PATCH_ARCH="aarch64"
TARGET_FLOAT="hard"
TARGET_CPU="cortex-a72.cortex-a53"
TARGET_CPU_FLAGS="+crc"
TARGET_FPU="crypto-neon-fp-armv8"
TARGET_FEATURES="32bit"
;;
esac
# 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"