[openwrt/openwrt] rockchip: add support for Radxa ROCK 5B+

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 7 05:41:41 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d35c641ced9dd3cfe74b94aca26e21db0cc406de

commit d35c641ced9dd3cfe74b94aca26e21db0cc406de
Author: FUKAUMI Naoki <naoki at radxa.com>
AuthorDate: Wed Sep 3 02:02:37 2025 +0000

    rockchip: add support for Radxa ROCK 5B+
    
    The Radxa ROCK 5B+ is a single board computer using the Rockchip
    RK3588 SoC.
    
    - https://radxa.com/products/rock5/5bp
    
    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 6 (Realtek RTW8852BE)
    - 2.5 Gigabit Ethernet port with PoE (additional PoE HAT 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
    - 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 |  8 ++++++++
 target/linux/rockchip/image/armv8.mk | 10 ++++++++++
 2 files changed, 18 insertions(+)

diff --git a/package/boot/uboot-rockchip/Makefile b/package/boot/uboot-rockchip/Makefile
index 74bb2c6f5d..2a4352ad4b 100644
--- a/package/boot/uboot-rockchip/Makefile
+++ b/package/boot/uboot-rockchip/Makefile
@@ -268,6 +268,13 @@ define U-Boot/rk358x/Default
   TPL:=rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin
 endef
 
+define U-Boot/generic-rk3588
+  $(U-Boot/rk358x/Default)
+  NAME:=Generic RK358x board
+  BUILD_DEVICES:= \
+    radxa_rock-5b-plus
+endef
+
 # RK3588 boards
 
 define U-Boot/nanopc-t6-rk3588
@@ -342,6 +349,7 @@ UBOOT_TARGETS := \
   radxa-e25-rk3568 \
   rock-3a-rk3568 \
   rock-3b-rk3568 \
+  generic-rk3588 \
   nanopc-t6-rk3588 \
   rock5b-rk3588 \
   sige7-rk3588 \
diff --git a/target/linux/rockchip/image/armv8.mk b/target/linux/rockchip/image/armv8.mk
index ca7c2d91be..71d4391486 100644
--- a/target/linux/rockchip/image/armv8.mk
+++ b/target/linux/rockchip/image/armv8.mk
@@ -216,6 +216,16 @@ define Device/radxa_rock-5b
 endef
 TARGET_DEVICES += radxa_rock-5b
 
+define Device/radxa_rock-5b-plus
+  DEVICE_VENDOR := Radxa
+  DEVICE_MODEL := ROCK 5B+
+  SOC := rk3588
+  UBOOT_DEVICE_NAME := generic-rk3588
+  DEVICE_DTS := rockchip/rk3588-rock-5b-plus
+  DEVICE_PACKAGES := blkdiscard block-mount kmod-hwmon-pwmfan kmod-nvme kmod-r8169 kmod-rtw89-8852be wpad-basic-mbedtls
+endef
+TARGET_DEVICES += radxa_rock-5b-plus
+
 define Device/radxa_rock-pi-4a
   DEVICE_VENDOR := Radxa
   DEVICE_MODEL := ROCK Pi 4A




More information about the lede-commits mailing list