-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image | Orange Pi Zero 3 #6594
Comments
so... how does one go about working towards adding a new image? This is such a cool board (great price point and more capable than anything else at that price point - wired and wireless network, 1GB (up to 4GB) - decent availability and under $25 / €30) |
Will be added with next release. We have samples already. |
There is a mainline kernel device tree in upcoming Linux 6.6: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/boot/dts/allwinner/sun50i-h618-orangepi-zero3.dts Ethernet seems to be not 100% stable yet: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f1b3ddb3ecc2eec1f912383e01156c226daacfab Why does the device tree from Orange Pi kernel sources define it as Allwinner H616, while it is actually an H618, correctly defined in mainline Linux? This guarantees havoc when switching between kernels, respectively makes the vendor U-Boot default non-functional with mainline kernel as of the necessarily false device tree name. There are always these little annoying inconsistencies which cause distributors a lot of problems when dealing with vendor kernel and bootloader sources ... I'll never understand the reason for this: |
I have been playing with the vendor kernel (well, with their Debian distro) to assess how useful this board is - and there wifi seems to work, I haven't seen ethernet issue (but then, I haven't exactly put a lot of load on it). |
Ah yes, the limitations I listed are with mainline kernel, as the device tree was just added very recently there. Hence for now we should stay with vendor kernel. |
Any progress on making the image? This board is excellent for the price and I'm planning to replace my NanoPi NEO with it. A DietPi image on OPi Zero 3 would be sweet. Thanks. |
I ordered the same board today. Would be excellent to have a dietpi image ready for use. |
I used mine on and off with their factory build. The board is great - I'm really impressed at the price point (at least from AliExpress). But their image sucks :) |
First step done: 5c20bbc |
Thx. |
any news? Got my hardware today but the standard image isn't the best. Will you support 4GB Ram as well? |
I tried the DietPi installation script (https://dietpi.com/docs/hardware/#make-your-own-distribution), but unfortunately the board can't seem to connect to my network after a reboot. I tried both Wi-Fi and Ethernet, setting AUTO_SETUP_AUTOMATED flag to 1 in /boot/dietpi.txt, beta and dev branch of the installer, and different versions of the official Orange Pi Debian image (both 1.0.0 and 1.0.2). I don't have a Micro HDMI cable or an UART reader so I don't know if there's even any output. |
I guess some firmware is missing. I'll start working on it this week. |
I'm looking forward to. I also tried to make an image. It's possible to do so from the 4GB Bullseye Image. And then upgrade to Bookworm during the dietpi Script. It's not stable however. The only solution to get ethernet working ist do unplug power cable and then plug back in. If I try to reboot via terminal it just says: Failed to connect to bus: No such file or directory. Afterwards it becomes unreachable. |
I borrowed a Micro HDMI cable, and the board boots up fine. In dietpi-config however, the Ethernet and WiFi adapters are not found. So you're right about this, there's definitely firmware missing. |
When will the next Dietpi released? |
Thx a lot. Does it mean orange pi zero 3 will be supported with the upcoming release? Doesn't seem to be that easy. |
Images are ready for testing: https://dietpi.com/downloads/images/testing/ They currently use the unmodified kernel, dtb, bootloader and firmware packages from Orange Pi. I'll do own builds, but use the same build system, since it is an older fork of Armbian (the build system, not the package sources), which allows some consistency and potentially a simple migration if Armbian themselves add support in the future. |
The code to support it as an own hardware ID has been added with last release already. Now it has been added to our build script. So yes, initial support is there, now I want to enhance the kernel build and testing is needed. |
Alright thx a lot. I just tried the image. Booted fine. So far I still see two major problems
|
Why the hack do others still see this while we added a workaround already which works perfectly fine on all my systems. Can you paste the output of the following command: declare -f reboot
ls -l /etc/systemd/system/systemd-logind.service And you do use the However, this is a visual error only and does not actually prevent reboot. I guess it does actually reboot but does not come online anymore since the Ethernet device is lost. At least this is what I am facing: On a reboot, the Ethernet adapter is detected for a short time, and the interface generated, but removed quickly again. I need to check back with Orange Pi. After cold boot (power cycle), this does not happen. Also no such issue with WiFi. |
Shure here's the output. I'm using reboot now. I don't care if it's only a message. But as you say only cold boot reenables ethernet functionality. root@DietPi:~# declare -f reboot
ls -l /etc/systemd/system/systemd-logind.service
reboot ()
{
local command='reboot';
for i in "$@";
do
case $i in
'-p' | '--poweroff')
command='poweroff'
;;
'--reboot' | '--no-wall')
:
;;
'--halt')
command='halt'
;;
*)
/sbin/reboot "$@";
return $?
;;
esac;
done;
systemctl start "$command.target"
}
lrwxrwxrwx 1 root root 9 Nov 10 00:35 /etc/systemd/system/systemd-logind.service -> /dev/null |
So clean etch of that version, booted to 1.5G -- Setup finished, IP allocated and assigned to eth0. sudo reboot eth0 and Wi-Fi disappear. Cold boot and of course they come back and function fine. |
Mine doesn't boot with this image: Let me rephrase: this is headless - I'll need to hunt around for cables to connect it to a screen... The green LED is solid, the red LED blinks twice then pauses, repeat. And it never powers up the ethernet port. |
Do you have a serial adapter? |
WiFi as well? Does this happen to anyone else or did happen before with the Orange Pi kernel as well? 🤔
Hmm, looks like a kernel crash: In bootloader stage, the red LED is solid. When the kernel loads, it switches so the green LED becomes solid, and the red LED instead switches to heartbeat. If it blinks twice only, it seems to have crashed after the first heartbeat, in early kernel loading/boot stage. A screen could be helpful to see the kernel error/last log, which hopefully gives a hint. Uff, I wonder whether we get this stable any soon. I was so optimistic since everything works perfectly find with my Zero 3 with the Armbian kernel + bootloader, and with the Orange Pi bootloader as well, aside of flaky SSH I/O when using WiFi. But each individual board seems to behave differently, starting with the significantly different temperature (+-5-10 °C idle is crazy), how disappearing Ethernet is fixed for 1/2/4 GB, but not for 1.5G, WiFi disappearing for some as well, kernel errors for others. With such significant issues, no way to publish images on our website 😞. |
I should have the right HDMI cable... Somewhere. |
Btw @dirkhh, how much RAM does your's have?
Serial console output would be best, indeed, which can be scrolled compared to HDMI. Any 3-cable UART adapter will work, using the debug UART at the 3 dedicated pins. I'm also flashing the image again, just to assure I did not mess up something with it. |
More searching in my ginormous pile of cables 🤣 Good / strange news in the meantime.
Nah, that was all on my side, it seems. Now comes the moment we have all been waiting for...
🎉🎉🎉 Ethernet comes back. Any output you would like to see from this baby? And: WELLDONE @MichaIng |
@MichaIng Forgive me... Bonehead move on my end. Wi-fi does not disappear on sudo reboot. I simply had never turned it on. So it was not present even on cold boot. Sigh. OK. So I fixed that to see what it really did and as expected the wi-fi does survive a simple reboot. In other words, eth0 is pulling an IP from my vlan1 and wifi pulling from vlan30 all works on cold boot. Sudo reboot and wi-fi remains and pulls IP from VLAN30 - eth0 has checked out, with double red flash from board LED. Cold boot it and both adapters come back with IPs as expected. Let me know what info or logging you'd like and I'll pull it for you. Image is just sitting on a spare SD card so I can do whatever you need with it. |
Ah great, many thanks for retesting. Okay at least the 1/2/4 GB variants seem to be fine now, 1.5G still loses Ethernet. @StaticReverb I also messed something up regarding WiFi: When using it for firstrun setup, the kernel module needs to be loaded, of course, and I removed that part form the installer, once I added it to the |
Hi, I've just tried with zero3 1GB.
eth0 is no longer use as default network interface name from Debian 12, they changed it to end0 btw. |
Orange Pi Zero 3 1gb second boot ok |
Found and tested a new test image (build date 27/01) in the testing directory.
Probably unrelated: UBoot probes for an AXP305, but the Zero3 has an AXP313.
Kernel:
|
I have the 1GB version, Ethernet works after every restart with the testing image from January 27th. Tried the same image on Orange Pi Zero 2W 1GB too, also works great, but I can't turn off the red LED through dietpi-config. |
did you tried |
Yes, I tried to change the LEDs through dietpi-led_control, haven't tried to do it manually. Both LEDs can be turned off on Zero 3, but on Zero 2W the red LED stays on no matter which option I choose. The green LED works though. |
Please keep this topic for Zero 3 only. It is totally expected that the same image without modification does not work on Zero 2, especially when it is about such hardware device nodes. For Zero 2, see the other topic, especially this post about switching to the correct device tree: #6827 (comment)
Not sure what you are referring to. Linux assigns
Was this the same when you upgraded the kernel on the old image? Can you check whether the kernel module was loaded? lsmod | grep sprdwl_ng And are there any kernel errors shown regarding this? dmesg -l 0,1,2,3 The WiFi chip should be AW859A on all Zero 3 variants, so no idea why it would behave differently between 1.5 and 1/2/4 GB RAM variants. |
Sorry, I already deleted the previous test images. lsmod | grep sprdwl_ng
dmesg -l 0,1,2,3
|
Tested this morning's image. On the first try, the boot didn't complete, the ethernet lights were off and no dhcp address is requested. The second try completed and I could ssh to the device. dmesg -l 0,1,2,3
lsmod | grep sprdwl_ng
|
Orange PI's Bullseye 5.4 image does not have different versions for memory sizes. I have created an image and am wondering if people with other Z3 memory sizes can boot from it: https://drive.google.com/file/d/12075O4QND1Kym6lZIQHkjrLj5BXRxokX/view |
We know that the 5.4 vendor kernel does not have the Ethernet issue, but it is too old to have any future. Relevant for us is the mainline-based kernel. With Linux 6.1 Orange Pi even has 3 different images. |
I see that the OrangePi Zero 3 image have been removed from the test images and the |
orange pi zero 3, is now moved in download version ;)
Le ven. 23 févr. 2024 à 10:11, Alberto Tejada Molina <
***@***.***> a écrit :
… I see that the OrangePi Zero 3 image have been removed from the test
images and the (test) tag have been removed from the official download
image.
Does it mean that this ticket can be closed?
—
Reply to this email directly, view it on GitHub
<#6594 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGIVC3GEFCFTQ5POKIOAUXLYVBML3AVCNFSM6AAAAAA4IDZNHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQHE3DMNJWGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes exactly. I know, especially the 1.5 GB RAM variant still has the Ethernet issue, and we left a warning at the download page about this. Also some still report WiFi issues, @PJVervoorn at least. Still unsure about this, since I cannot replicate it. Just to rule it out, you could test our latest image, which has a little newer kernel. However, I'll close this already too large issue now. Regarding Ethernet on 1.5G variant, I opened a new issue: #6938 If anyone faces other problems, please open a new issue. |
For everyone that comes looking for answers to OrangePI Zero3 issues (and for my future reference), following a couple of weeks playing around.. I concluded:
|
@tmoore22 can you be a bit more precise about the issues you face, and in case provide serial console logs?
So whichever issue you face on your 4 GB variant, please open a new issue about this, and detail the issues you face, and serial console logs, at best. |
Hi @MichaIng, after a power cycle, good boot looks like this: |
@tmoore22 Very weird, as the math is correct and also the method should be failsafe. Even if e.g. there was a race condition with something else writing to the start of the RAM during the check, it should not stop exactly one byte higher, but at the end of the range of checked values. However, it is unrelated to the 1.5G patch, which runs after these false values have been derived already. Other than that, the patch adds this output about the RAM size/parameters, else one wouldn't even recognise what's going wrong. I'll compare with my 2G and 1.5G models, to see whether any inconsistency appears there as well, and add some more debug output. Maybe we can narrow it down. I also mailed the author of the 1.5G patch already whether he observed something similar and/or has an idea how it is even possible (as of the method which looks solid), but no direct result. Let's discuss further in the linked issue. |
Creating an image request
Formal device information
Is the SBC officially supported by the Debian installer?
If not, is a reliable 3rd party Debian image available for this SBC?
If not, are there install instructions for Debian available?
Google Drive link
The text was updated successfully, but these errors were encountered: