Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OrangePi Zero 4

Featured Replies

  • Solution

Introduction

Hello all! My name is Josh. I am not new to SBCs or Linux, but I am new to armbian. I recently ordered the new OrangePi Zero 4 which is based on the Allwinner A733, and was just released a few months ago. To prepare for the board ahead of time, I came to Armbian to find an image to use. (I didn't really want to use the vendor supplied images). Finding none, I decided to learn something new and followed the Armbian docs to add a new board. I will at some point make a pull request when I have a working version.

Methodology

To create the config file, I started by looking at the Zero 3W and 4 Pro and used the same format and file naming convention.

BOOT_FDT_FILE="allwinner/sun60i-a733-orangepi-zero4.dtb" comes from the orangepi-6.6 branch of the OrangePi linux-orangepi repository.

boot0_sdcard_orangepizero4.fexcame from the official OrangePi debian image. I extracted and added it to my repo. Here are the commands I used if anyone is curious (Arch Linux):

dd if=Orangepizero4_1.0.0_debian_trixie_server_linux6.6.98.img of=boot0_dump.bin bs=8k skip=1 count=64
hexdump -C -n 64 boot0_dump.bin #Check to make sure eGON.BT0 exists (it's the first-stage bootloadfer for A733 devices)
hexdump -s 16 -n 4 -e '1/4 "%u\n"' boot0_dump.bin 
head -c 258048 boot0_dump.bin > boot0_sdcard_orangepizero4.fex


I then built the image using docker using these arguments:


./compile.sh BOARD=orangepizero4 BRANCH=vendor RELEASE=trixie BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_CONFIGURE=no

The build was successful first try so that's a good sign I suppose.

Note

I hope that this does not violate any rules because I have not actually received the board yet. It will be here soon and I will come back with an update!

You can find my work on this project here:

https://github.com/JoshCodeStuff/armbian-opizero4/

I figure everyone can use this topic for future development discussion on this board should it get merged into the main Armbian build repository.

Edited by LtPinecone

Solved by LtPinecone

I already forgot what is a fex file :/

While you are waiting for your Orange Pi Zero 4, you can compare:

sun60i-a733-orangepi-zero3w.dtb from the orange pi image boot folder

sun60i-a733-orangepi-zero3w.dtb from the armbian image boot folder

Using a DTB decompiling command... and see if they are similar in addresses and symbols. That way you can know if there's more work to do, to make armbian work in opiz4.

  • Author
16 hours ago, robertoj said:

I already forgot what is a fex file :/

While you are waiting for your Orange Pi Zero 4, you can compare:

sun60i-a733-orangepi-zero3w.dtb from the orange pi image boot folder

sun60i-a733-orangepi-zero3w.dtb from the armbian image boot folder

Using a DTB decompiling command... and see if they are similar in addresses and symbols. That way you can know if there's more work to do, to make armbian work in opiz4.

I'll take a look as soon as I get a chance!

Thank you for staging and doing this work (and both documenting so well and posting it in GitHub).

I'm interested in this board and was looking to see what is working OS wise. I came across this Youtube video (https://www.youtube.com/watch?v=YLjuUBKwhUQ) where the presenter is booting the vendor opizero3W and opizero4 images interchangeably. It seems like there is a great deal of similarity between the two boards (which hopefully means less work).

  • Author
1 hour ago, Rootless said:

Thank you for staging and doing this work (and both documenting so well and posting it in GitHub).

I'm interested in this board and was looking to see what is working OS wise. I came across this Youtube video (https://www.youtube.com/watch?v=YLjuUBKwhUQ) where the presenter is booting the vendor opizero3W and opizero4 images interchangeably. It seems like there is a great deal of similarity between the two boards (which hopefully means less work).

Thanks! I hate lack of documentation (partly because I do so many projects that sometimes I forget what I did). Bonus points for me since I didn't use any AI!

Anyway, I digress. The similarities are pretty high which is why I started with the 3w as a template. I am hopeful that my image will work first try but my experience tells me to think otherwise.

  • Author

Update: In further testing my armbian build, the Zero 4 works out of the box. I can use bluetooth, wifi, ethernet, and hdmi. I was even able to get ssh over bluetooth working so that was cool.

That's great news )

Please tell us the OS facts:

uname -a (for linux version)

cat /etc/issue (for armbian image OS distro)

X11 or Wayland (I don't remember how)

Greeter and desktop GUI (I don't remember how, but it should be shown in the greeter)

lspci (to see the pci device list)

lsmod (to see the used drivers)

ls /dev/accel*

ls /dev/vip* (for NPU driver check)

I compiled your repo and installed the image on my orangepizero4 and it's running.

uname -a (for linux version)

Linux orangepizero4 6.6.98-vendor-sun60iw2 #1 SMP PREEMPT Thu Sep 17 06:31:25 UTC 2026 aarch64 GNU/Linux

cat /etc/issue (for armbian image OS distro)

Armbian 26.11.3 trixie \l 

X11 or Wayland (I don't remember how)

There's a whole list of desktops that I could install, but tty is fine for me.

Greeter and desktop GUI (I don't remember how, but it should be shown in the greeter)

No desktop, just greeter.

lspci (to see the pci device list)

00:00.0 PCI bridge: Device 1f6d:abcd (rev 01)

lsmod (to see the used drivers)

Module                  Size  Used by
joydev                 24576  0
rfcomm                 57344  2
hci_uart               24576  1
bnep                   24576  2
aic8800_btlpm          20480  0
zram                   36864  3
zsmalloc               24576  1 zram
pwm_fan                16384  0
motorcomm              24576  1
goodix_ts              28672  0
vipcore               266240  0
deinterlace           106496  0
sunxi_stmmac           36864  0
pvrsrvkm             1507328  0
sunxi_ve               53248  0
sun55iw3_devfreq       24576  0
aic8800_fdrv          344064  0
aic8800_bsp            90112  1 aic8800_fdrv
nfnetlink              20480  2
ip_tables              32768  0
btrfs                1540096  0
xor                    12288  1 btrfs
xor_neon               16384  1 xor
raid6_pq              102400  1 btrfs

ls /dev/accel*

No such file or dir.

ls /dev/vip* (for NPU driver check)

/dev/vipcore
  • Author

@Ale Thank you for also testing this, I appreciate it. I will also use this post to give everyone an update: my configuration was merged into Armbian!

As for all the tests that @robertoj wants, I had much of the same results:

On 11/23/2026 at 8:19 PM, robertoj said:

uname -a (for linux version)

Linux armbian 6.6.98-vendor-sun60iw2 #1 SMP PREEMPT Thu Sep 17 06:31:25 UTC 2026 aarch64 GNU/Linux

On 11/23/2026 at 8:19 PM, robertoj said:

cat /etc/issue (for armbian image OS distro)

Armbian-unofficial 26.11.0-trunk Trixie \l

On 11/23/2026 at 8:19 PM, robertoj said:

X11 or Wayland (I don't remember how)

Since I tested with XFCE, it would be X11.

On 11/23/2026 at 8:19 PM, robertoj said:

Greeter and desktop GUI (I don't remember how, but it should be shown in the greeter)

I tested with LightDM and XFCE, currently running headless though.

On 11/23/2026 at 8:19 PM, robertoj said:

lspci (to see the pci device list)

00:00.0 PCI bridge: Device 1f6d:abcd (rev 01)

On 11/23/2026 at 8:19 PM, robertoj said:

lsmod (to see the used drivers)

Module                  Size  Used by
veth                   36864  0
nf_conntrack_netlink    53248  0
xt_nat                 12288  6
xt_conntrack           12288  3
xt_MASQUERADE          12288  3
xfrm_user              49152  1
xfrm_algo              16384  1 xfrm_user
xt_set                 20480  0
ip_set                 45056  1 xt_set
nft_chain_nat          12288  7
nf_nat                 53248  3 xt_nat,nft_chain_nat,xt_MASQUERADE
nf_conntrack          159744  5 xt_conntrack,nf_nat,xt_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         20480  1 nf_conntrack
nf_defrag_ipv4         12288  1 nf_conntrack
xt_addrtype            12288  4
nft_compat             20480  16
nf_tables             278528  189 nft_compat,nft_chain_nat
overlay               151552  2
exportfs               12288  1 overlay
rfcomm                 57344  2
hci_uart               24576  1
bnep                   24576  2
sunrpc                647168  1
zram                   36864  3
zsmalloc               24576  1 zram
aic8800_fdrv          344064  0
motorcomm              24576  1
pwm_fan                16384  0
goodix_ts              28672  0
vipcore               266240  0
deinterlace           106496  0
sunxi_ve               53248  0
sunxi_stmmac           36864  0
pvrsrvkm             1507328  0
aic8800_btlpm          20480  0
sun55iw3_devfreq       24576  0
aic8800_bsp            90112  1 aic8800_fdrv
nfnetlink              20480  6 nft_compat,nf_conntrack_netlink,nf_tables,ip_set
ip_tables              32768  0
btrfs                1540096  0
xor                    12288  1 btrfs
xor_neon               16384  1 xor
raid6_pq              102400  1 btrfs

On 11/23/2026 at 8:19 PM, robertoj said:

ls /dev/accel*

zsh: no matches found: /dev/accel*

On 11/23/2026 at 8:19 PM, robertoj said:

ls /dev/vip* (for NPU driver check)

ls /dev/vip*

awesome chip, but I just came by to let you know the AllWinner A733 will soon have what your looking for. The EDK2 port was nearly finished (it will be shortly) and I do plan to release Ubuntu 26.04 for the A733 and it will be available/linked from our EDK2 respository @ https://github.com/by-ai-for-ai/edk2-a733 . Not long after the Ubuntu and maybe a few other distro's my sights are on getting Windows 11 running natively for the A733 SoC. Stay tuned.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.