summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFUKAUMI Naoki2025-09-03 02:02:44 +0000
committerHauke Mehrtens2025-09-07 12:29:39 +0000
commit083934521186d54ded432c16a91e5fcea73c8308 (patch)
tree50f1c7790ee281c3860557a06e2962ed33966c81
parent4a78af98766b252282d50bdc0de32cebad71944d (diff)
downloadopenwrt-083934521186d54ded432c16a91e5fcea73c8308.tar.gz
rockchip: add support for Radxa ROCK 5 ITX/ITX+
The Radxa ROCK 5 ITX(+) is a Mini-ITX form factor computer using the Rockchip RK3588 SoC. - https://radxa.com/products/rock5/5itx - https://radxa.com/products/rock5/5itxp Hardware -------- - Quad Cortex-A76 and Quad Cortex-A55 CPU - Mali-G610 MP4 GPU - 6 TOPS NPU - 4/8/16/24/32GB LPDDR5 RAM - on-board eMMC - 16MB SPI NOR flash - microSD card slot - 2x 2.5 Gigabit Ethernet ports with PoE (additional PoE module required) - USB 3.1 Gen1 Type-C HOST/OTG port - 4x USB 3.1 Gen1 Type-A HOST ports - 2x USB 2.0 Type-A HOST ports - M.2 M Key connector with PCIe 3.0 x2 - 4x SATA connectors (ITX only) - 2nd M.2 M Key connector with PCIe 3.0 x2 (ITX+ only) - M.2 E Key connector with PCIe 2.1 x1 and USB 2.0 - RTC battery socket for CR1220 - 4pin PWM fan connector - Serial console pin header - Front panel pin headers - 24pin ATX power connector - 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/Makefile8
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity1
-rw-r--r--target/linux/rockchip/image/armv8.mk8
4 files changed, 18 insertions, 0 deletions
diff --git a/package/boot/uboot-rockchip/Makefile b/package/boot/uboot-rockchip/Makefile
index 53bfa773e3..174847f324 100644
--- a/package/boot/uboot-rockchip/Makefile
+++ b/package/boot/uboot-rockchip/Makefile
@@ -285,6 +285,13 @@ define U-Boot/nanopc-t6-rk3588
friendlyarm_nanopc-t6
endef
+define U-Boot/rock-5-itx-rk3588
+ $(U-Boot/rk358x/Default)
+ NAME:=ROCK 5 ITX/ITX+
+ BUILD_DEVICES:= \
+ radxa_rock-5-itx
+endef
+
define U-Boot/rock5b-rk3588
$(U-Boot/rk358x/Default)
NAME:=ROCK 5B
@@ -352,6 +359,7 @@ UBOOT_TARGETS := \
rock-3b-rk3568 \
generic-rk3588 \
nanopc-t6-rk3588 \
+ rock-5-itx-rk3588 \
rock5b-rk3588 \
sige7-rk3588 \
nanopi-r6c-rk3588s \
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 ad23e05647..b210cd191c 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
@@ -24,6 +24,7 @@ rockchip_setup_interfaces()
friendlyarm,nanopi-r5c|\
radxa,e25|\
radxa,rock-3b|\
+ radxa,rock-5-itx|\
radxa,rock-5t)
ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
;;
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 5ca382ea92..e8650f8d99 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
@@ -50,6 +50,7 @@ friendlyarm,nanopi-r4s|\
friendlyarm,nanopi-r4s-enterprise|\
friendlyarm,nanopi-r6c|\
friendlyarm,nanopc-t6|\
+radxa,rock-5-itx|\
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 2406598e9b..0d1c646da7 100644
--- a/target/linux/rockchip/image/armv8.mk
+++ b/target/linux/rockchip/image/armv8.mk
@@ -198,6 +198,14 @@ define Device/radxa_rock-4se
endef
TARGET_DEVICES += radxa_rock-4se
+define Device/radxa_rock-5-itx
+ DEVICE_VENDOR := Radxa
+ DEVICE_MODEL := ROCK 5 ITX/ITX+
+ SOC := rk3588
+ DEVICE_PACKAGES := blkdiscard block-mount kmod-ata-ahci kmod-hwmon-pwmfan kmod-nvme kmod-r8169 kmod-rtw89-8852be wpad-basic-mbedtls
+endef
+TARGET_DEVICES += radxa_rock-5-itx
+
define Device/radxa_rock-5a
DEVICE_VENDOR := Radxa
DEVICE_MODEL := ROCK 5A