November 13Nov 13 IntroductionHello 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.MethodologyTo 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.fexI 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=noThe build was successful first try so that's a good sign I suppose.NoteI 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 November 13Nov 13 by LtPinecone
Monday at 05:21 PM5 days 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 foldersun60i-a733-orangepi-zero3w.dtb from the armbian image boot folderUsing 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.
Tuesday at 10:13 AM4 days 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 foldersun60i-a733-orangepi-zero3w.dtb from the armbian image boot folderUsing 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!
Tuesday at 06:00 PM4 days 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).
Tuesday at 07:52 PM4 days 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.
Yesterday at 10:30 PM1 day Author Hello all, my Orange Pi Zero 4 arrived and I have tested my armbian build. It works! I'll be putting in a pull request soon.
22 hours ago22 hr 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.
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.