]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
rockchip: add support for Radxa E52C 19867/head
authorFUKAUMI Naoki <naoki@radxa.com>
Wed, 3 Sep 2025 02:02:48 +0000 (02:02 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Sep 2025 12:29:39 +0000 (14:29 +0200)
The Radxa E52C is a compact network computer using the Rockchip RK3582
SoC.

- https://radxa.com/products/network-computer/e52c

Hardware
--------

- Dual Cortex-A76 and Quad Cortex-A55 CPU
- 5 TOPS NPU
- 2/4/8GB LPDDR4 RAM
- 16/32/64GB on-board eMMC
- microSD card slot
- 2x 2.5 Gigabit Ethernet ports
- USB 3.1 Gen1 Type-A HOST/OTG port
- USB Type-C debug port
- 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@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/01_leds
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 34809be78597e608abb7df582922b4a75bf5fed9..f3717d67c61e2e94b16ed8bffbd60f0d04298a52 100644 (file)
@@ -272,6 +272,7 @@ define U-Boot/generic-rk3588
   $(U-Boot/rk358x/Default)
   NAME:=Generic RK358x board
   BUILD_DEVICES:= \
+    radxa_e52c \
     radxa_rock-5b-plus \
     radxa_rock-5t
 endef
index 6e2c95ada79a6798d253c05f9e776f3caa0c937f..9c668a64d1aeda8f1f5a629b01ceb7765f5e2c1d 100644 (file)
@@ -15,6 +15,7 @@ friendlyarm,nanopi-r3s|\
 friendlyarm,nanopi-r4s|\
 friendlyarm,nanopi-r4s-enterprise|\
 friendlyarm,nanopi-r6c|\
+radxa,e52c|\
 xunlong,orangepi-r1-plus|\
 xunlong,orangepi-r1-plus-lts)
        ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
index b210cd191cea7ea84d6e1c8ccbe8f8e8d226dab8..971dea679c34eecde3937cbe42416509ae36f4ff 100644 (file)
@@ -15,6 +15,7 @@ rockchip_setup_interfaces()
        friendlyarm,nanopi-r4s|\
        friendlyarm,nanopi-r4s-enterprise|\
        friendlyarm,nanopi-r6c|\
+       radxa,e52c|\
        radxa,rockpi-e|\
        xunlong,orangepi-r1-plus|\
        xunlong,orangepi-r1-plus-lts)
index a70d2f2323ddae7734ebd2a2fa3f0272ab8e213f..2c9be8c2bfdb70aeb414e365780caadeb6c2ff7f 100644 (file)
@@ -50,6 +50,7 @@ friendlyarm,nanopi-r4s|\
 friendlyarm,nanopi-r4s-enterprise|\
 friendlyarm,nanopi-r6c|\
 friendlyarm,nanopc-t6|\
+radxa,e52c|\
 radxa,rock-5-itx|\
 radxa,rock-5t)
        set_interface_core 10 "eth0"
index 94b8cbfac0d0f5d12f0255a8ddb59f30d31b7299..eb21c3a08b404037e296144871d9cdbc4ddaa130 100644 (file)
@@ -159,6 +159,16 @@ define Device/radxa_e25
 endef
 TARGET_DEVICES += radxa_e25
 
+define Device/radxa_e52c
+  DEVICE_VENDOR := Radxa
+  DEVICE_MODEL := E52C
+  SOC := rk3582
+  UBOOT_DEVICE_NAME := generic-rk3588
+  DEVICE_DTS := rockchip/rk3582-radxa-e52c
+  DEVICE_PACKAGES := blkdiscard kmod-r8169
+endef
+TARGET_DEVICES += radxa_e52c
+
 define Device/radxa_rock-3a
   DEVICE_VENDOR := Radxa
   DEVICE_MODEL := ROCK 3A