]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
rockchip: add support for Radxa ROCK 5 ITX/ITX+
authorFUKAUMI Naoki <naoki@radxa.com>
Wed, 3 Sep 2025 02:02:44 +0000 (02:02 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Sep 2025 12:29:39 +0000 (14:29 +0200)
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>
package/boot/uboot-rockchip/Makefile
target/linux/rockchip/armv8/base-files/etc/board.d/02_network
target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
target/linux/rockchip/image/armv8.mk

index 53bfa773e3ec49d428c3dcce5081c86915fd7854..174847f3249d7a90faacffceca4fd30d05b86dbe 100644 (file)
@@ -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 \
index ad23e05647cec4badf73cb0fba8eb0c744e11ba0..b210cd191cea7ea84d6e1c8ccbe8f8e8d226dab8 100644 (file)
@@ -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'
                ;;
index 5ca382ea928d5f181da2b4b131006d41164c0b71..e8650f8d99ba42318963151039521de96c7b9a93 100644 (file)
@@ -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"
index 2406598e9bf81e4f24e826a93e0f5fc0b32f1614..0d1c646da7d66a15fe045158a2544b638b534dd9 100644 (file)
@@ -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