Hi Jernej,
Please remind me what should do a power button on Plus 2E on latest stable version? I want it to do power off, is it possible?
Hi Jernej,
Please remind me what should do a power button on Plus 2E on latest stable version? I want it to do power off, is it possible?
If board is powered on, it should bring up power menu, where you can select power down. If board is powered down, it will power it up. But note that it also depends on U-Boot and Crust firmware. If you have problems, test it first on freshly written image to SD card.
Latest master is broken on Beelink GS1: kernel is booting but no MMC devices are detected, resulting "Could not mount" error and drop to debug shell.
Rather painful bisecting session of download/flash/boot nightly images points to regression between LibreELEC-H6.arm-11.0-nightly-20221008-0af4c55-beelink-gs1.img.gz and LibreELEC-H6.arm-11.0-nightly-20221008-1d2cd1d-beelink-gs1.img.gz
git log --oneline --graph --ancestry-path 0af4c55..1d2cd1d
* 1d2cd1dfcf Merge pull request #6979 from heitbaum/addons
|\
| * b91456d926 inputstream.adaptive: add missing expat dependency
* | 50d35193e7 Merge pull request #6977 from HiassofT/le11-rpi-fw-fix-rpi400-no-lan
|\ \
| |/
|/|
| * 475dc96fde RPi: update to firmware 53f4941
|/
* 4471b14f7d Merge pull request #6975 from jernejsk/aw_atf
|\
| * 3ed35a87b6 (jernejsk/aw_atf) Allwinner: atf: update power patch
* ca2c50bab9 Merge pull request #6966 from heitbaum/lirc
* 2d8a2268ec Merge pull request #6972 from heitbaum/binaries
* f51c90810f Merge pull request #6974 from heitbaum/bin-inputstream
* d455d49456 inputstream.adaptive: update v20.3.0-Nexus to 20.3.1-Nexus
Display More
My wild guess is this commit could cause it "3ed35a87b6 (jernejsk/aw_atf) Allwinner: atf: update power patch"
Confirming, reverting 3ed35a87b6 fixes latest master on Beelink GS1.
Also, Beelink GS1 gigabit ethernet is still unstable and timeouts under load. I'm using heartbeat shell script to reload driver on connection loss, but it messes up CIFS mounts and Kodi.
[ 2898.909863] ------------[ cut here ]------------
[ 2898.909883] NETDEV WATCHDOG: eth0 (dwmac-sun8i): transmit queue 0 timed out
[ 2898.909948] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x230/0x240
[ 2898.909968] Modules linked in: dwmac_sun8i rfcomm bluetooth ecdh_generic ecc 8021q garp stp mrp llc cfg80211 rfkill sunxi_cir crct10dif_ce hantro_vpu(C) v4l2_vp9 v4l2_h264 panfrost drm_shmem_helper gpu_sched sun50i_di pkcs8_key_parser fuse [last unloaded: dwmac_sun8i]
[ 2898.910025] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G C 6.0.9 #1
[ 2898.910031] Hardware name: Beelink GS1 (DT)
[ 2898.910034] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 2898.910040] pc : dev_watchdog+0x230/0x240
[ 2898.910045] lr : dev_watchdog+0x230/0x240
[ 2898.910051] sp : ffff8000096a3a70
[ 2898.910053] x29: ffff8000096a3a70 x28: 0000000000000101 x27: ffff800008a0cee0
[ 2898.910061] x26: ffff8000094479c0 x25: ffff00007fb80ee8 x24: ffff8000096a3b50
[ 2898.910069] x23: ffff800009447000 x22: 0000000000000000 x21: ffff000007ec839c
[ 2898.910077] x20: ffff000007ec8000 x19: ffff000007ec8440 x18: ffffffffffffffff
[ 2898.910085] x17: ffff8000768d6000 x16: ffff80000800c000 x15: ffffffffffffffff
[ 2898.910092] x14: ffff8000095a504b x13: ffff800009460da0 x12: 00000000000005be
[ 2898.910100] x11: 00000000000001ea x10: ffff8000094b8da0 x9 : ffff800009460da0
[ 2898.910108] x8 : 00000000ffffefff x7 : ffff8000094b8da0 x6 : 80000000fffff000
[ 2898.910115] x5 : ffff00007fb808a8 x4 : 0000000000000000 x3 : 0000000000000027
[ 2898.910123] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000001cad280
[ 2898.910131] Call trace:
[ 2898.910134] dev_watchdog+0x230/0x240
[ 2898.910140] call_timer_fn.constprop.0+0x20/0x7c
[ 2898.910151] __run_timers.part.0+0x1e4/0x22c
[ 2898.910157] run_timer_softirq+0x38/0x70
[ 2898.910161] _stext+0x10c/0x290
[ 2898.910166] __irq_exit_rcu+0xe8/0xf0
[ 2898.910172] irq_exit_rcu+0xc/0x14
[ 2898.910176] el1_interrupt+0x34/0x60
[ 2898.910184] el1h_64_irq_handler+0x14/0x20
[ 2898.910189] el1h_64_irq+0x64/0x68
[ 2898.910193] arch_cpu_idle+0x14/0x20
[ 2898.910198] default_idle_call+0x2c/0x64
[ 2898.910204] do_idle+0x238/0x2b0
[ 2898.910211] cpu_startup_entry+0x20/0x30
[ 2898.910216] __cpu_disable+0x0/0xd0
[ 2898.910223] __secondary_switched+0x64/0x68
[ 2898.910229] ---[ end trace 0000000000000000 ]---
Display More
Any way to report it upstream, without going through mailing lists?
offbeat can you check board version? Test on 1.0 didn't show any issues. From what I've been told, there is also 2.0.
Regarding network issue - It seems that other dwmac based drivers also experience it based on quick google search, but that doesn't necessarily mean that the issue is in common code.
While there is kernel bugzilla, I'm not sure how much is used by netdev people. ML is still best way to go.
can you check board version? Test on 1.0 didn't show any issues. From what I've been told, there is also 2.0.
Mine is 2.0, here is a photo
offbeat next nightly image will have latest kernel which includes SD card voltage adjustment fix. Can you please test? If it still doesn't work, I guess I'll have to dig into ATF issue.
jernej tested latest LibreELEC-H6.arm-11.0-nightly-20221203-164bd92-beelink-gs1.img.gz, still unable to boot, same error.
This week I installed LibreELEC-H3.arm-10.0.3-orangepi-pc since I haven't messed with it in a while. the CEC problems I described (and bisected) in march 2021 are solved. I briefly read through the posts, and it looks like jernej had messed with a fix and gave up? Well if he did something, it worked. if not, something else fixed it.
Is openvfd module included in kernel for Tanix TX6 in development release?
Do the nightly images for the H6 include phy ethernet driver support for the Orange Pi 3 LTS?
Can somebody explain, how the widevine work on libreelec on Tanix TX6? As far I know, there is no arm64/aarch64 support for widevine. Nevertheless, I see that kernel is for aarch64, but netflix works perfect with widevine installed via the inputstream Kodi plugin.
LibreELEC:~ # uname -a
Linux LibreELEC 5.10.146 #1 SMP PREEMPT Fri Oct 14 21:11:50 UTC 2022 aarch64 GNU/Linux
How it can be possible? What mechanism or tricks do you use?
How it can be possible? What mechanism or tricks do you use?
If your device has Google Chrome support, then Widevine library will be extracted from there. That's closed source code, but it works.
If your device has Google Chrome support, then Widevine library will be extracted from there. That's closed source code, but it works.
Mmm, not sure. I installed archlinuxarm on TX6 compiled against aarch64 architecture, but widevine library doesn't work with kodi. It says that it doesn't compatible. That is why I asked my question.
Mmm, not sure. I installed archlinuxarm on TX6 compiled against aarch64 architecture, but widevine library doesn't work with kodi. It says that it doesn't compatible. That is why I asked my question.
It probably has an incompatible kernel. Compiling a kernel includes many options. Search for a Linux with Google Chrome.
tested latest LibreELEC-H6.arm-11.0-nightly-20221203-164bd92-beelink-gs1.img.gz, still unable to boot, same error.
Sorry for late response, but obviously I took some time off LE. I'll surely work on this issue before stable is released.
Is openvfd module included in kernel for Tanix TX6 in development release?
No, but I2C bus is exposed and you can write script to drive display. I have some python script example, but it wasn't tested on LE. I can provide it to you as example, if you want.
Do the nightly images for the H6 include phy ethernet driver support for the Orange Pi 3 LTS?
No.
How it can be possible? What mechanism or tricks do you use?
Simple. While kernel is really 64-bit, userspace in 32-bit. In fact, widevine is the only reason why we release all ARM images with 32-bit userspace.
Simple. While kernel is really 64-bit, userspace in 32-bit. In fact, widevine is the only reason why we release all ARM images with 32-bit userspace.
Ok, I understand. Where can I read more about this 32 bit userspace realization?