Ubuntu 22.04 for Radxa Zero 3

Hello, I have been working on some community-built Ubuntu 22.04 images for the Radxa Zero 3 that are finally ready for release! Please let me know if any issues are encountered, but do take a moment to read the below notes.

WiFi Notes

There are two different WiFi chips used by the Radxa Zero 3 one supporting WiFi 6 and the other supporting WiFi 4. The image is configured to support the WiFi 6 (AIC8800) module by default. If you do not see any WiFi or Bluetooth interfaces you are likely using the WiFi 4 (AP6212) chip, you will need to switch the device tree file for proper functionality.

  1. Open the ubuntuEnv.txt file: Usually in the /boot/firmware/ directory. You can use a text editor like nano to open the file.
  2. Modify the line that starts with fdtfile= so it looks like ftdfile=rk3566-radxa-zero3-ap6212.dtb.
  3. Save the file and reboot the system.

Ubuntu Server Notes

Because cloud-init is used by default for Ubuntu server, there is no defined WiFi interface in the cloud-init config. If you do not define one you must manually bring up the network interface on boot with the below command.

sudo ifconfig wlan0 up

You can then verify WiFi is working by scanning for wireless networks:

sudo wlist wlan0 scan

Ubuntu Desktop Notes

If your Radxa Zero 3 has less than 4GB of RAM then please do not use the Ubuntu desktop image! Because Gnome is so resource-intensive it may cause important system services to crash resulting in unexpected behavior.

Source Code

Download

https://joshua-riek.github.io/ubuntu-rockchip-download/boards/radxa-zero3.html

6 Likes

Here he is! Spooky Hooky making magic for us Radaxians! :spades::heart::diamonds::clubs:

2 Likes

I don’t seem to have any probs with the desktop image on 2gb apart from on a quad A55 its a tad sluggish.

Tried on Opi3b & Radxa03W

Only error which I guess is the hanging internal network where I am getting a Connection failed?
Activation of network failed.

Jan 31 15:09:25 ubuntu-desktop NetworkManager[628]: <warn>  [1706713765.6011] platform-linux: do-change-link[2]: failure changing link: failure 110 (Connection timed out)
Jan 31 15:09:25 ubuntu-desktop NetworkManager[628]: <info>  [1706713765.6015] device (eth0): state change: config -> failed (reason 'config-failed', sys-iface-state: 'managed')
Jan 31 15:09:25 ubuntu-desktop NetworkManager[628]: <warn>  [1706713765.6068] device (eth0): Activation: failed for connection 'Wired connection 2'
Jan 31 15:09:25 ubuntu-desktop NetworkManager[628]: <info>  [1706713765.6092] device (eth0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jan 31 15:09:25 ubuntu-desktop NetworkManager[628]: <info>  [1706713765.6138] policy: auto-activating connection 'Wired connection 2' (e330fdc3-e591-33b6-8142-5edcb6c12f05)
Jan 31 15:09:25 ubuntu-desktop NetworkManager[628]: <info>  [1706713765.6179] device (eth0): Activation: starting connection 'Wired connection 2' (e330fdc3-e591-33b6-8142-5edcb6c1>
Jan 31 15:09:25 ubuntu-desktop kernel: rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-1:00] driver [Generic PHY] (irq=POLL)
Jan 31 15:09:25 ubuntu-desktop NetworkManager[628]: <info>  [1706713765.6191] device (eth0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jan 31 15:09:25 ubuntu-desktop NetworkManager[628]: <info>  [1706713765.6225] device (eth0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jan 31 15:09:26 ubuntu-desktop kernel: rk_gmac-dwmac fe010000.ethernet: Failed to reset the dma
Jan 31 15:09:26 ubuntu-desktop kernel: rk_gmac-dwmac fe010000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
Jan 31 15:09:26 ubuntu-desktop kernel: rk_gmac-dwmac fe010000.ethernet eth0: stmmac_open: Hw setup failed
Jan 31 15:09:26 ubuntu-desktop NetworkManager[628]: <warn>  [1706713766.6411] platform-linux: do-change-link[2]: failure changing link: failure 110 (Connection timed out)
Jan 31 15:09:26 ubuntu-desktop NetworkManager[628]: <info>  [1706713766.6416] device (eth0): state change: config -> failed (reason 'config-failed', sys-iface-state: 'managed')
Jan 31 15:09:26 ubuntu-desktop NetworkManager[628]: <warn>  [1706713766.6467] device (eth0): Activation: failed for connection 'Wired connection 2'
Jan 31 15:09:26 ubuntu-desktop NetworkManager[628]: <info>  [1706713766.6502] device (eth0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
1 Like

Hmm what issue does this cause? It looks like the eth0 can’t connect which would be correct as i assume your using a radxa zero 3 without the ethernet port.

Yeah the internal that is has no board connector I guess just needs a dtb change of staus ‘okay’ to ‘disabled’ I guess.

2gb seems no prob with Gnome even if sluggish.

1 Like

With the 22.04 image the sound has no HDMI selection and only analog. Running cmd aplay -l shows card 0: rockchiphdmi0. How to get HDMI to show in the sound settings?

Doesn’t seem to play, tried the Debian b6 and that does if plugged into a soundsource