Jump to content
  • 0

OrangePi Zero2 - Allwinner H616


Werner
 Share

Question

Before complaining about an issue read this!

 

tl;dr: Put your Zero2 and/or any other H616 based device on the shelf and WAIT for proper support to come. And no. There is no ETA. Assuming usable state end 2021/beginning 2022.

 

Software support is still work in progress and under heavy development. Provided preview images can break any time. Do not report this, we are aware of that and can/will not help you with that if you are not willing to investigate and research by yourself.

Feel free to join fellow developers to their efforts to create proper software support. But don't waste our time with complains. Thank you!

 

https://github.com/apritzel/linux/commits/h616-v5

https://github.com/jernejsk/u-boot/tree/h616-v2

https://github.com/apritzel/arm-trusted-firmware/tree/h616-v2-wip

 

 

-----------------------------------------------------------------------------

 

I started to play with this board and obviously failed miserably creating a basic Armbian integration.

 

Anyway. These are the information I collected so far:

 

dtb extraction from Xulong image: https://pastebin.com/raw/Uni2JzBF

 

orangepimonitor 🙄  http://ix.io/2FM0

 

 

root@orangepizero2:/etc/apt# lsmod
Module                  Size  Used by
zram                   36864  2
sprdwl_ng             438272  0
sprdbt_tty             36864  2
uwe5622_bsp_sdio      294912  2 sprdbt_tty,sprdwl_ng

 

kernel config: https://pastebin.com/raw/e2jTTZ7A

Link to comment
Share on other sites

Recommended Posts

  • 0

The board is very good. IMHO, one of the best out there! And I have so many SBCs... maybe 10 or more.

Let me summarize:

 

Small and cheap

Draws little power, thanks to the 28nm SOC

Does not run hot, at all, not even with the (quite bad) Orange kernel (which loads one core at 100% all the time), not even at 1.5 GHz

Has onboard audio

MicroSD is quite fast, among the fastest actually

 

I see it as the best SBC for battery-powered projects, or whenever heat dissipation is an issue

 

Link to comment
Share on other sites

Help Armbian team helping you

  • 0

@XFer012Do you need HDMI? Otherwise the RockPiS is way more power efficient. Runs at 0.1A idle. Most of my power banks shut down because the load is too low. Tho it's a bit less powerful.
It indeed is a nice board and great price. But also a lot of work to support it. 
I keep my thumbs up for it.

32 minutes ago, Werner said:

There has been an attempt to do that: https://github.com/armbian/build/pull/2620

Haha
"this stuff is really ugly"
I didn't expect different. 

Link to comment
Share on other sites

  • 0
13 minutes ago, NicoD said:

@XFer012Do you need HDMI? Otherwise the RockPiS is way more power efficient. Runs at 0.1A idle

 

 

I have the RockPiS, too; quite nice, but very difficult to find here (Italy) and it's quite slower. Power efficiency is not much higher, by the way.

 

In absolute terms, using "7zr b" as benchmark, RockPi-S gives 2327, OrangePiZero2 3739 (1.6x)

Using "7zr b" MIPS / MHz as an IPC figure, the RockPi-S gives 1.78, while the OPIzero2 gives 2.54.

Using "7zr b" MIPS / W as an efficiency figure, RockPi-S gives 1450, OPIZero2 1246

Also, microSD speed is almost 2x on the OPI02.

 

A very nice board (at 20 Eur!), if only we could iron out USB support. :(

Link to comment
Share on other sites

  • 0
2 hours ago, XFer012 said:

In absolute terms, using "7zr b" as benchmark, RockPi-S gives 2327, OrangePiZero2 3739 (1.6x)

 

This is what I've got from benchmarks. 
 

OPiZero2
--------

S/C = Single Small core        B/C = Single Big core     A/C = All cores    

OPiZero2           | Clock S/C    | B/C         | Blender   | 7z S/C    | 7Z B/C  | 7z A/C | CPUMiner  | SBCBench  
OPi Focal 4.9.170   1.5Ghz                        35m34s      1320                  4800     4.65        http://ix.io/2SAn
OPi Focal 4.9.170   1.5Ghz                        35m40s

Odroid HC4         | Clock S/C    | B/C         | Blender   | 7z S/C    | 7Z B/C  | 7z A/C | CPUMiner  | SBCBench  
Ubuntu Mate 4.9      2.02Ghz                      22m29s      1881                  7400     7.5 kH/s    http://ix.io/2Lbl     No HDD 

Raspberry Pi 4     | Clock S/C    | B/C         | Blender   | 7z S/C    | 7Z B/C  | 7z A/C | CPUMiner  | SBCBench  
Manjaro                             1.5 Ghz       15m59s                  1575      6093           	    
                                    2 Ghz         13m18s                  2082      8009            

Station P1         | Clock S/C    | B/C         | Blender   | 7z S/C    | 7Z B/C  | 7z A/C | CPUMiner  | SBCBench  
Armbian bionic       1.5Ghz         2Ghz          14m31s      1341        2054               10          http://ix.io/2Ikl               
M4V2 Bionic 4.9      1.4Ghz         1.8Ghz        15m38s      1241        1813      7681

M4V2               | Clock S/C    | B/C         | Blender   | 7z S/C    | 7Z B/C  | 7z A/C | CPUMiner  | SBCBench  
TwisterOS V2         1.5Ghz         2Ghz          13m39       1345        2046      8283     11          http://ix.io/2TYt

RockPiS            | Clock S/C    | B/C         | Blender   | 7z S/C    | 7Z B/C  | 7z A/C | CPUMiner  | SBCBench  
Armbian Focal 4.4    1.29Ghz                      46m57s      868                   3500     2.7         http://ix.io/2TcN

OdroidGoSuper      | Clock S/C    | B/C         | Blender   | 7z S/C    | 7Z B/C  | 7z A/C | CPUMiner  | SBCBench  
DebianBuster 4.4     1.3Ghz                       51m49s      896                   3568     2.7         http://ix.io/2UEX

Blender 2.82 NicoD benchmark in console

Temperature
-----------
No fan   no heatsink idle          58c
No fan   no heatsink maxed         +89C No throttling ( stopped, can go higher )
3.3V Fan no heatsink idle          43C
3.3V Fan no heatsink maxed         67C
No fan   Heatsink idle             57C
No fan   Heatsink maxed            +91C No throttling ( stopped )  
3.3V Fan Heatsink idle             39C
3.3V Fan Heatsink maxed            59C
    
Power Consumption
-----------------
Idle      no fan      0.4 A
Maxed out no fan      0.7 A

Do know that the Radxa images throttle the RockPiS to 1Ghz at 50C what makes it a lot less powerful. I've no clue why. RockPiS only goes up to 71C
My OPiZero2 goes over 90C with the OPi images. Even when using a heatsink.

Link to comment
Share on other sites

  • 0

Not the same results.. maybe different revisions?

 

immagine.png.ad428063846af12520389cf0b500f60d.png

immagine.png.6888229ac2fc67501a603f2ce3db63ec.png

immagine.png.a0281482dbd617053d8765717b717cb3.png

 

and my OrangePiZero2 never got past 61 degrees, and that's without an heatsink.

I added a tiny heatsink, and it stayed below 52 degrees even after repeating 7zr benchmarks

 

Link to comment
Share on other sites

  • 0

Partial success. :)

 

I was able to boot @hexdump 's precompiled kernel (using Armbian "unstable" image).

 

This kernel indeed has USB working!
I am not able to rebuild this kernel by myself, but at least we have a mainline-ish kernel with working USB!

 

More details later, have to go now.

 

Link to comment
Share on other sites

  • 0

This sounds like good news!!

Maybe poor little H616 is going to get some love by mainline kernel? Fingers crossed!!

 

Arm updates in Linux 5.12

Removal of several obsolete 32-bit Arm platforms – efm32, picoxcell, prima2, tango, u300, zx, and c6x, as well as associated device drivers.

Allwinner

Allwinner H616 and H616-R – Initial support including pin controllers, clocks

Allwinner/sunxi power management

Various DTS changes

...

 

Link to comment
Share on other sites

  • 0

Confirmed.

At some point, rebuilding the latest mainline kernel from the Unstable branch, I managed to have the board rebooting properly; but it was in the middle of many tests and never managed to succeed again. <_<

Link to comment
Share on other sites

  • 0

I selected this board to start an adventure with Home Assistant. The board arrived two hours ago and is already running Home Assistant, using Ubuntu-Server (download from OrangePI site), with Docker (machine = OdroidN2 (als H616)).

 

For the record I'm a Linux no-no. Havent checked much so far. Reboot works. LAN and Wifi working. Will try to look into multi-cpu usage and USB.

 

So why not trying to copy some of this Ubuntu stuff into PiZero2 Armbian?

 

Link to comment
Share on other sites

  • 0
8 hours ago, HansD said:

So why not trying to copy some of this Ubuntu stuff into PiZero2 Armbian?

There was an attempt to implement the outdated vendor kernel but was not continued due to lacking of hardware: https://github.com/armbian/build/pull/2620

 

7 hours ago, Gabor5745737 said:

but how is the armbian implementation different from the changes the manufacturer made to the kernel?

Armbian is mostly built on top of mainline kernel rather than using outdated sources.

Link to comment
Share on other sites

  • 0

I tried to enable onwire both with stable, edge and factory images, but none worked using overlays. So it seems we are not there yet.

[    5.576315] sun50i-h616-pinctrl 300b000.pinctrl: pin PC9 already requested by onewire@0; cannot claim for 300b000.pinctrl:73
[    5.587658] sun50i-h616-pinctrl 300b000.pinctrl: pin-73 (300b000.pinctrl:73) status -22
[    5.595732] w1-gpio onewire@0: gpio_request (pin) failed

For anyone who needs to work with onewire on this board until proper support enabled you could use w1-gpio-cl.

Just download the headers and build it. Using onewire is then just as easy as:

modprobe w1-gpio-cl m1="gdt:73"

 

If @hexdump could provide headers for his kernel, then we could have the edge image with his kernel and support for usb, reboot and onewire until proper support is enabled.

PS: Seems that ATF has moved to v4

Link to comment
Share on other sites

  • 0
On 4/29/2021 at 10:00 PM, HansD said:

I selected this board to start an adventure with Home Assistant. The board arrived two hours ago and is already running Home Assistant, using Ubuntu-Server (download from OrangePI site), with Docker (machine = OdroidN2 (als H616)).

 

For the record I'm a Linux no-no. Havent checked much so far. Reboot works. LAN and Wifi working. Will try to look into multi-cpu usage and USB.

 

So why not trying to copy some of this Ubuntu stuff into PiZero2 Armbian?

 

hmm, is using an older kernel (4.x.x.x...)

Link to comment
Share on other sites

  • 0
On 4/28/2021 at 9:22 PM, Gabor5745737 said:

"reboot" is not turning on the board, just off, requires manual power cycling.

Anyone else noticed it?

Change SD card, I had similar issue. opi have stated in manual that good quality (Sandisk) card is required, this was their replay on git under this issue. Good quality is a broad term, but that Kingston I had what buggy on this board, worked fine on other SBCs.  Other the same model and capacity card works fine thou.

Link to comment
Share on other sites

  • 0

I think he was referring to Armbian, which does not reboot even with genuine Sandisk cards.

 

I seem to remember that at a certain point, amid various kernel reconfig/rebuilds, I had it rebooting properly by disabling "Enable suspend to disk" and disabling "Enable hibernate" in kernel Power Management section. But I'm not 100% sure.

Link to comment
Share on other sites

  • 0
On 4/30/2021 at 1:54 PM, lampra said:

If @hexdump could provide headers for his kernel, then we could have the edge image with his kernel and support for usb, reboot and onewire until proper support is enabled.

 

 

I think hexdump added some DTS patches to:

https://github.com/jernejsk/linux-1/tree/h616-hdmi

 

Me, I was unable to "integrate" that kernel into mainline. But I'm a newbie.

Link to comment
Share on other sites

  • 0

Another afternoon and all kernels for 5.12.y are done at build stage.

 

- cleaning

- do we need to archive 5.11.y. I would say no since its not LTS

- testing

Link to comment
Share on other sites

  • 0

Hello to you all,

 

Haven't read 2825 yet, will do after this but

did a quick checkout and built both for H6 (opioneplus) and H616( zero2 ), :

 

git pull

sed -i 's/orange-pi-5.11/orange-pi-5.12/g' config/sources/families/include/sunxi64_common.inc


./compile.sh EXPERT=yes EXTRAWIFI=no USEALLCORES=yes

 

compilation.log shows
---

grep error output/debug/*.log

output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:152:27: error: redefinition of ‘sun50i_h616_r_ccu_clks’
output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:178:9: error: ‘CLK_NUMBER_H616’ undeclared here (not in a function); did you mean ‘CLK_NUMBER’?
output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:194:35: error: redefinition of ‘sun50i_h616_r_hw_clks’
output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:226:29: error: redefinition of ‘sun50i_h616_r_ccu_resets’
output/debug/compilation.log:drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c:252:36: error: redefinition of ‘sun50i_h616_r_ccu_desc’

 

 

Suppose once that packaging issue is solved edge will be bumped , so sed no longer needed.

 

cheers chaps!

 

compilation.log

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...