Repository navigation
feat: add support for orangepi zero3 - #336
Conversation
Signed-off-by: Stefan Dej <meteyou@gmail.com>
|
@meganukebmp @mainmachine @depben @VectorForce3D pls download an test this new image from the workflow here. |
Signed-off-by: Stefan Dej <meteyou@gmail.com>
|
Ill test asap |
|
|
U-Boot detects correct RAM size for 1.5G!! |
|
Is UART enabled? I can't get anything on the serial after booting kernel. I cannot easily test wireless currently. There is no LED after starting kernel. I also have no way of getting a screen on it since it uses some microHDMI which I don't own. This would not be an issue with the 1.5GB version, as mentioned prior only the bootloader is different, and the bootloader now correctly detects the right amount. |
While testing, I had 1-2 times also no output and no power usage (I use a power supply with display on my desk for testing). Unplug-replug it fixed this problem (I use a 4gb version from the opi zero3). Maybe there is an issue in the bootloader sometimes? |
|
I enabled I2C, SPI and UART5 (on the normal GPIO-Header) in this Image. It would be nice, if you can test these also: https://github.com/meteyou/MainsailOS-dev/blob/feat/orangepizero3/modules/special/20-opi-zero3#L16-L34 |
I experienced this too but I also experienced some weird glitching in the print. I dont think this is related to the bootloader, but rather the power electronics. I think this board just boots faster than the caps are charged up, and can lead to power starvation as it starts pulling current quickly. This is backed by the fact that after a few restarts the caps remain charged and I get no glitching no matter how many times I restart. |
I'll find some devices to test whenever I can |
Thanks for this detailed description! To double-check, I'll update the Armbian image on the main branch, as there are some kernel and U-Boot updates for this SBC. If this doesn't resolve the issue, we'll revert to v25.05. |
|
Here are new generic armbian test builds: https://github.com/mainsail-crew/armbian-builds/actions/runs/16246767632?pr=70 |
|
I tested the test release with multiple downtimes between (the last one with some hours) and every time the SBC boots normally. maybe it was just right now only luck. it would be nice, if you can also double check it. |
|
Not sure which build I should test from the ones you linked. There are multiple for zero 3 that were built |
|
@meganukebmp ohhh sry! this one pls: |
Both u-boot and armbian detect correct memory and work fine
|
|
I cannot currently test peripherals |
|
do you have any boot issues like before, or do you think these are fixed with this image? |
I didnt experience any, but I dont think the previous build was responsible either. In any case, newer should be better I believe. |
|
normally, i just use the latest "stable release" from armbian. Right now, this is v25.05. the new test-image was just build from the main branch. |
The peripherals were not enabled by default in this build, so I had to enable them with armbian-config.
|
|
What's the progress on this? Do you still need something else tested? |
|
I just want to check SPI (I also tested only I2C until now myself), but I hadn't time to test it until now. This is the last step i need before the release. I also run the Zero3 for 2-3 Weeks on my desk and checked it every 1-2 days without any issue. So i think the build is stable. |
Any recommendations on what SPI device to test? Something that isn't too much of a hassle and is integrated into the kernel already preferrably |
|
Normally i use a ADXL and I set it up in Klipper. |
# Conflicts: # config.yml
Signed-off-by: Stefan Dej <meteyou@gmail.com>
|
Sorry I am new to Github. Is support for Orange Pi Zero 3 released or still in review? |
|
@madcar86 close before the release. I just wait for the code review. |
|
π₯³ π |
|
@meganukebmp @madcar86 we released the Zero3 image right now: https://github.com/mainsail-crew/MainsailOS/releases/tag/2.2.0 |


This PR adds support for the Orangepi Zero3 (all RAM versions). It is a upgraded PR from #249 with the CustoPiZer workflow.