summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFUKAUMI Naoki2025-09-03 02:02:41 +0000
committerHauke Mehrtens2025-09-07 12:29:39 +0000
commit4a78af98766b252282d50bdc0de32cebad71944d (patch)
tree6284c3a7f752509a1dcc0fb102a8a90743aee824
parentd35c641ced9dd3cfe74b94aca26e21db0cc406de (diff)
downloadopenwrt-4a78af98766b252282d50bdc0de32cebad71944d.tar.gz
rockchip: add support for Radxa ROCK 5T
The Radxa ROCK 5T is a single board computer using the Rockchip RK3588(J) SoC. - https://radxa.com/products/rock5/5t Hardware -------- - Quad Cortex-A76 and Quad Cortex-A55 CPU - Mali-G610 MP4 GPU - 6 TOPS NPU - 4/8/16/24/32GB LPDDR5 RAM - 16/32/64/128/256GB on-board eMMC (optional) - 16MB SPI NOR flash - microSD card slot - Wi-Fi 6E (Intel AX210, limited support) - 2x 2.5 Gigabit Ethernet ports with PoE (additional PoE module required) - USB 3.1 Gen1 Type-C HOST/OTG port - 2x USB 3.1 Gen1 Type-A HOST ports - 2x USB 2.0 Type-A HOST ports - 2x M.2 M Key connectors with PCIe 3.0 x2 - M.2 B Key connector - SIM card slot - RTC battery connector - PWM fan connector - 20x2 pin header - 5525 12V DC jack Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or eMMC using dd. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/19867 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/boot/uboot-rockchip/Makefile3
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/board.d/02_network3
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity3
-rw-r--r--target/linux/rockchip/image/armv8.mk10
4 files changed, 16 insertions, 3 deletions
diff --git a/package/boot/uboot-rockchip/Makefile b/package/boot/uboot-rockchip/Makefile
index 2a4352ad4b..53bfa773e3 100644
--- a/package/boot/uboot-rockchip/Makefile
+++ b/package/boot/uboot-rockchip/Makefile
@@ -272,7 +272,8 @@ define U-Boot/generic-rk3588
$(U-Boot/rk358x/Default)
NAME:=Generic RK358x board
BUILD_DEVICES:= \
- radxa_rock-5b-plus
+ radxa_rock-5b-plus \
+ radxa_rock-5t
endef
# RK3588 boards
diff --git a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
index 9a6e479323..ad23e05647 100644
--- a/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
+++ b/target/linux/rockchip/armv8/base-files/etc/board.d/02_network
@@ -23,7 +23,8 @@ rockchip_setup_interfaces()
friendlyarm,nanopc-t6|\
friendlyarm,nanopi-r5c|\
radxa,e25|\
- radxa,rock-3b)
+ radxa,rock-3b|\
+ radxa,rock-5t)
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
;;
friendlyarm,nanopi-r5s)
diff --git a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
index 956b909bb9..5ca382ea92 100644
--- a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
+++ b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
@@ -49,7 +49,8 @@ xunlong,orangepi-r1-plus-lts)
friendlyarm,nanopi-r4s|\
friendlyarm,nanopi-r4s-enterprise|\
friendlyarm,nanopi-r6c|\
-friendlyarm,nanopc-t6)
+friendlyarm,nanopc-t6|\
+radxa,rock-5t)
set_interface_core 10 "eth0"
set_interface_core 20 "eth1"
;;
diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk
index 71d4391486..2406598e9b 100644
--- a/target/linux/rockchip/image/armv8.mk
+++ b/target/linux/rockchip/image/armv8.mk
@@ -226,6 +226,16 @@ define Device/radxa_rock-5b-plus
endef
TARGET_DEVICES += radxa_rock-5b-plus
+define Device/radxa_rock-5t
+ DEVICE_VENDOR := Radxa
+ DEVICE_MODEL := ROCK 5T
+ SOC := rk3588
+ UBOOT_DEVICE_NAME := generic-rk3588
+ DEVICE_DTS := rockchip/rk3588-rock-5t
+ DEVICE_PACKAGES := blkdiscard block-mount iwlwifi-firmware-ax210 kmod-hwmon-pwmfan kmod-iwlwifi kmod-nvme kmod-r8169 wpad-basic-mbedtls
+endef
+TARGET_DEVICES += radxa_rock-5t
+
define Device/radxa_rock-pi-4a
DEVICE_VENDOR := Radxa
DEVICE_MODEL := ROCK Pi 4A