Zero3e openwrt support

With support from radxa (received a sample board) I’ve started to add support for openwrt for the zero3e board
Test build https://oshi.at/tPRZ (90 days link)
Source code (dev tree) https://github.com/maurerr/openwrt/tree/radxa-zero3e

Any feedback is welcome

EDIT:
a “proper release” is on maurerr.github.io/radxa-zero3e with kernel modules and update to distfeeds.conf for those
for openwrt mainline we need u-boot support so I’ll request some help with that.
stay tuned :slight_smile:

4 Likes

Hi @mariusd_ro, were you able to achieve your goal? Does WIFI AP work?

Thank you!

I only have zero3e and it doesn’t come with wifi
maybe @RadxaNaoki can help to answer about wifi AP

supporting wifi on 3W is planned but currently no ETA, sorry
(you may use USB wifi)

Openwrt is available oficialy https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/

3 Likes

so just gzip -dc radxa_zero-3e-ext4-sysupgrade.img.gz > /dev/mmcblk0?

1 Like

cooool :slight_smile:

root@OpenWrt:~# ethtool -T eth0
Time stamping parameters for eth0:
Capabilities:
       hardware-transmit     (SOF_TIMESTAMPING_TX_HARDWARE)
       software-transmit     (SOF_TIMESTAMPING_TX_SOFTWARE)
       hardware-receive      (SOF_TIMESTAMPING_RX_HARDWARE)
       software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)
       software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
       hardware-raw-clock    (SOF_TIMESTAMPING_RAW_HARDWARE)
PTP Hardware Clock: 0
Hardware Transmit Timestamp Modes:
       off                   (HWTSTAMP_TX_OFF)
       on                    (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
       none                  (HWTSTAMP_FILTER_NONE)
       all                   (HWTSTAMP_FILTER_ALL)
       ptpv1-l4-event        (HWTSTAMP_FILTER_PTP_V1_L4_EVENT)
       ptpv1-l4-sync         (HWTSTAMP_FILTER_PTP_V1_L4_SYNC)
       ptpv1-l4-delay-req    (HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ)
       ptpv2-l4-event        (HWTSTAMP_FILTER_PTP_V2_L4_EVENT)
       ptpv2-l4-sync         (HWTSTAMP_FILTER_PTP_V2_L4_SYNC)
       ptpv2-l4-delay-req    (HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ)
       ptpv2-event           (HWTSTAMP_FILTER_PTP_V2_EVENT)
       ptpv2-sync            (HWTSTAMP_FILTER_PTP_V2_SYNC)
       ptpv2-delay-req       (HWTSTAMP_FILTER_PTP_V2_DELAY_REQ)

thanks

May I ask where did you run this command from? An external linux environment like Debian?

I keep having trouble flashing openwrt images to Zero 3E’s SD Card. I was using balenaEtcher at the beginning but the device won’t boot (solid green light; no ethernet connection seen from my router)

yes, from laptop

Somehow this does not work for me. I wonder what I have missed.

I have Debian running on my Zero 3E with SD Card 1 (mmcblk1)

radxa@radxa-zero3:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk1 179:0 0 28.9G 0 disk
├─mmcblk1p1 179:1 0 16M 0 part /config
├─mmcblk1p2 179:2 0 300M 0 part /boot/efi
└─mmcblk1p3 179:3 0 28.5G 0 part /
zram0 254:0 0 489.6M 0 disk [SWAP]
radxa@radxa-zero3:~$ ls
openwrt-rockchip-armv8-radxa_zero-3e-ext4-sysupgrade.img.gz

Then I plug in SD Card 2 (sdb) using a card reader:

$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 59.5G 0 disk
├─sdb1 8:17 1 16M 0 part
├─sdb2 8:18 1 300M 0 part
└─sdb3 8:19 1 4.2G 0 part
mmcblk1 179:0 0 28.9G 0 disk

And I used your command to flush the SD Card 2:

radxa@radxa-zero3:~$ sudo bash -c ‘gzip -dc openwrt-rockchip-armv8-radxa_zero-3e-ext4-sysupgrade.img.gz > /dev/sdb’
[sudo] password for radxa:
gzip: openwrt-rockchip-armv8-radxa_zero-3e-ext4-sysupgrade.img.gz: decompression OK, trailing garbage ignored
radxa@radxa-zero3:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 59.5G 0 disk
├─sdb1 8:17 1 16M 0 part
└─sdb2 8:18 1 104M 0 part
mmcblk1 179:0 0 28.9G 0 disk

Finally I shutdown the device reboot from SD Card 2, but the device stuck on solid green light.

I figured what happened: https://forum.openwrt.org/t/radxa-zero-3e-support/200605/41

1 Like

i ignore diodes, i watch serial console :slight_smile: