Mainline 3566 work starts.
This commit is contained in:
parent
c400553b80
commit
eca19c5d36
5 changed files with 6387 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -51,6 +51,11 @@ RK3566-X55:
|
|||
DEVICE_ROOT=RK3566 PROJECT=Rockchip DEVICE=RK3566-X55 ARCH=arm ./scripts/build_distro
|
||||
DEVICE_ROOT=RK3566 PROJECT=Rockchip DEVICE=RK3566-X55 ARCH=aarch64 ./scripts/build_distro
|
||||
|
||||
RK3566-ML:
|
||||
unset DEVICE_ROOT
|
||||
PROJECT=Rockchip DEVICE=RK3566-ML ARCH=arm ./scripts/build_distro
|
||||
PROJECT=Rockchip DEVICE=RK3566-ML ARCH=aarch64 ./scripts/build_distro
|
||||
|
||||
RK3326:
|
||||
unset DEVICE_ROOT
|
||||
PROJECT=Rockchip DEVICE=RK3326 ARCH=arm ./scripts/build_distro
|
||||
|
|
6216
projects/Rockchip/devices/RK3566-ML/linux/linux.aarch64.conf
Normal file
6216
projects/Rockchip/devices/RK3566-ML/linux/linux.aarch64.conf
Normal file
File diff suppressed because it is too large
Load diff
158
projects/Rockchip/devices/RK3566-ML/options
Normal file
158
projects/Rockchip/devices/RK3566-ML/options
Normal file
|
@ -0,0 +1,158 @@
|
|||
################################################################################
|
||||
# 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="RK3566"
|
||||
KERNEL_TARGET="Image"
|
||||
BOOTLOADER="u-boot"
|
||||
PARTITION_TABLE="gpt"
|
||||
UBOOT_LABEL="uboot"
|
||||
TRUST_LABEL="trust"
|
||||
DEVICE_DTB=("rk3566-anbernic-rg353ps" "rk3566-anbernic-rg353vs" "rk3566-anbernic-rg503" "rk3566-anbernic-rg353p" "rk3566-anbernic-rg353v")
|
||||
UBOOT_DTB="rk3566"
|
||||
UBOOT_CONFIG="rk3568_defconfig"
|
||||
PKG_SOC="rk356x"
|
||||
PKG_DATAFILE="${PKG_RKBIN}/bin/rk35/rk3566_ddr_1056MHz_v1.16.bin"
|
||||
PKG_LOADER="${PKG_RKBIN}/bin/rk35/rk356x_spl_v1.12.bin"
|
||||
PKG_BL31="${PKG_RKBIN}/bin/rk35/rk3568_bl31_v1.42.elf"
|
||||
PKG_LOAD_ADDR="0x0a100000"
|
||||
BOOT_INI=false
|
||||
EXT_LINUX_CONF=true
|
||||
|
||||
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
||||
KERNEL_MAKE_EXTRACMD=" $(for DTB in "${DEVICE_DTB[@]}"; do echo -n "rockchip/${DTB}.dtb "; done)"
|
||||
|
||||
# Define the CPU
|
||||
HW_CPU="Rockchip RK3566"
|
||||
|
||||
# Mali GPU family
|
||||
MALI_FAMILY="bifrost-g52"
|
||||
# MALI_VERSION="g2p0"
|
||||
# OPENGLES="libmali"
|
||||
VULKAN_SUPPORT=""
|
||||
|
||||
# OpenGL(X) implementation to use (mesa / no)
|
||||
OPENGL="mesa"
|
||||
|
||||
# OpenGL-ES implementation to use (mesa / no)
|
||||
OPENGLES="mesa"
|
||||
|
||||
GRAPHIC_DRIVERS="panfrost"
|
||||
|
||||
# Displayserver to use (weston / x11 / no)
|
||||
DISPLAYSERVER="wl"
|
||||
|
||||
# Windowmanager to use (fluxbox / weston / no)
|
||||
WINDOWMANAGER="weston"
|
||||
|
||||
# kernel serial console
|
||||
EXTRA_CMDLINE="quiet rootwait console=ttyUSB0,1500000 console=tty0 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 RTL8821CS-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="RTL8821AU RTL8821CU RTL88x2BU"
|
||||
|
||||
# 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 bluetooth support (yes / no)
|
||||
BLUETOOTH_SUPPORT="yes"
|
||||
|
||||
# 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)
|
||||
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 ZeroTier support (yes / no)
|
||||
ZEROTIER_SUPPORT="yes"
|
||||
|
||||
# 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"
|
|
@ -30,6 +30,10 @@ case ${DEVICE} in
|
|||
GET_HANDLER_SUPPORT="git"
|
||||
PKG_GIT_CLONE_BRANCH="main"
|
||||
;;
|
||||
*ML)
|
||||
PKG_VERSION="6.5-rc7"
|
||||
PKG_URL="https://git.kernel.org/torvalds/t/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
;;
|
||||
*X55)
|
||||
PKG_URL="${PKG_SITE}/rk3566-x55-kernel.git"
|
||||
PKG_VERSION="a514c4665"
|
||||
|
|
|
@ -31,6 +31,10 @@ case ${DEVICE} in
|
|||
PKG_VERSION="0e26e35cb18a80005b7de45c95858c86a2f7f41e"
|
||||
PKG_GIT_CLONE_BRANCH="odroidgoA-v2017.09"
|
||||
;;
|
||||
*ML)
|
||||
PKG_URL="https://github.com/u-boot/u-boot.git"
|
||||
PKG_VERSION="e508b93"
|
||||
;;
|
||||
esac
|
||||
|
||||
PKG_IS_KERNEL_PKG="yes"
|
||||
|
|
Loading…
Reference in a new issue