Openwrt official support request

hi @jack I’ve just finished adding official openwrt support for Radxa CM3 IO
I want to continue with E25 - any chance I could get a board for development ?


EDIT - done rockchip: add Radxa E25 board support · openwrt/openwrt@f7c732b (github.com)

thanks

1 Like

Of course. Let me send you a PM :smiley:

3 Likes

just received the boards !
let the porting begin !
many thanks @jack !

1 Like

some progress update - some good news and a bad one.
good news is that support is easy to add as the board is already supported upstream in both linux kernel and u-boot.
However with openwrt’s opensource network drivers (r8169) I can’t get a connection - only a 100mbps link without real connectivity,
I’ve also opened a new thread asking how I can get a serial console out of the gpio ports - if anyone has an idea please comment.
also ending on a positive note is that using the realtek proprietary drivers r8125 in an openwrt fork (immortalwrt) allowed me full connectivity so that’s the backup plan - send a Pr for support there if openwrt’s foss drivers are a nogo.
I hope I’ll be able to share a build and some commits soon. stay tuned :slight_smile:

alright - it seems that some initial code changes corrupted the first builds but the good news is that r8169 opensource driver is working as expected
initial support code is in maurerr/openwrt at radxa-e25 (github.com)
compiled builds (both ext4 and sqashfs) - https://oshi.at/KzkU - select one - extract the img and burn it on an uSD card (tested) or on the eMMC (untested)
kernel modules (if needed) - https://oshi.at/dtrV
imagebuilder - https://oshi.at/BvBT
links should be available for 90 days - hopefully by the end date the support will be merged in mainline
I’ll need to reformat the commits/description before I send the MR (hopefully next week)

PR sent rockchip: add Radxa E25 support by maurerr · Pull Request #14740 · openwrt/openwrt (github.com)

Just trying out your openwrt image booting from SD Card. First thing I noticed is that it does not recognize the NVME device I have installed. Do I need to install a kernel module to enable the NVME device?

no idea - I have no nvme to test
anything relevant in the dmesg ?

When booting the Radxa supplied Debian image dmesg shows the following section that enables the NVME device:

[    6.988243] ahci fc400000.sata: Looking up ahci-supply from device tree
[    6.988273] ahci fc400000.sata: Looking up ahci-supply property in node /sata@fc400000 failed
[    6.988300] ahci fc400000.sata: supply ahci not found, using dummy regulator
[    6.988521] ahci fc400000.sata: Looking up phy-supply from device tree
[    6.988543] ahci fc400000.sata: Looking up phy-supply property in node /sata@fc400000 failed
[    6.988561] ahci fc400000.sata: supply phy not found, using dummy regulator
[    6.988952] ahci fc400000.sata: Looking up target-supply from device tree
[    6.989021] ahci fc400000.sata: Looking up target-supply property in node /sata@fc400000 failed
[    6.989042] ahci fc400000.sata: supply target not found, using dummy regulator
[    6.989289] ahci fc400000.sata: forcing port_map 0x0 -> 0x1
[    6.989354] ahci fc400000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    6.989372] ahci fc400000.sata: flags: ncq sntf pm led clo only pmp fbs pio slum part ccc apst 
[    6.989394] ahci fc400000.sata: port 0 is not capable of FBS
[    6.992684] scsi host0: ahci
[    6.993173] ata1: SATA max UDMA/133 mmio [mem 0xfc400000-0xfc400fff] port 0x100 irq 19

I see nothing even remotely similar in the OpenWrt dmesg. Let me know if I can provide any additional details.

kmod-ata-ahci is enabled in my build see rockchip: add Radxa E25 support by maurerr · Pull Request #14740 · openwrt/openwrt (github.com)
maybe test out immortalwrt and open an issue on Issues · immortalwrt/immortalwrt (github.com)

1 Like

support for the device is now official rockchip: add Radxa E25 board support · openwrt/openwrt@f7c732b (github.com)

thank you once again @jack

1 Like

Wow, this is amazing. Great work! I think we should spread this news.

1 Like