Vorke z6 plus dtb / wifi+bt in kodi / VFD : which dtb ?

  • Hello,

    thanks for reviving the s912 with libreelec 11.

    I am a transfer from CE / was stuck on leia and with python 2 plugin for Arte that has been now been been very successfully forked by a new dev (kudos http://github.com/thomas-ernest too), so LE 11 for 4-5-6 year old hw is a boon.

    My only problem now is that wifi + bluetooth is not working / being detected consistently on a vorke z6 plus 3/32.

    I also use an external usb gbe card but anyway, built-in ethernet has never been consistent on the Vorke. I have been forced to limit it to 100mbps

    Which dtb should I use ?

    from what i understand, the vorke z6 plus should be close to a beelink ultimate

    I have tried these dtbs on the 10.95.1 build

    meson-gxm-gt1-ultimate.dtb

    meson-gxm-q201.dtb

    Funny thing, is that on the nightly LibreELEC-AMLGX.arm-11.0-nightly-20230225-ef1ce97-box.img, the wireless connection was visible in Libreelec params, but not every time. maybe only when the wired network was initiialized.

    anyway, this is the latest pastekodi with meson-gxm-q201.dtb on LibreELEC-AMLGX.arm-10.95.1-box.img

    http://ix.io/4ppi

    I would happily build my own .dtb if I understood the process.

    * For now, for example, i do not know whether this dmesg really means that i have a ath10k / broadcomm sdio ?

    12.139217] ath10k_sdio: probe of mmc2:0001:1 failed with error -84


    Another question :

    * from the forum, it is unclear how/what to install for the VFD : the FD628 display service + config in a file vfd.conf from CE or a config with another package ? or should it be directly in the dtb : I see https://github.com/LibreELEC/Libr…o-Tanix-T.patch for example, signed by chewitt ;)

    Thanks in advance, don't hesitate to ask for more info.

    btw i have 2 more eligible machines to migrate / test libreelec 11 compat if this helps (mecool bm8 pro s912 / km8 pro variant), and sunvell/qbox s905.

  • Google claims the Vorke Z6 plus is the same as some Tanix box which had board pictures showing QCA9377 as the SDIO module. SDIO WiFi should probe and load automagically regardless of device-tree content, so not sure why it doesn't, but BT is serial UART based and needs the correct content in device-tree to probe and load drivers. VFD also needs content in device-tree and some detective work.

    If it's a Gbit Ethernet box the Q200 device-tree should work (not Q201 which is for 10/100 boxes). I'd guess Ethernet not-working correctly is the reason for adding the USB Ethernet adaptor?

    I'll think about creating something, but start with logs from Q200 dtb please. If you have the original dts or dtb file from Android that would also be useful to have.

    For other boxes; start individual threads else I easily lose track of things.

  • Thanks,

    I do not fully understand the q200 vs q201 device tree and the changes between old amlogic .dts/dtb and the ones you package in libreelec. I see they are more complex.

    . I used gxm_q201_3g.dtb gxm_q201_3g.dtb.zip in coreelec 9.2

    Source must be this one : https://github.com/CoreELEC/devic…01_3g_1gbit.dts.

    I will try the q200 dtb after i reboot the thing / done : q200 dtb pastekodi :

    http://ix.io/4pwY

    internal ethernet connects at 100Mbps.

    Code
    Jan 26 08:12:30.661822 LibreELECstb kernel: meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

    I see wlan erreors in dmesg


    * For the vfd, I had this config vfd.conf.zip

    Otherwise, Tanix vs Vorke, I think the box is the same as the Tanix TX9 that was mentioned in another thread Tanix TX9 (S912)


    * I have tried to get the android dtb, but so far, failure to be sure where the dtb would be hosted :

    I did

    Code
    dd if=/dev/dtb | gzip > /storage/backup/devdtb.gz 

    from coreelec but unsure whether this is the good one : after I split it with extract-dtb, there were 3 variants : the last is this one with amlogic-dt-id = "gxm_q201_3g"; in the dts

    Code
    dtc -I dtb 03_dtbdump_Amlogic.dtb -o vorkez6devdtb3.dts

    This looks much like a dtb I extracted from a download VORKE-Z6PLUS-20180126.img : only difference in the dts decode file is in meson-fb

    logo_addr = "0x7f851000";

    * from android, I see there is a bt_did.conf bt_did.conf.zip in a directory that is full of .hcd files

    I also see a bt_vendor.conf file with just this inside, as you mentioned a serial port

    Code
    # UART device port where Bluetooth controller is attached
    UartPort = /dev/ttyS1
    
    
    # Firmware patch file location
    FwPatchFilePath = /etc/bluetooth/

    Thanks again.

  • Hello again,

    with your testing version,

    http://ix.io/4pA8

    - I had a few side effects, with a reboot when unplugging the eth0 network or stopping/starting the wifi from libreelec settings : my impression is that kodif failed and rebooted LE.

    - this is your testing version (for the vorke), but the eth1 is gone from dmesg, I suppose for testing you deactivate other modules ? Or is ot linked to q200 dtb image ? After checking, I got the impression that the second usb port is no longer working (the eth1 usb3 hub port was on this port so stopped working). Going back to plugging the usb hub/eth1 in port 1 works

    (After replugging in sub top port : http://ix.io/4pAe)

    - i think the cable is correctly GB enabled, but the integrated eth has problems with GBe.

    ig get GB from usb3 eth1 :

    Code
    LibreELECstb:~ # ethtool eth1
    Settings for eth1:
    Supported ports: [ TP	 MI
    
    
    Speed: 1000Mb/s
    Duplex: Full
    Auto-negotiation: on
    Port: MII
  • The main thing I was looking for was SDIO WiFi support (there are some fixes added since 10.95.1) and that looks good now.

    I need to find the name of the manufacturer for Vorke to create a vendor binding, then I'll create a proper device-tree file for next test.

  • Hum, tried with the nightly LibreELEC-AMLGX.arm-11.0-nightly-20230310-9f7c82b-box.img that fixes usb 2 port support and with tx9 pro dtb :

    http://ix.io/4qFQ


    Usb fix works : 2 ports ok, 2 hubs on them

    vfd works (at least the time part) and correctly powers down on shutdown

    BT KO (not visible in LE BT settings) / provided you with the info, just waiting

    ethernet no connection (169.) / Ok with external / difference in phy from tx9 pro in dtb

    Wifi OK

    Shutdown OK (that was another of my problems)

    My only problem is that I think my original remote is broken, so I only know that 0x59 KEY_POWER works

    Plus oops : found the CE resource for remotes but I don't really understand how this works :

    As I suspect vorke z6 plus is a clone of a tanix box, i would suspect the config for AmRemote would be a clone of the tanix generic https://github.com/CoreELEC/remot…nix/remote.conf, but I vaguely understand that Le is not using the same method as CE for remotes

    The default remote would be the simple one on the left from https://github.com/CoreELEC/remot…Tanix/Tanix.png

    The vorke z6 plus is clearly a clone of the tanix TX92 (non pro) from this image https://www.techwalls.com/wp-content/upl…anix-tx92-1.jpg

    Marking on my MB : TX92-Lp(X9T)

    3+32G (9377)

    y171108

    and CS_912_TX92_LP_V1.0 (plus the mmc chip SDIN9DS2-32G)