[S922X] X88 King

Thank you. Dtb from april firmware is here: dtb (256 KB)

As I thought the dtbs are identical. So the fix is in the bootloader and it should now maybe work also in CE.

1 Like

my android is on 20200628-1416 and is latest firmware.
no available updates

My X88 is on 20200424 and tells me I am up to date… and I have no problem with my ethernet connection by the way.

I had 20200424 from mafacturer, but was not going lan under android and ce. I tried first time customized rom, which had fixed lan 1gbit, but any impact in CE. Also now with this official rom is lan yet fixed in android, but not in CE. I dont undersand what is wrong with this box. Lan is going in CE only with eth commmand as 100 mb/s.

Have you black or colored box ? Please put here shot frpm application device info hw in android. If we have same eth chip according to this app in android.

Interesting is also presence of integrated sound amplifier ad82584f in android, which i dont see in logs of coreelec http://ix.io/2y4F . https://datasheetspdf.com/mobile-pdf/1345785/ESMT/AD82584F/1

You seem to be the only one with this problem. I’d say you probably have a bad device.
There are several ways ethernet can be fixed, one way is through uboot, which would benefit both CE and Android, another is fixing it through an OS patch. They must have used OS patch to fix it, meaning CE won’t get the benefit of their changes on your device.

OK, i prepared also some last configure files from last update. remote-mouse.tab (1.4 KB) remote.tab3 (1.0 KB) remote.tab2 (1.4 KB) remote.tab1 (503 Bytes) remote.cfg (598 Bytes) length_list (65 Bytes) dtb_2 (103.8 KB) dtb_1 (103.6 KB) aml_head (2 KB)

So i understood, what is different. My tv box x88king work in 1gbit mode in android and also in (uboot= i have in coreelec updated time after start, but not internet without edit speed to 100mbit). I have transmitter SG24002 and here is one good case: ethernet not working on s912, only Wi-Fi · Issue #723 · libretro/Lakka-LibreELEC · GitHub.

Also, if is going only lan 100mbit with fix of speed, therefore is not displyed topic of internet connection on matrix realise 19.1 rc 1 on clean installation. In case of upgrade from 9.2 to 19.0 and 19.1 are better many things. It is less temperature. On matrix 19.0 are not high cpu usage than on clean install of 19.1 rc1

For better diagnostik i tried run Manjaro linux on x88king, but usb ports with dtb.img from am6 plus are not recognized. Dtb.img from coreelec not helped - kernel was not loaded.

Thanks for the posts. I got it working with ubuntu 20.04 + usb + usb ethernet.

  1. g12b_s922x_x88_king_rev_a.dtb from https://relkai.coreelec.org/CoreELEC-Amlogic-ng.arm-9.2-nightly_20210402-Generic.img.gz
  2. GTKingPro_Ubuntu-xfce-focal_Linux-4.9_arm64_SD-USB_V0.8.4-20200513.img.xz - ubuntu 20.04 from Beelink GT King Pro - Debian Strech & Ubuntu Bionic Firmware - FreakTab
  3. cp g12b_s922x_x88_king_rev_a.dtb to db.img
  4. boot it
  5. usb and usb ethernet is working fine; ethernet is not ok
    Linux x88 4.9.206 #2 SMP PREEMPT Wed May 13 14:38:40 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
    Ubuntu 20.04 LTS

Ok, it is good news. Now we now check device with commands as lsusb –v, dmesg, lspci, lshw, hwinfo, etc.

I have also been trying ubuntu with kernel 4.9 and coreelec dtb, and it’s quite usable, perfect for a small server, in my case integrated ethernet also works.
But I haven’t been able to install it to emmc, the included script to install to EMMC completely bricked my unit, and I needed to short the mb pins to enter mask rom mode and to the device detected and be able to flash a rom.
I also tried with armbian scripts to install to emmc, and everything seems to work fine, the partitions get created, but then I get a boot loop until I flash some other android rom.

I succesfully installed 9.2.7 to EMMC.
Matrix is still on sdcard

Yes, ceemmc works great, I installed CE as dual boot with android and it works fine.
Too bad ceemmc is not open source, and you only get a binary, I would love to try to adapt it to be able to install any linux distro, but I’ll have to keep looking for a script that works.

Thanks @ramoncio for the update on ethernet port.
I use new version of g12b_s922x_x88_king_rev_a.dtb from
CoreELEC-Amlogic-ng.arm-19.2-Matrix_nightly_20210701.tar.
Now ethernet is working fine without using usb adaptor.

Hello,
I can confirm atirage21’s ethernet problems. I have exactly the same symptoms:

  1. Stock Android works perfectly fine with 1gbit/s ethernet
  2. In CoreELEC-Amlogic-ng.arm-19.3-Matrix-Generic.img “ethtool -S eth0” shows me rx-crc-errors increasing constantly when on 1gbit/s, to an extend that the dhcp request doesn’t even complete.
  3. When i force the ethernet to 100mbit/s “ethtool -s eth0 speed 100 duplex full” everything works fine.

I use “g12b_s922x_x88_king_rev_a.dtb” from the above imagefile.

Does anybody else have similar problems?

In my box ethernet works fine.

X88King:~ # ethtool eth0
Settings for eth0:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Link partner advertised link modes:  10baseT/Half 10baseT/Full 
	                                     100baseT/Half 100baseT/Full 
	                                     1000baseT/Full 
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: Yes
	Link partner advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 0
	Transceiver: external
	Auto-negotiation: on
	Supports Wake-on: ug
	Wake-on: d
	Current message level: 0x0000003f (63)
			       drv probe link timer ifdown ifup
	Link detected: yes


X88King:~ # opkg install iperf
Installing iperf (2.1.3-1) to root...
Downloading http://bin.entware.net/aarch64-k3.10/iperf_2.1.3-1_aarch64-3.10.ipk
Configuring iperf.
X88King:~ # iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  1] local 192.168.161.222 port 5001 connected with 192.168.161.223 port 58484
[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-10.04 sec  1.05 GBytes   899 Mbits/sec
1 Like

Is it possible add support of PHY RTL8211F-VD for x88kking to dtb from last 19.5-Matrix_rc2 (Added support of PHY RTL8211F-VD) ? I updated of coreelec, but always not going the 1gbit speed.

RTL8211F-VD is included in kernel: add phy RTL8211F-VD · CoreELEC/linux-amlogic@b83657a · GitHub

Can you post after reboot

dmesg | paste