In the freetube app set an external player to mpv, after that youtube 1080p50fps videos will play smoothly with ~20% cpu load.
If there are freezes in some videos, try increasing the size of the cma buffer. In the /boot/extlinux/extlinux.conf add to cmdline cma=256M
Thank you very much for the offer, I would really like to be part of the Manjaro ARM team, but at the moment full-time work and life circumstances do not allow me to accept it and provide substantial support to the project
Just a FYI:
I can confirm that the provided image boots on a Zero 2W.
As mentioned above the device tree reference had to be changed to sun50i-h618-orangepi-zero2w.dtb in extlinux.conf.
For first tests I do not start into a graphical target by adding systemd.unit=multi-user.target to the bootline.
I have a stable text console, and perfectly working WIFI and am able to SSH into this little guy.
Sadly I cannot build the kernel from your github, as the .conf file is missing for makepkg.
I am in the process to compile the Kernel (actually just playing around a bit with it) using Manjaro’s linux PKGBUILD and freshly released 6.7 kernel sources.
If anybody has some pointers as to which patches are still necessary on a H616/H618 system I would be very grateful.
I am using WIFI only atm. And it runs nicely as a server.
Oh good. I am having problems understanding some of the patches. Without a data-sheet and an errata sheet, especially.
Would you please double-check that the device tree components for the 02W are included in that build?
First of all , thank you for your hard work, its really appreciated, and secondly, sorry for the misunderstanding, i was asking due to having read reports on DietPi’s distro making the 2w extremely hot, and hindering performance due to overheat. Personally, i’m still waiting for the 2w to be delivered.
Will definitely try your build as soon as i receive the 2ws (Receiving soon with and without shield) and will report here later on.
Regarding patches you’ve asked for, have you wandered around the Arch-based distro from OPi themselves?
With respect to hardware optimization, i found this that does reference zero3 and zero2w:
Probably nothing worth looking at, but as it referenced both models, it could be…
My work was just to get the T507/H618 cpus early init and prepare the openwrt/manjaro images for it. The rest of the work was done by the linux-sunxi community.
About temperature: if Dietpi uses the vendor’s kernel, the processor will “overheat” due to incorrect settings of the temperature sensor, it will give inflated readings.
they should find this patch series linux-minimyth2: h616: update thermal · iuncuim/manjaro-h616@3fcfcb5 · GitHub
It doesn’t affect
If you’re going to use Zero, don’t buy the 1.5GB version, it can be made to work right away, but it will require a separate bootloader image, making it of little use compared to other versions of the board
100mbps ethernet can be made to work using hacks, if I have time I can add patches for this. I have h616 tvbox for this experiments
The H618 soc has a multiphy chip inside (named as AC300), which allows to use 100 mbps ethernet without the need to connect an external PHY.
AC300 to implement ethernet requires additional clocking, which is supplied from the main die via PWM GPIO connected internally. There is no driver in the Linux kernel that supports this yet. PWM setting is done by writing magic numbers to magic registers in u-boot, which is wrong way. But we can do the same and add this hack to u-boot. Warpme, which collected patches for the operation of devices on h616/h618, also has this patch for u-boot: https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/01-hack-add-h313-int.emac.phy-support.patch#L66
I think adding this patch will add 100 mbps ethernet work.