Radxa E52C – A Rockchip RK3582 router with dual 2.5GbE, USB 3.0 port, USB serial console port

OPP values are adapted from Radxa's downstream kernel for Rock 5B [1],
stripping them down to the minimum frequency and voltage combinations
as expected by the generic upstream cpufreq-dt driver, and also dropping
those OPPs that don't differ in voltage but only in frequency (keeping
the top frequency OPP in each case).

Personally I think OpenWrt is more standard Linux than Armbian which is tons of copy & paste and mix this and that at random. OpenWrt Linux kernel is nearly mainlin one, Armbian is not.

This is really nice device. I got it yesterday. I noticed that the 25.12.0-rc1 is now available, no more snapshots needed! https://firmware-selector.openwrt.org/?version=25.12.0-rc1&target=rockchip%2Farmv8&id=radxa_e52c make sure you use builder to get all packages. I got the ext4 image, since it has more space by default.

Went to the Raxda website and used this tutorial to install OpenWRT on eMMC, since I don't have a sdcard

If you change the language to english in the config.ini (to 2) it will be much easier, took about 5mins to flash OpenWRT on it, no need to erase anything.

After that I expanded the root partition, like this: https://openwrt.org/docs/guide-user/advanced/expand_root

According to this post flashing to the EMMC does not require that procedure :rofl:
But it’s good to know it works in case no sdcard available :slight_smile:
I would have to test that once the stable release is out.

Another happy customer here. Got OpenWRT flashed on emmc.

A big thanks to @RadxaNaoki for the support.

I have the same gicv3 warning during boot up using the rc1 release candidate.

It's harmless and will disappear in the future.

This should be fixed by https://github.com/openwrt/openwrt/pull/21533 (not merged yet)
Sorry for late response.

Thank you. I see this PR was merged yesterday :slight_smile:

I think now that the smoke is clearing and we have a better idea of the way to get (pure) OpenWrt running on the E52C, we should document this of the wiki page, which is currently very bare:

I have tried to turn off all the lights on the e52c but the port lights are still on and so is the sys green led. I’m running the latest version of snapshot. Has anyone had success turning off all the lights?

I can’t see any extra options in luci to turn off any other leds.

/etc/config/system

config led 'led_wan'                        
        option name 'WAN'                   
        option sysfs 'green:wan'            
        option trigger 'none'               
        option default '1'                  
                                            
config led 'led_lan'                        
        option name 'LAN'                   
        option sysfs 'green:lan'            
        option trigger 'none'               
        option default '1'                  
                                            
config led                                  
        option name 'STATUS'                
        option sysfs 'green:status'         
        option trigger 'none'               
        option default '1'         
                                   
config led                         
        option name 'MMC0'         
        option sysfs 'mmc0::'      
        option trigger 'none'      
        option default '1'         
                                   
config led                         
        option name 'e00-lan'      
        option sysfs 'eth0-0::lan' 
        option trigger 'none'      
        option default '1'         
                                   
config led                         
        option name 'e01-lan'      
        option sysfs 'eth0-1::lan'
        option trigger 'none'     
        option default '1'        
                                  
config led                        
        option name 'e02-lan'     
        option sysfs 'eth0-2::lan'
        option trigger 'none'     
        option default '1'        
                                  
config led                        
        option name 'e03-lan'     
        option sysfs 'eth0-3::lan'
        option trigger 'none'     
        option default '1'        

config led                         
        option name 'e10-lan'      
        option sysfs 'eth1-0::lan' 
        option trigger 'none'      
        option default '1'        
                                  
config led                        
        option name 'e11-lan'     
        option sysfs 'eth1-1::lan'
        option trigger 'none'     
        option default '1'        
                                  
config led                        
        option name 'e12-lan'     
        option sysfs 'eth1-2::lan'
        option trigger 'none'     
        option default '1'        
                                  
config led                        
        option name 'e13-lan'     
        option sysfs 'eth1-3::lan'
        option trigger 'none'     
        option default '1'        

Also I am trying to use a USB 3.0 ethernet adaptor. I am getting the following in the system log

usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

I have installed kmod-usb-net-rtl8152 which is the same driver I used for this device on another openwrt device successfully.

I plugged and unplugged the device and this seemed to work. However the device stopped working again and I see this in the log

kern.warn: [ 2288.308553] xhci-hcd xhci-hcd.3.auto: WARN: HC couldn't access mem fast enough for slot 1 ep 6
kern.info: [ 2288.309337] r8152 2-1:1.0 eth0: intr status -63

Any ideas for the above @RadxaNaoki

Release candidate 4 still hasn’t been released.

Houston, do we have a problem?

P.S. In RC3, WAN speed is 100 MB/s and LAN is 1 Gbps.

no rc4 for rockchip, will get rc5

You can use 25.12 snaps in the meantime - it got luci included https://downloads.openwrt.org/releases/25.12-SNAPSHOT/targets/rockchip/armv8/

I just received one of these devices today. It is so small compared to my Raspberry Pi 5. I have the latest snapshot installed on the EMMC using the rkdeveloptool, the EXT4 snapshot version. I ran into a problem. I am trying to expand the partition but on this snapshot I am unable to install Parted. I am getting an error due to this. It cannot find parted but I know its there, I can see it at the packages site but the link to the .adb is messed up or something on this snapshot. in fact I can't install any other of my normal packages due to this.

""ERROR: wget: exited with error 8
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12-SNAPSHOT/packages/aarch64_generic/packages/packages.adb: unexpected end of file""

root@OpenWrt:~# apk update
ERROR: wget: exited with error 8
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12-SNAPSHOT/packages/aarch64_generic/packages/packages.adb: unexpected end of file
 [https://downloads.openwrt.org/releases/25.12-SNAPSHOT/targets/rockchip/armv8/packages/packages.adb]
 [https://downloads.openwrt.org/releases/25.12-SNAPSHOT/packages/aarch64_generic/base/packages.adb]
 [https://downloads.openwrt.org/releases/25.12-SNAPSHOT/targets/rockchip/armv8/kmods/6.12.68-1-e30f543625695988fdad1ed84a7518c2/packages.adb]
 [https://downloads.openwrt.org/releases/25.12-SNAPSHOT/packages/aarch64_generic/luci/packages.adb]
 [https://downloads.openwrt.org/releases/25.12-SNAPSHOT/packages/aarch64_generic/routing/packages.adb]
 [https://downloads.openwrt.org/releases/25.12-SNAPSHOT/packages/aarch64_generic/telephony/packages.adb]
 [https://downloads.openwrt.org/releases/25.12-SNAPSHOT/packages/aarch64_generic/video/packages.adb]
1 unavailable, 0 stale; 6370 distinct packages available
root@OpenWrt:~# apk search parted-3.6-r2
WARNING: opening from cache https://downloads.openwrt.org/releases/25.12-SNAPSHOT/packages/aarch64_generic/packages/packages.adb: No such file or directory

root@OpenWrt:~# apk add parted
ERROR: wget: exited with error 8
WARNING: updating and opening https://downloads.openwrt.org/releases/25.12-SNAPSHOT/packages/aarch64_generic/packages/packages.adb: unexpected end of file
ERROR: unable to select packages:
  parted (no such package):
    required by: world[parted]
root@OpenWrt:~# 

as a workaround you can use fdisk and resize2fs

basically for the partition you want to resize, you go into fdisk press p to show the start sector of it, then d delete it, and then n make a new partition at the same start but then make it as large as you want if you get any prompt to delete filesystem data say no

then you can use resize2fs to grow the actual filesystem into the partition you just increased the size of

I guess this doesnt help if you cant get access to those tools either

Rockchip E52C is back in RC5. I am running the latest snapshot though. Everything is running fine since the 2/20 build.

I tried to upgrade from RC2 to RC5 and got the following:

upgrade: The device is supported, but the config is incompatible to the new image (1.0->1.1). Please upgrade without keeping config (sysupgrade -n).

@RadxaNaoki suggested this should be fixed by merging PR 2153, but that doesn’t appear to be the case?

Or is it just that the fix wasn’t included in RC5, maybe.

I came from a blank slate. I didn’t upgrade from any RC releases. I used the latest snapshot from here, scroll down to E52C. I used the EXT4 and expanded it using the Openwrt wiki.

I'm on rc5 and my wan is 2.5gbit. I have a gigabit link on my LAN and that's showing gigabit.