mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Rockchip: add RK3576 device
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
This commit is contained in:
8
projects/Rockchip/devices/RK3576/README.md
Normal file
8
projects/Rockchip/devices/RK3576/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# RK3576
|
||||
|
||||
Support for the RK3576 SoC
|
||||
|
||||
**Build**
|
||||
|
||||
* `PROJECT=Rockchip DEVICE=RK3576 ARCH=aarch64 UBOOT_SYSTEM=roc-pc make image`
|
||||
* `PROJECT=Rockchip DEVICE=RK3576 ARCH=aarch64 UBOOT_SYSTEM=rock-4d make image`
|
||||
@@ -0,0 +1 @@
|
||||
arm/mali/*
|
||||
37
projects/Rockchip/devices/RK3576/options
Normal file
37
projects/Rockchip/devices/RK3576/options
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
# 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"
|
||||
;;
|
||||
arm)
|
||||
TARGET_KERNEL_ARCH="arm64"
|
||||
TARGET_FLOAT="hard"
|
||||
TARGET_CPU="cortex-a72.cortex-a53"
|
||||
TARGET_CPU_FLAGS="+crc"
|
||||
TARGET_FPU="crypto-neon-fp-armv8"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Kernel to use
|
||||
LINUX="rockchip"
|
||||
|
||||
# Kernel target
|
||||
KERNEL_TARGET="Image"
|
||||
|
||||
# Graphic drivers to use
|
||||
GRAPHIC_DRIVERS="panfrost"
|
||||
|
||||
# kernel serial console
|
||||
EXTRA_CMDLINE="earlycon console=uart8250,mmio32,0xfeb50000 console=tty0 coherent_pool=2M cec.debounce_ms=5000 mem=3838M systemd.debug_shell=ttyS2"
|
||||
|
||||
# set the addon project
|
||||
ADDON_PROJECT="ARMv8"
|
||||
|
||||
# additional packages
|
||||
ADDITIONAL_PACKAGES+=" pciutils"
|
||||
@@ -431,6 +431,16 @@ devices = \
|
||||
'soc': 'RK3566'
|
||||
},
|
||||
},
|
||||
'RK3576': {
|
||||
'roc-pc': {
|
||||
'config': 'roc-pc-rk3576_defconfig',
|
||||
'dtb': ''
|
||||
},
|
||||
'rock-4d': {
|
||||
'config': 'rock-4d-rk3576_defconfig',
|
||||
'dtb': ''
|
||||
},
|
||||
},
|
||||
'RK3588': {
|
||||
'armsom-sige7': {
|
||||
'config': 'sige7-rk3588_defconfig',
|
||||
|
||||
Reference in New Issue
Block a user