Wetek Play 2 - Network take more than 20 seconds to be up and running

  • Hello,

    I am using LibreELEC 9.0.2 official on a Wetek Play 2. Network take more than 20 seconds to be functionnal and I do not understand why. I have no problem with other device on my network so I exclude a Network configuration problem. I have the same problem if I set the IP in DHCP or static. Even If I set the "Wait network beforing starting Kodi" to true, Kodi is starting before the network is up and running.

    Here is the different logs. If someone have a idea, I take it.

    LibreELEC:~ # paste /storage/.kodi/temp/kodi.log

    http://ix.io/28Vp

    LibreELEC:~ # dmesg | paste

    http://ix.io/28Vq

    LibreELEC:~ # journalctl -u connman | paste

    http://ix.io/28Vr

    LibreELEC:~ # journalctl| paste

    http://ix.io/28Vs

  • Code
    [   12.803948@1] libphy: stmmac-0:00 - Link is Up - 1000/Full

    ^ kernel boot to network 'up' is 12 seconds. For reasons unknown connman then reapplies the configurations which takes you to 14 seconds. If you delayed start until the network is up, Kodi takes a few more seconds. So 20 seconds sounds about right.

    NB: Using an experimental mainline kernel image the time before Kodi starts is quicker but it's not a massive improvement. If you correlate events between http://ix.io/28WS and http://ix.io/28WR it shows boot is still about 12-14 seconds. The A53 CPUs in S905 devices are not particularly quick.

  • Indeed, for the kernel, network is up in 14 sec but I do not have any connectivity at this moment. I need to wait +/- 40 after booting up to start using the system.

    I reset everything, set the Wetek in DHCP mode and now Libreelec is correctly waiting network before to start. It was not the case previously, Libreelec started and I had to wait +/-20sec before I can navigate to my network.

    Now, the system boot on +/- 40 sec. I think I can live with that but I really don't what takes so long to connect.

    LibreELEC:~ # journalctl | paste

    http://ix.io/28YG

    LibreELEC:~ # journalctl -u connman | paste

    http://ix.io/28YH

    LibreELEC:~ # paste /storage/.kodi/temp/kodi.log

    http://ix.io/28YJ

    LibreELEC:~ # dmesg | paste

    http://ix.io/28YR