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
|
2022-03-26 14:07:10 +00:00
|
|
|
DEVICE_NAME="RG552"
|
2022-02-05 14:23:32 +00:00
|
|
|
KERNEL_TARGET="Image"
|
|
|
|
BOOTLOADER="u-boot"
|
2022-05-27 22:33:28 +00:00
|
|
|
PARTITION_TABLE="msdos"
|
2022-09-09 14:35:05 +00:00
|
|
|
DEVICE_DTB="rk3399-rg552-linux"
|
2022-03-26 14:07:10 +00:00
|
|
|
UBOOT_DTB="${DEVICE_DTB}"
|
|
|
|
UBOOT_CONFIG="evb-rk3399_defconfig"
|
2022-02-05 14:23:32 +00:00
|
|
|
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"
|
2022-08-23 11:23:08 +00:00
|
|
|
|
|
|
|
# Display Resolution
|
2022-08-26 23:18:56 +00:00
|
|
|
SPLASH_RESOLUTION="1152x1920"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# Mali GPU family
|
2022-09-01 20:42:06 +00:00
|
|
|
MALI_FAMILY="t860"
|
|
|
|
GRAPHIC_DRIVERS="panfrost"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-09-01 20:42:06 +00:00
|
|
|
# OpenGL(X) implementation to use (mesa / no)
|
|
|
|
OPENGL="mesa"
|
|
|
|
|
|
|
|
# OpenGL-ES implementation to use (mesa / no)
|
|
|
|
OPENGLES="mesa"
|
|
|
|
|
|
|
|
# Displayserver to use (weston / x11 / no)
|
|
|
|
DISPLAYSERVER="wl"
|
|
|
|
|
|
|
|
# Windowmanager to use (fluxbox / weston / no)
|
|
|
|
WINDOWMANAGER="weston"
|
|
|
|
|
2022-02-05 14:23:32 +00:00
|
|
|
# kernel serial console
|
2022-03-05 20:25:50 +00:00
|
|
|
EXTRA_CMDLINE="quiet video=DSI-1:1152x1920p60 fbcon=rotate:3 ssh consoleblank=0 systemd.show_status=0 loglevel=0 panic=20"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# additional packages to install
|
2022-08-29 00:04:17 +00:00
|
|
|
ADDITIONAL_PACKAGES=" emulators gamesupport 351files"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# 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-09-01 20:42:06 +00:00
|
|
|
ADDITIONAL_DRIVERS="RTL8812AU RTL8821AU RTL8821CU RTL88x2BU"
|
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,
|
2022-04-27 10:08:03 +00:00
|
|
|
DRIVER_ADDONS=""
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# debug tty path
|
|
|
|
DEBUG_TTY="/dev/ttyFIQ0"
|
2022-04-28 10:31:44 +00:00
|
|
|
|
|
|
|
# build and install PulseAudio support (yes / no)
|
|
|
|
PULSEAUDIO_SUPPORT="yes"
|
|
|
|
|
2022-02-05 14:23:32 +00:00
|
|
|
# build and install bluetooth support (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
BLUETOOTH_SUPPORT="no"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build and install Avahi (Zeroconf) daemon (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
AVAHI_DAEMON="no"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build with NFS support (mounting nfs shares via the OS) (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
NFS_SUPPORT="no"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build with Samba Client support (mounting samba shares via the OS) (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
SAMBA_SUPPORT="no"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build and install Samba Server (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
SAMBA_SERVER="yes"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build and install SFTP Server (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
SFTP_SERVER="yes"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build and install OpenVPN support (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
OPENVPN_SUPPORT="no"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# 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)
|
2022-04-27 10:08:03 +00:00
|
|
|
UDEVIL="yes"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build and install exFAT fuse support (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
EXFAT="yes"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build and install NTFS-3G fuse support (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
NTFS3G="no"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build and install hfs filesystem utilities (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
HFSTOOLS="no"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# Support for partitioning and formating disks in initramfs (yes / no)
|
|
|
|
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
|
2022-04-27 10:08:03 +00:00
|
|
|
INITRAMFS_PARTED_SUPPORT="no"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# build with swap support (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
SWAP_SUPPORT="yes"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# swap support enabled per default (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
SWAP_ENABLED_DEFAULT="yes"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# swapfile size if SWAP_SUPPORT=yes in MB
|
2022-04-27 10:08:03 +00:00
|
|
|
SWAPFILESIZE="384"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# cron support (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
CRON_SUPPORT="no"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# Settings package name - blank if not required
|
2022-04-27 10:08:03 +00:00
|
|
|
DISTRO_PKG_SETTINGS=""
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# htop tool (yes / no)
|
2022-04-27 10:08:03 +00:00
|
|
|
HTOP_TOOL="yes"
|