Tanix X4 / S905X4

CoreELEC:~ # mount -o remount,rw /flash
CoreELEC:~ # fdtput -t s /flash/dtb.img soc/apb4@fe000000/pinctrl@4000/spdifout/mux groups “spdif_out_d”
Error at 'soc/apb4@fe000000/pinctrl@4000/spdifout/mux': FDT_ERR_BADPATH
CoreELEC:~ # fdtput -t s /flash/dtb.img soc/apb4@fe000000/pinctrl@4000/spdifout_a_mute/mux groups “GPIOD_10”
Error at 'soc/apb4@fe000000/pinctrl@4000/spdifout_a_mute/mux': FDT_ERR_BADPATH

I think it must be:

mount -o remount,rw /flash
fdtput -t s /flash/dtb.img /soc/apb4@fe000000/pinctrl@4000/spdifout/mux groups 'spdif_out_d'
fdtput -t s /flash/dtb.img /soc/apb4@fe000000/pinctrl@4000/spdifout_a_mute/mux groups 'GPIOD_10'
sync
reboot
CoreELEC:~ # mount -o remount,rw /flash
CoreELEC:~ # fdtput -t s /flash/dtb.img /soc/apb4@fe000000/pinctrl@4000/spdifout/mux groups 'spdif_out_d'
CoreELEC:~ # fdtput -t s /flash/dtb.img /soc/apb4@fe000000/pinctrl@4000/spdifout_a_mute/mux groups 'GPIOD_10'
CoreELEC:~ # sync
CoreELEC:~ # reboot

It works.
I’m very happy that SPDIF works for me and I can connect the DAC.
Thank you very much for your help.

Thank you again.
If you would like to add a modified Tanix x4 .dtb file to the official image, I will be happy to test it.
It seems to me that everything works fine now except wifi and bluetooth.

Really? So Wi-Fi and Bluetooth is still a no go on the Tanix X4?

Always something with these boxes.

Tanix x4 s905x4

Tanix x4 s905x4

CoreELEC:~ # udevadm info /sys/bus/sdio/devices/* | paste
http://ix.io/4HBF
dmesg.txt (267.9 KB)

1 Like

When you would have updated your old CoreELEC version you would have seen Wifi is already working.
Bluetooth will not as there is no interface driver available for Linux.

You have the W1-AML chip assembled.

1 Like

Are you talking about the CoreELEC 21.0-Omega_alpha3 version?
Does wifi work in this version?
On my wifi module it says ‘K 255B-SR’
Where did you get the name of the module ‘W1-AML’?

From Spec

Any Amlogic-ne, Zou still have kernel 5.4.125, we are already at 5.4.210

A new kernel probably means new problems.
I’ll probably stick with kernel 5.4.125 because all I need is for it to work. It seems to me that only wifi doesn’t work, but I use LAN.

Then don’t ask about :face_with_hand_over_mouth:

However, I installed CoreELEC 21.0-Omega_alpha3 on Tvbox Tanix x4 s905x4.
Everything seems to work fine except wifi.
dmesg.txt (487.0 KB)

CoreELEC:~ # udevadm info /sys/bus/sdio/devices/* | paste
http://ix.io/4HH9
CoreELEC:~ #

In SSH terminal after fresh boot

 dmesg | paste

Post the link you got

CoreELEC:~ # dmesg | paste
http://ix.io/4HHh
CoreELEC:~ #

So the solution is to turn off hardware acceleration? I’m having issue with same box Tanix X4.

CoreELEC 21.0-Omega_alpha3 on Tvbox Tanix x4 s905x4.
Immediately after entering the WiFi password, the following
message is displayed: Error. Operation timeout.
After selecting the Access point checkbox, the interface is
automatically refreshed and the field is automatically deleted.

CoreELEC:~ # dmesg | paste
http://ix.io/4HVr

These posts of ours are scattered from place to place like garbage.
First, I started a topic about spdif output.
I received help there, but my post was turned into wifi problems.
So I described the problems with wifi, but instead of an answer, my post was thrown to a garbage topic about Tanix x4 and it will certainly die here without an answer.
Tanix x4 needs very little work to make everything work well.
From what I noticed, the problem is only with WiFi.
Well, to solve this we need the good will of the Corelec team.

Now I thought that CoreELEC 20.2-Nexus is on kernel 5.4.125 and Android 11 on Tanix x4 is also is
kernel 5.4.125. If so, wouldn’t it be possible to transfer it
binary version of the wifi driver from android to coreelec?