[S922X] X88 King

I check mx lan cable. I have cable category 5e, which is going on 100mhz and have also support of gigabite ethernet. Maybe others have cable category 6, whuch have 250 mhz for 1000 mb speed and 100 mhz is used for 100 mb speed. If is going 1000 speed lan on customized android, maybe only must be enabled support 1000 mbit lan on 100 mhz. https://en.m.wikipedia.org/wiki/Category_5_cable

Cat 5e is fine for gigabit, you only need cat 6 for very long runs.

Today i solved very quiet audio-video output to hifi speakres. After replace file in system/vendor/etc with this file mixer_paths.xml (32.1 KB) is sound more clear and loud in android. Some solution we need in CE for this box of setting default volume for audio-video output according to 85H set https://forum.xda-developers.com/apps/magisk/mod-increase-default-volume-to-want-t3723793. @TheCoolest please change it settings of volume for AV output in dtb for this device.

There is some progress: https://linuxlists.cc/l/1/linux-kernel/t/2656621/(patch)_net:_phy:_realtek:_add_rtl8211e_rx_tx_delays_config

See also this page: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=daf3ddbe11a2ff74c95bc814df8e5fe3201b4cb5

After trying and trying customized roms, and research differencies according to data of authors of thhese roms, best is rom from vontar. It is based on last kernel and drivers from last offciacial update of firmware 20200424 from april 2020, and this rom have only minor changes to official last rom (for me is going e.g. eth as 1gbit, which is not going on coreelec and on official rom). Link for download of this rom for research of good settings and drivers is: https://cloud.mail.ru/public/4BNg/3SXRTZNrH

We can’t do anything with a ROM, a link to the sources used would be more helpful.

Ok, it is very heavy for grab. I tried take better photo on chip under cooler. Eth is really rtl 8211f, which was wrote in android.

Hi,
I have a question and that is when you start the box under Android, it has both LCD display and the lettering is illuminated.
Under Coreelec I got the LCD to work, now I am still missing the lettering that lights up when the box is on.

Hope there is a solution.
Greetz

It solved with vfd for front display, which is only going if is device turned on. Top lettering is very useless in dark room. Lettering is matter of uboot function, not direct in CE.

In default setting of pulseaudio server in coreelec 9.2.4.1 and on all previous realises on x88king is too quiet analog output:
Server Version: 12.2
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: auto_null
Default Source: auto_null.monitor
Cookie: d3fe:acf3

So how do i solve this because under android it works out of the box.I know this is useless its just fashion for me ;-))

You have to code Your own u-boot.
Good luck

The problem is, that most users and also devs will consider this as a pretty useless feature, and there probably is no interest in investing hours of time just to let a vendor logo lighting up, which will annoy 99% of the other X88 users. :wink:

2 Likes

I tried copy all files to this complemented file net_x88king_conf_android.zip (247.5 KB) , which maybe know help to understand of this eth on device x88king and fix 1gbit.

E.g. dma_cap wrote:

DMA HW features

==============================
10/100 Mbps Y
1000 Mbps Y
Half duple Y
Hash Filter: Y
Multiple MAC address registers: Y
PCS (TBI/SGMII/RTBI PHY interfatces): N
SMA (MDIO) Interface: Y
PMT Remote wake up: Y
PMT Magic Frame: Y
RMON module: Y
IEEE 1588-2002 Time Stamp: N
IEEE 1588-2008 Advanced Time Stamp:N
802.3az - Energy-Efficient Ethernet (EEE) Y
AV features: N
Checksum Offload in TX: Y
IP Checksum Offload (type1) in RX: N
IP Checksum Offload (type2) in RX: Y
RXFIFO > 2048bytes: Y
Number of Additional RX channel: 0
Number of Additional TX channel: 0
Enhanced descriptors: N

And uevent wrote:
DRIVER=meson6-dwmac
OF_NAME=ethernet
OF_FULLNAME=/ethernet@ff3f0000
OF_COMPATIBLE_0=amlogic, g12a-eth-dwmac
OF_COMPATIBLE_1=snps,dwmac
OF_COMPATIBLE_N=2
MODALIAS=of:NethernetTCamlogic,_g12a-eth-dwmacCsnps,dwmac

PHY ID= 0x001cc916
phy reg 0x0 = 0x1040
Please check also this info: https://github.com/torvalds/linux/commit/3447cf2e9a11fd672de8b3cc613eabd97fe82053

https://lkml.org/lkml/2019/8/12/27

@TheCoolest please check dtb for this device again, …maybe set port MII i CE is problem, if is used port SMA and MII baned in Android. Here is last dtb.img from android: dtb.img.gz (112.8 KB)

Here is also documentation to 1gbit external transformer: http://www.datasheet.es/PDF/1104653/SG24002-1G-pdf.html

And also i found, that in realises of kerenel 3.10 for odroid c was specific commands for mdio of device 0x001cc916.

if (phydev->phy_id != 0) {
//priv->phydev->addr = addr;
if (!((phydev->phy_id == 0x001cc916)&& (addr == 0)))
{
priv->phy_addr = addr;
phydev->irq = PHY_POLL;
irqlist[addr] = PHY_POLL;

So new finding with volume of sound on this box. Some files from youtube are high volume, but not all and with same setting of volume have very low volume iptv channels through audio-video output. It could be asssociated to some codec profiles supported with DAC TDM-B-T9015-audio-hifi for AV output (HDMI is always OK).

Also is issue wot using of netflix plugin - not detected device according to log from plugin and no possible login on:

http://ix.io/2vQC

2020-08-31 23:06:57.913 T:3789509504 WARNING: [plugin.video.netflix (0)] Could not extract [u’models’, u’playerModel’, u’data’, u’config’, u’core’, u’assets’, u’core’]
2020-08-31 23:06:57.914 T:3789509504 WARNING: [plugin.video.netflix (0)] Could not extract [u’models’, u’playerModel’, u’data’, u’config’, u’ui’, u’initParams’, u’uiVersion’]
2020-08-31 23:06:58.279 T:3789509504 ERROR: [plugin.video.netflix (0)] Login not valid, error code incorrect_password

This is a known issue, take a look at this thread: Can't login on Netflix plugin - Incorrect password · Issue #502 · CastagnaIT/plugin.video.netflix · GitHub

thank you, yes it is bug of unofficial addon for netflix

Last days was realised new official firmware X88King_20200711-1349, which have fixed 1gbit in android.

I hope, that this oficiale dtb would help for fix also in CE: dtb.img (256 KB) @Portisch @TheCoolest

Normally those fixes are in the bootloader, not dtb.
But you can attach the dtb before the update also and I will compare it.