[openwrt/openwrt] rockchip: add support for Radxa ROCK 5C/5C Lite
LEDE Commits
lede-commits at lists.infradead.org
Sun Sep 7 05:41:44 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/071aa994cdd1f716f2f9e0f2e2728823c5c9b753
commit 071aa994cdd1f716f2f9e0f2e2728823c5c9b753
Author: FUKAUMI Naoki <naoki at radxa.com>
AuthorDate: Wed Sep 3 02:02:46 2025 +0000
rockchip: add support for Radxa ROCK 5C/5C Lite
The Radxa ROCK 5C (Lite) is a single board computer using the Rockchip
RK3588S2 (RK3582) SoC.
- https://radxa.com/products/rock5/5c
Hardware
--------
- Quad (Dual) Cortex-A76 and Quad Cortex-A55 CPU
- Mali-G610 MP4 GPU (5C only)
- 6 (5) TOPS NPU
- 1/2/4/8/16/32GB LPDDR4X RAM
- eMMC/SPI NOR flash connector
- microSD card slot
- Wi-Fi 6 (AIC8800D80, not yet supported)
- Gigabit Ethernet port with PoE (additional PoE HAT required)
- USB 3.1 Gen1 Type-A HOST/OTG port
- USB 3.1 Gen1 Type-A HOST port
- 2x USB 2.0 Type-A HOST ports
- FPC connector with PCIe 2.1 x1
- PWM fan connector
- 20x2 pin header
- USB Type-C power port
Installation
------------
Uncompress the OpenWrt sysupgrade and write it to a micro SD card or
eMMC using dd.
Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
Link: https://github.com/openwrt/openwrt/pull/19867
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/boot/uboot-rockchip/Makefile | 10 +++++++++-
.../armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity | 3 ++-
target/linux/rockchip/image/armv8.mk | 8 ++++++++
3 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/package/boot/uboot-rockchip/Makefile b/package/boot/uboot-rockchip/Makefile
index 174847f324..34809be785 100644
--- a/package/boot/uboot-rockchip/Makefile
+++ b/package/boot/uboot-rockchip/Makefile
@@ -330,6 +330,13 @@ define U-Boot/rock5a-rk3588s
radxa_rock-5a
endef
+define U-Boot/rock-5c-rk3588s
+ $(U-Boot/rk358x/Default)
+ NAME:=ROCK 5C/5C Lite
+ BUILD_DEVICES:= \
+ radxa_rock-5c
+endef
+
UBOOT_TARGETS := \
nanopc-t4-rk3399 \
nanopi-r4s-rk3399 \
@@ -364,7 +371,8 @@ UBOOT_TARGETS := \
sige7-rk3588 \
nanopi-r6c-rk3588s \
nanopi-r6s-rk3588s \
- rock5a-rk3588s
+ rock5a-rk3588s \
+ rock-5c-rk3588s
UBOOT_CONFIGURE_VARS += USE_PRIVATE_LIBGCC=yes
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 e8650f8d99..a70d2f2323 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
@@ -65,7 +65,8 @@ friendlyarm,nanopi-r6s)
set_interface_core 20 "eth1"
set_interface_core 40 "eth2"
;;
-radxa,rock-5a)
+radxa,rock-5a|\
+radxa,rock-5c)
set_interface_core 10 "eth1"
set_interface_core 20 "eth2"
;;
diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk
index 0d1c646da7..94b8cbfac0 100644
--- a/target/linux/rockchip/image/armv8.mk
+++ b/target/linux/rockchip/image/armv8.mk
@@ -234,6 +234,14 @@ define Device/radxa_rock-5b-plus
endef
TARGET_DEVICES += radxa_rock-5b-plus
+define Device/radxa_rock-5c
+ DEVICE_VENDOR := Radxa
+ DEVICE_MODEL := ROCK 5C/5C Lite
+ SOC := rk3588s
+ DEVICE_PACKAGES := blkdiscard block-mount kmod-ata-ahci kmod-hwmon-pwmfan kmod-nvme kmod-r8169
+endef
+TARGET_DEVICES += radxa_rock-5c
+
define Device/radxa_rock-5t
DEVICE_VENDOR := Radxa
DEVICE_MODEL := ROCK 5T
More information about the lede-commits
mailing list