Rockchip: add RK3576 device

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
This commit is contained in:
Christian Hewitt
2025-06-08 12:26:32 +00:00
parent 4feb496f1d
commit a6e695df06
4 changed files with 56 additions and 0 deletions

View 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`

View File

@@ -0,0 +1 @@
arm/mali/*

View 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"

View File

@@ -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',