• 0

OrangePi Zero2 - Allwinner H616


Werner
 Share

28 28

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 post
Share on other sites

Recommended Posts

  • 0
On 1/29/2021 at 9:19 PM, jernej said:

@yar83 you really didn't read this thread, right?

Yes, I really didn't read this thread. I tried, but... I was so frustrating of my two days struggle so just closed eyes and breathlessly waited for a miracle. But realty hurts me one more time. Now i'm reading thoroughly the thread and other materials. Thanks for all.

Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

  • 0
22 minutes ago, Werner said:

I can send you mine but shipping is probably more expensive than simply ordering a new one :(

 

Thank you for your offer. Will get a replacement from Xunlong when possible.


I still have one in the CI lab, but it's deep in the rack :) I rather hope someone else has a strong enough interest to proceed on this.

 

BTW. Considering the number of boards that I had played with in a past decade, there were just a few that died off completely in my hand: Opi Zero2, Olimex Lime2, Odroid XU4 and C4. Didn't inspect the reasons so I can't tell if it was my fault. There were a few others with a partial hw failure such as broken SD card slot, connector fell off, ...

Link to post
Share on other sites

  • 0
On 1/18/2021 at 12:41 PM, yam1 said:

Just another data point, the following code initializes an ili9341 display on DRM, but there is something else wrong with SPI or driver (but tested driver and it works under H6). One could see the display initializes under X, but the mouse pointer is kind of messed up (1st pic), also X terminal is garbled (2nd pic) . X would then eventually shut down because of lack of input device or something else.

 

Note: Same behavior with fbdev driver.

As an update to my earlier post, I changed the SPI frequency to 16mhz and the display came up showing the desktop (I was using 48mhz - it worked on other H6 boards.) However, the display shut off a little bit after that.

Link to post
Share on other sites

  • 0

. Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
[    3.934244] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    3.944448] sunxi-mmc 4020000.mmc: Got CD GPIO
done.
[    3.972822] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    4.018158] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.028069] mmc0: new high speed SDHC card at address 0001
[    4.034421] mmcblk0: mmc0:0001 SD 29.2 GiB 
[    4.040510]  mmcblk0: p1 p2
[    4.052644] random: fast init done
[    4.080309] sunxi-mmc 4020000.mmc: data error, sending stop command
[    4.086606] sunxi-mmc 4020000.mmc: send stop command failed
[   33.760590] usb1-vbus: disabling
[   33.763836] vcc3v3-ext: disabling
[   33.767485] vcc3v3-ext2: disabling
[   33.771202] cldo1: disabling

 

can't run any image getting same error. image from orangepi on 4.9 linux work but i need driver for mt6701u which is not present there, and AP mode not work. please help to run image. i'm new to builds with git. tried different sd cards. spent week building images with different config and patches from this thread all same error.

 

 

Link to post
Share on other sites

  • 0
2 hours ago, Werner said:

You find your answer in the very first post of this topic

Off-topic: Do we need to open a new thread (in general chit-chat maybe?) if we seek experiences from other forum members and not from the person who started the current thread?

Link to post
Share on other sites

  • 0

Could you describe the steps you followed to build your experimental image?

I've found generic steps to build Armbian, but it looks like you used a different kernel and custom configuration? What about DTB?

I would like to play a little with my Orange Pi Zero2, even if most of the stuff does not work yet.

Link to post
Share on other sites

  • 0

I decided to have a bit of fun with the Unstable (Hirsute) from April, 3rd.

Kernel is

Linux orangepizero2 5.11.11-sunxi64 #trunk.69 SMP Thu Apr 1 21:56:55

 

My board has 512 MB of RAM.

I'm running headless.

 

OK:

Well, it boots! That's nice!!! 

Ethernet works, with DHCP

Debug UART (the 3-pins one) works, at 115200

MicroSD works. Looks quite fast too (hdparm clocks at 44.5 MB/s)

Load average is 0 when doing nothing!! With original custom image from OrangePi, it shows about 1.00

 

Not OK yet:

USB port does not work (tried with pendrive): inserted device not detected at all (like if USB port is not present)

Reboot does not reboot: powers off the board

Armbian-config: trying to set CPU speed and governor exits with this error:

/usr/lib/armbian-config/jobs.sh: line 1115:
Error: Expected at least 5 tokens for --menu, have 4.
Use --help to list options. / 1000: syntax error in expression (error token is ": Expected at least 5 tokens for --menu, have 4.
Use --help to list options. / 1000")

Unable to detect (or change) CPU frequency/governor:

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.
analyzing CPU 2:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.
analyzing CPU 3:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.

 

Some dmesg entries indicate the kernel is still alpha-stage, as expected:

sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pi not found, using dummy regulator
dwmac-sun8i 5020000.ethernet: supply phy-io not found, using dummy regulator
dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 51fe6 (expect 0)
usb1-vbus: disabling
vcc3v3-ext: disabling
vcc3v3-ext2: disabling
cldo1: disabling

 

 

Summary:

To me, the current Unstable image (April, 3rd) looks quite nice already. Lots of stuff work!

Great work Armbian! Thanks!!

 

Any tests I may perform, to be of any help?

 

Link to post
Share on other sites

  • 0

I tried today the recommended and test(03042021) images.
The kernel booted, but I could not pass the password change using UART at 115200 (cu, bootterm, minicom) nor I could connect from ssh using Ethernet cable. I will try with a new sd card next week.

Link to post
Share on other sites

  • 0

thx to post of successful run yesterday so i find i cant load from any 32 GB card but works on 16GB. assuming card in ur run 64GB and tha ti can run 4.9 linux from 32 gb its some driver timing error cuz not depend on file systems. i got some error data from driver  error occurs on fs runtime but never on bootimg load on start

 

in: Mounting roo[    3.914411] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
t file system ..[    3.922603] dwmac-sun8i 5020000.ethernet: Normal descriptors
. Begin: Running[    3.929684] dwmac-sun8i 5020000.ethernet: Chain mode enabled
 /scripts/local-[    3.937249] libphy: stmmac: probed
top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
[    3.968273] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.978283] mmc0: new high speed SDHC card at address 0001
[    3.984807] mmcblk0: mmc0:0001 SD 29.2 GiB 
[    3.990677]  mmcblk0: p1 p2 p3
[    4.006865] random: fast init done
[    4.130966] sunxi-mmc 4020000.mmc: irq 23 opcode 18 error -110 blksize 512 blk_addr 61156183 flags 512 data error, sending stop command
[    5.140649] sunxi-mmc 4020000.mmc: send stop command failed
[   33.764700] usb1-vbus: disabling
[   33.767942] vcc3v3-ext: disabling
[   33.771618] vcc3v3-ext2: disabling
[   33.775338] cldo1: disabling

 

or that

 

Begin: Will now check root file system ... fsck from util-linux 2.34
[/usr/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
/dev/mmcblk0p1: [    4.395397] sunxi-mmc 4020000.mmc: irq 23 opcode 25 error -110 blksize 512 blk_addr 1056768 flags 256 data error, sending stop command

 

but thats all i could understand for now

 

 

Link to post
Share on other sites

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
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

28 28