2022-05-27 22:33:28 +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-a55"
|
|
|
|
TARGET_CPU_FLAGS="+crc+crypto+fp+simd"
|
|
|
|
TARGET_FPU="fp-armv8"
|
|
|
|
TARGET_FLOAT="hard"
|
|
|
|
TARGET_FEATURES="64bit"
|
|
|
|
;;
|
|
|
|
arm)
|
|
|
|
TARGET_KERNEL_ARCH="arm64"
|
|
|
|
TARGET_PATCH_ARCH="aarch64"
|
|
|
|
TARGET_CPU="cortex-a55"
|
|
|
|
TARGET_CPU_FLAGS="+crc"
|
|
|
|
TARGET_FPU="neon-fp-armv8"
|
|
|
|
TARGET_FLOAT="hard"
|
|
|
|
TARGET_FEATURES="32bit"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
# Kernel target
|
|
|
|
DEVICE_NAME="RG503"
|
|
|
|
KERNEL_TARGET="Image"
|
|
|
|
BOOTLOADER="u-boot"
|
|
|
|
PARTITION_TABLE="gpt"
|
2022-08-01 21:52:51 +00:00
|
|
|
UBOOT_LABEL="uboot"
|
|
|
|
TRUST_LABEL="resource"
|
2022-06-18 15:15:15 +00:00
|
|
|
DEVICE_DTB="rk3566-rg503-linux"
|
2022-05-27 22:33:28 +00:00
|
|
|
UBOOT_DTB="rk3566"
|
|
|
|
UBOOT_CONFIG="rk3568_defconfig"
|
|
|
|
PKG_SOC="rk356x"
|
|
|
|
PKG_DATAFILE="$PKG_RKBIN/bin/rk35/rk3566_ddr_1056MHz_v1.08.bin"
|
|
|
|
PKG_LOADER="$PKG_RKBIN/bin/rk35/rk356x_spl_v1.11.bin"
|
|
|
|
PKG_LOAD_ADDR="0x0a100000"
|
|
|
|
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"
|
2022-08-23 11:23:08 +00:00
|
|
|
|
|
|
|
# Display Resolution
|
2022-08-26 23:18:56 +00:00
|
|
|
SPLASH_RESOLUTION="960x544"
|
2022-08-23 11:23:08 +00:00
|
|
|
|
2022-05-27 22:33:28 +00:00
|
|
|
# Define the CPU
|
|
|
|
HW_CPU="Rockchip RK3566"
|
|
|
|
|
|
|
|
# Mali GPU family
|
|
|
|
MALI_FAMILY="bifrost-g52"
|
|
|
|
MALI_VERSION="g2p0"
|
|
|
|
OPENGLES="libmali"
|
2022-09-01 21:17:36 +00:00
|
|
|
OPENGL="no"
|
2022-09-04 14:01:49 +00:00
|
|
|
DISPLAYSERVER="no"
|
|
|
|
VULKAN_SUPPORT="no"
|
2022-05-27 22:33:28 +00:00
|
|
|
GRAPHIC_DRIVERS=""
|
|
|
|
|
|
|
|
|
|
|
|
# kernel serial console
|
|
|
|
EXTRA_CMDLINE="quiet console=ttyS2,1500000 console=tty0 ssh consoleblank=0 systemd.show_status=0 loglevel=0 panic=20 video=HDMI-A-1:1280x720@60"
|
|
|
|
|
|
|
|
# additional packages to install
|
2022-08-29 00:04:17 +00:00
|
|
|
ADDITIONAL_PACKAGES=" emulators gamesupport 351files"
|
2022-05-27 22:33:28 +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"
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
ADDITIONAL_DRIVERS=""
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
# build and install PulseAudio support (yes / no)
|
|
|
|
PULSEAUDIO_SUPPORT="yes"
|
|
|
|
|
|
|
|
# build and install bluetooth support (yes / no)
|
|
|
|
BLUETOOTH_SUPPORT="no"
|
|
|
|
|
|
|
|
# build and install Avahi (Zeroconf) daemon (yes / no)
|
|
|
|
AVAHI_DAEMON="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)
|
2022-06-01 21:22:25 +00:00
|
|
|
SAMBA_SERVER="yes"
|
2022-05-27 22:33:28 +00:00
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
# Settings package name - blank if not required
|
|
|
|
DISTRO_PKG_SETTINGS=""
|
|
|
|
|
|
|
|
# htop tool (yes / no)
|
|
|
|
HTOP_TOOL="yes"
|