Jump to content

Tanix TX5 Plus Deluxe(with external antenna) - need to combine 2 dtbs


Blackie
 Share

Recommended Posts

Hello,

I have updated my TX5 Plus Deluxe (4GB/64GB,1Gb Eth) to the latest official Android firmware (newton 20201224) and finally managed to start

Armbian_20.10_Arm-64_buster_current_5.9.0.img from USB Flashdisk.

I tested several DTB files for ethernet speed and working soundcard (aplay -l).

Here are some results:

1. started with meson-sm1-sei610-ethfix.dtb recommended for Tanix TX3 (similar box). Result - NO SOUND, 100mb Ethernet

2. next - meson-sm1-sei610-x96maxplus.dtb I found here. Result is surprising - Gigabit ethernet WORKING, but no sound.

    This is good news because it's working with original Tanix bootloader (speed confirmed via iperf3).

3. next - meson-sm1-sei610-x96maxplus.dtb from here - SoundCard WORKING, but only 100mb Ethernet.

root@armhassio:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SM1SEI610 [SM1-SEI610], device 0: fe.dai-link-0 (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SM1SEI610 [SM1-SEI610], device 1: fe.dai-link-1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SM1SEI610 [SM1-SEI610], device 2: fe.dai-link-2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 

I want working both SoundCard and Gigabit ethernet. Could anyone help me combine good parts from those 2 dtb files ?

Maybe it helps some other owners of this tvbox. Thanks a lot in advance.

Link to comment
Share on other sites

Help Armbian team helping you

OK, found a DTS file meson-sm1-sei610-2.dts from dgm78 here.

During compiling the file to dtb a lot a warnings came to screen, but the resulting DTB is working.

Seems that both GbE and SoundCard are working fine.

You can find the file in the attachment in case you want test it.

Don't know how to make Wifi or BT work but I don't need them now...

My thanks goes to user dgm78 :)

meson-sm1-sei610-2.dtb

Link to comment
Share on other sites

I find your research interesting.  I don't have this particular box (I have a TX3 based on the s905x3 cpu).  If you provided links to the source code for the dtbs (i.e. the .dts files) I'd be willing to at least look at the source code to see if anything jumps out.  Also since you want the gigabit ethernet working, do you know what ethernet chip your box has installed (i.e. could you open the box and take a picture of the board and especially the ethernet chip)?

Link to comment
Share on other sites

Thank you, TX5 Plus is quite similar to TX3(based also on S905x3 CPU), just with a gigabit ethernet.

I am providing some DTS files so anyone could have a look and improve the DTB (add support for more chips inside the box).

 

meson-sm1-sei610-2.dts could be a good starting point. Compiled to DTB provides working GbE + SoundCard,

The other 2 files (meson-sm1-hk1box-vontar-x3.dts uses meson-sm1-x96-max-plus.dts as include) provide a working GbE, but no SoundCard.

No BT or Wifi adaptor was detected with any of the DTBs.

 

meson-sm1-sei610-2.dts meson-sm1-hk1box-vontar-x3.dts meson-sm1-x96-max-plus.dts

Link to comment
Share on other sites

Following is the result of some commands (run in the other Linux system) to identify chips inside:

 

Wifi/BT chip is RTL8822CS
udevadm info /sys/bus/sdio/devices/*
P: /devices/platform/ffe03000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:1
L: 0
E: DEVPATH=/devices/platform/ffe03000.sdio/mmc_host/sdio/sdio:0001/sdio:0001:1
E: DRIVER=rtl88x2cs
E: SDIO_CLASS=07
E: SDIO_ID=024C:C822
E: MODALIAS=sdio:c07v024CdC822
E: SUBSYSTEM=sdio
E: USEC_INITIALIZED=5959859
E: SYSTEMD_WANTS=rtkbt-firmware-aml.service
E: TAGS=:systemd:

 

Audio: aml_codec_T9015
 aml_codec_T9015 ff632000.t9015: aml_T9015_audio_codec_probe
[    1.238244@3] T9015 acodec used by auge, tdmout:1

 

Ethernet chip is Realtek RTL8211F RGMII
meson6-dwmac ff3f0000.ethernet: no reset control found
[    0.803693@3] stmmac - user ID: 0x11, Synopsys ID: 0x37
[    0.803698@3]  Ring mode enabled
[    0.803704@3]  DMA HW capability register supported
[    0.803709@3]  Normal descriptors
[    0.803711@3]  RX Checksum Offload Engine supported
[    0.803713@3]        COE Type 2
[    0.803716@3]  TX Checksum insertion supported
[    0.803717@3]  Wake-Up On Lan supported
[    0.803788@3]  Enable RX Mitigation via HW Watchdog Timer
[    0.807303@1] libphy: stmmac: probed
[    0.807319@1] eth%d: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active
[    0.807324@1] eth%d: PHY ID 001cc916 at 7 IRQ POLL (stmmac-0:07)
[   12.962204@2] meson6-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   12.962232@2] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

 

Display panel: Select FD650 controller
   12.170891@1] OpenVFD: Select FD650 controller
[   12.170395@1] OpenVFD: Version: V1.3.0
[   12.170405@1] OpenVFD: vfd_gpio_clk:         #0 = 0x00; #1 = 0x41; #2 = 0x00;
[   12.170408@1] OpenVFD: vfd_gpio_dat:         #0 = 0x00; #1 = 0x40; #2 = 0x00;
[   12.170410@1] OpenVFD: vfd_gpio_stb:         #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   12.170413@1] OpenVFD: vfd_gpio0:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   12.170416@1] OpenVFD: vfd_gpio1:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   12.170418@1] OpenVFD: vfd_gpio2:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   12.170421@1] OpenVFD: vfd_gpio3:            #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[   12.170423@1] OpenVFD: vfd_gpio_protocol:    #0 = 0x00; #1 = 0x00;
[   12.170426@1] OpenVFD: vfd_chars:            #0 = 0x02; #1 = 0x04; #2 = 0x03; #3 = 0x02; #4 = 0x01;
[   12.170430@1] OpenVFD: vfd_dot_bits:         #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04; #5 = 0x05; #6 = 0x06;
[   12.170434@1] OpenVFD: vfd_display_type:     #0 = 0x01; #1 = 0x00; #2 = 0x00; #3 = 0x03;
[   12.170438@1] OpenVFD: Detected gpio chips:  periphs-banks, aobus-banks.
[   12.170443@1] OpenVFD: "periphs-banks" chip found.   base = 410, pin count = 86, pin = 65, offset = 475
[   12.170445@1] OpenVFD: "periphs-banks" chip found.   base = 410, pin count = 86, pin = 64, offset = 474
[   12.170447@1] OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF)
[   12.170449@1] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF)
[   12.170450@1] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF)
[   12.170451@1] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF)
[   12.170452@1] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF)
[   12.170891@1] OpenVFD: Select FD650 controller
[   12.170960@1] OpenVFD: SW I2C interface intialized (address = 0x0000 (N/A), MSB mode, pull-ups off)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...