2022-02-05 14:23:32 +00:00
|
|
|
################################################################################
|
|
|
|
# setup device defaults
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# The TARGET_CPU variable controls which processor should be targeted for
|
|
|
|
# generated code.
|
|
|
|
case $TARGET_ARCH in
|
|
|
|
aarch64)
|
|
|
|
TARGET_KERNEL_ARCH="arm64"
|
|
|
|
TARGET_PATCH_ARCH="aarch64"
|
|
|
|
TARGET_CPU="cortex-a72.cortex-a53"
|
|
|
|
TARGET_CPU_FLAGS="+crc+crypto"
|
|
|
|
TARGET_FPU="fp-armv8"
|
|
|
|
TARGET_FLOAT="hard"
|
|
|
|
TARGET_FEATURES="64bit"
|
|
|
|
;;
|
|
|
|
arm)
|
|
|
|
TARGET_KERNEL_ARCH="arm64"
|
|
|
|
TARGET_PATCH_ARCH="aarch64"
|
|
|
|
TARGET_CPU="cortex-a72.cortex-a53"
|
|
|
|
TARGET_CPU_FLAGS="+crc"
|
|
|
|
TARGET_FPU="crypto-neon-fp-armv8"
|
|
|
|
TARGET_FLOAT="hard"
|
|
|
|
TARGET_FEATURES="32bit"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
# Kernel target
|
|
|
|
KERNEL_TARGET="Image"
|
|
|
|
LINUX="RG552"
|
|
|
|
BOOTLOADER="u-boot"
|
|
|
|
DEVICE_DTB="rk3399-rg552-linux"
|
|
|
|
UBOOT_SYSTEM="rg552"
|
|
|
|
PKG_SOC="rk3399"
|
|
|
|
PKG_DATAFILE="$PKG_RKBIN/bin/rk33/rk3399_ddr_933MHz_v1.25.bin"
|
|
|
|
PKG_LOADER="$PKG_RKBIN/bin/rk33/rk3399_miniloader_v1.26.bin"
|
|
|
|
PKG_BL31="$PKG_RKBIN/bin/rk33/rk3399_bl31_v1.35.elf"
|
|
|
|
BOOT_INI=false
|
|
|
|
|
|
|
|
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
|
|
|
KERNEL_MAKE_EXTRACMD=""
|
|
|
|
KERNEL_MAKE_EXTRACMD+=" rockchip/${DEVICE_DTB}.dtb"
|
|
|
|
|
|
|
|
# Define the CPU
|
|
|
|
HW_CPU="Rockchip RK3399"
|
|
|
|
|
|
|
|
# Mali GPU family
|
2022-02-27 00:39:09 +00:00
|
|
|
MALI_FAMILY="midgard-t86x"
|
2022-02-27 01:08:47 +00:00
|
|
|
DRIVER_VERSION="r18p0"
|
2022-02-05 14:23:32 +00:00
|
|
|
OPENGLES="libmali"
|
|
|
|
GRAPHIC_DRIVERS=""
|
|
|
|
|
|
|
|
# kernel serial console
|
|
|
|
EXTRA_CMDLINE="quiet video=DSI-1:1152x1920p60 fbcon=rotate:3 ssh consoleblank=0 systemd.show_status=0 loglevel=0 panic=20"
|
|
|
|
|
|
|
|
# additional packages to install
|
|
|
|
#ADDITIONAL_PACKAGES=""
|
|
|
|
|
|
|
|
# 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" #rockchip-firmware
|
|
|
|
|
|
|
|
# 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"
|
2022-02-10 21:39:12 +00:00
|
|
|
# ADDITIONAL_DRIVERS="RTL8812AU RTL8188EU" #RTL8188FU RTL8188EU RTL8814AU RTL8192DU RTL8812AU RTL8821CU RTL8192CU RTL8192EU
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build and install driver addons (yes / no)
|
|
|
|
DRIVER_ADDONS_SUPPORT="no"
|
|
|
|
|
|
|
|
# driver addons to install:
|
|
|
|
# for a list of additinoal drivers see packages/linux-driver-addons
|
|
|
|
# Space separated list is supported,
|
|
|
|
DRIVER_ADDONS="" #dvb-latest
|
|
|
|
|
|
|
|
# debug tty path
|
|
|
|
DEBUG_TTY="/dev/ttyFIQ0"
|
|
|
|
|
|
|
|
|
|
|
|
# Skins to install (Estuary)
|
|
|
|
# Space separated list is supported,
|
|
|
|
# e.g. SKINS="Estuary"
|
|
|
|
SKINS="Estuary"
|
|
|
|
|
|
|
|
# Default Skin (Estuary)
|
|
|
|
SKIN_DEFAULT="Estuary"
|
|
|
|
|
|
|
|
# Select whether to use default (upstream xbmc/xbmc) repo, or specific vendor repo
|
|
|
|
KODI_VENDOR="default"
|
|
|
|
|
|
|
|
# install extra subtitle Fonts for KODI (yes / no)
|
|
|
|
KODI_EXTRA_FONTS="yes"
|
|
|
|
|
|
|
|
# build and install PulseAudio support (yes / no)
|
|
|
|
PULSEAUDIO_SUPPORT="yes"
|
|
|
|
|
|
|
|
# build and install espeak support (yes / no)
|
|
|
|
ESPEAK_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install with BluRay support (yes / no)
|
|
|
|
KODI_BLURAY_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install with BD+ support
|
|
|
|
# (BD+ decryption support in KODI) (yes / no)
|
|
|
|
BLURAY_BDPLUS_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install with AACS support
|
|
|
|
# (BD decryption support in KODI) (yes / no)
|
|
|
|
BLURAY_AACS_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install with DVDCSS support
|
|
|
|
# (DVD decryption support in KODI) (yes / no)
|
|
|
|
KODI_DVDCSS_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install bluetooth support (yes / no)
|
|
|
|
BLUETOOTH_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install with KODI webfrontend (yes / no)
|
|
|
|
KODI_WEBSERVER_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install Avahi (Zeroconf) daemon (yes / no)
|
|
|
|
AVAHI_DAEMON="no"
|
|
|
|
|
|
|
|
# build with UPnP support (yes / no)
|
|
|
|
KODI_UPNP_SUPPORT="no"
|
|
|
|
|
|
|
|
# build with MySQL support (mysql / mariadb / none)
|
|
|
|
KODI_MYSQL_SUPPORT="none"
|
|
|
|
|
|
|
|
# build xbmc with optical drive support (yes / no)
|
|
|
|
KODI_OPTICAL_SUPPORT="no"
|
|
|
|
|
|
|
|
# build with AirPlay support (stream videos from iDevices to KODI) (yes / no)
|
|
|
|
KODI_AIRPLAY_SUPPORT="no"
|
|
|
|
|
|
|
|
# build with AirTunes support (stream music from iDevices to KODI) (yes / no)
|
|
|
|
KODI_AIRTUNES_SUPPORT="no"
|
|
|
|
|
|
|
|
# build with libnfs support (mounting nfs shares with KODI) (yes / no)
|
|
|
|
KODI_NFS_SUPPORT="no"
|
|
|
|
|
|
|
|
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
|
|
|
|
KODI_SAMBA_SUPPORT="no"
|
|
|
|
|
|
|
|
# build with NFS support (mounting nfs shares via the OS) (yes / no)
|
|
|
|
NFS_SUPPORT="no"
|
|
|
|
|
|
|
|
# build with Samba Client support (mounting samba shares via the OS) (yes / no)
|
|
|
|
SAMBA_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install Samba Server (yes / no)
|
|
|
|
SAMBA_SERVER="yes"
|
|
|
|
|
|
|
|
# build and install SFTP Server (yes / no)
|
|
|
|
SFTP_SERVER="yes"
|
|
|
|
|
|
|
|
# build and install OpenVPN support (yes / no)
|
|
|
|
OPENVPN_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install diskmounter support (udevil)
|
|
|
|
# this service provide auto mounting support for external drives in the
|
|
|
|
# mediacenter also automount internally drives at boottime via udev (yes / no)
|
|
|
|
UDEVIL="yes"
|
|
|
|
|
|
|
|
# build and install exFAT fuse support (yes / no)
|
|
|
|
EXFAT="yes"
|
|
|
|
|
|
|
|
# build and install NTFS-3G fuse support (yes / no)
|
|
|
|
NTFS3G="no"
|
|
|
|
|
|
|
|
# build and install hfs filesystem utilities (yes / no)
|
|
|
|
HFSTOOLS="no"
|
|
|
|
|
|
|
|
# build and install remote support (yes / no)
|
|
|
|
REMOTE_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install CEC adapter support (yes / no)
|
|
|
|
CEC_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install CEC framework support (yes / no)
|
|
|
|
CEC_FRAMEWORK_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install iSCSI support - iscsistart (yes / no)
|
|
|
|
ISCSI_SUPPORT="no"
|
|
|
|
|
|
|
|
# Support for partitioning and formating disks in initramfs (yes / no)
|
|
|
|
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
|
|
|
|
INITRAMFS_PARTED_SUPPORT="no"
|
|
|
|
|
|
|
|
# build with swap support (yes / no)
|
|
|
|
SWAP_SUPPORT="yes"
|
|
|
|
|
|
|
|
# swap support enabled per default (yes / no)
|
|
|
|
SWAP_ENABLED_DEFAULT="yes"
|
|
|
|
|
|
|
|
# swapfile size if SWAP_SUPPORT=yes in MB
|
|
|
|
SWAPFILESIZE="384"
|
|
|
|
|
|
|
|
# cron support (yes / no)
|
|
|
|
CRON_SUPPORT="no"
|
|
|
|
|
|
|
|
# Addon Server Url
|
|
|
|
ADDON_SERVER_URL=""
|
|
|
|
|
|
|
|
# Addon ID of the default addon repository
|
|
|
|
ADDON_REPO_ID=""
|
|
|
|
|
|
|
|
# Name of the default addon repository
|
|
|
|
ADDON_REPO_NAME=""
|
|
|
|
|
|
|
|
# Version of the default addon repository
|
|
|
|
ADDON_REPO_VERSION=""
|
|
|
|
|
|
|
|
# set the addon dirs
|
|
|
|
ADDON_PATH=""
|
|
|
|
ADDON_URL=""
|
|
|
|
|
|
|
|
# Settings package name - blank if not required
|
|
|
|
DISTRO_PKG_SETTINGS=""
|
|
|
|
|
|
|
|
# IR remote protocols supported in default config
|
|
|
|
IR_REMOTE_PROTOCOLS=""
|
|
|
|
|
|
|
|
# IR remote keymaps supported in default config
|
|
|
|
IR_REMOTE_KEYMAPS=""
|
|
|
|
|
|
|
|
# htop tool (yes / no)
|
|
|
|
HTOP_TOOL="yes"
|