@balbes150 LE images with Kodi-19 for S9xxx

  • If anyone managed to get a Kodi 18 LibreELEC image to boot on their S905W box, please be kind enough to share that image and maybe even a tutorial on how to do it because maybe I'm doing it wrong. :)

    The s905w has been well suppported for quite a while now, but more so at the coreelec branch. Perhaps give those builds a try!

  • X96 Max test with new g12 build.

    - Vontar X96 Max

    - S905X2/u211 SOC

    - G12A chipset

    - 10/100mbit NIC

    - No bluetooth module

    - 2gb/16gb version

    - 2,4ghz wifi b/g/n

    Image: LibreELEC-AMLG12.arm-9.80-devel-20190630151510-f9ecb5d-s905x2.img.gz

    DTB: meson-g12a-x96-max-rmii.dtb (stock one from the dtb folder)

    Results:

    - Boots

    - Ethernet working, gets IP through DHCP

    - Stock remote works if on

    - HDMI audio output present / 5.1 possible through spdif passthrough

    - No mutichannel PCM (always ouputs stereo with passthrough disabled)

    - HEVC crahes (known issue)

    - No WiFi

    - Doesn't wake from power off or suspended mode from remote press

  • TheNoor

    I also used that image and still I do not get an ethernet connection.

    How can one determine what ethernet chip is in the device?

    Thanks.

    EDIT: I borrowed a USB to Ethernet adapter to get eth1

    Code
    LibreELEC:~ # dmesg | grep eth0
    [   10.774490] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
    [   10.774507] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
    LibreELEC:~ #  
    LibreELEC:~ # dmesg | grep eth1
    [   11.119849] ax88179_178a 2-1:1.0 eth1: register 'ax88179_178a' at usb-xhci-hcd.3.auto-1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0e:c6:ad:cf:06
    [   13.396399] ax88179_178a 2-1:1.0 eth1: ax88179 - Link status is: 1
    [   13.432155] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    LibreELEC:~ #

    Edited 4 times, last by JohnBoyz (July 1, 2019 at 11:31 AM).

  • I managed to get some info from logs.

    The first output is from the previously working NIC

    http://ix.io/1Npa


    The second output when using the 2019-06-30 nonworking image

    http://ix.io/1NoU

    Code
    8:38 LibreELEC systemd[1]: Found device /sys/subsystem/net/devices/eth0.
    Apr 11 17:28:38 LibreELEC systemd[1]: Starting Configure eth0 MAC address...
    Apr 11 17:28:38 LibreELEC kernel: meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
    Apr 11 17:28:38 LibreELEC kernel: meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
    Apr 11 17:28:38 LibreELEC systemd[1]: Started Configure eth0 MAC address.
    Apr 11 17:28:39 LibreELEC connmand[573]: eth0 {create} index 2 type 1 <ETHER>
    Apr 11 17:28:39 LibreELEC connmand[573]: eth0 {update} flags 4099 <UP>
    Apr 11 17:28:39 LibreELEC connmand[573]: eth0 {newlink} index 2 address 90:0E:B3:01:FE:4D mtu 1500
    Apr 11 17:28:39 LibreELEC connmand[573]: eth0 {newlink} index 2 operstate 2 <DOWN>
    Apr 11 17:28:39 LibreELEC connmand[573]: Adding interface eth0 [ ethernet ]

    Edited 2 times, last by JohnBoyz (July 1, 2019 at 11:13 AM).

  • Just tried the 2019-07-01 S905x2 image

    No ethernet on board.

    Using borrowed USB to Ethernet adapter I was able to connect to repo.

    No wifi.

    Got a connection to the LE repo this time.

    DVB-T channels from server (uses hdhomerun tuners) do not play video, but do have sound.

    DVB-S channels some play ..... have not checked all (previously only a % played correctly) ...... tuners are Digibit R1 Sat>IP DVB-S/2

    Edited 2 times, last by JohnBoyz (July 1, 2019 at 4:46 PM).

  • Try to check the operation of the wired network to a nightly build AMLG12. It uses the old kernel version and there will be no sound.

    See above the outputs from a working Vs non working NIC ....... I used the USB->ethernet adapter to be able to ssh into the running latest image.

  • TheNoor

    I also used that image and still I do not get an ethernet connection.

    How can one determine what ethernet chip is in the device?

    Thanks.

    EDIT: I borrowed a USB to Ethernet adapter to get eth1

    Code
    LibreELEC:~ # dmesg | grep eth0
    [   10.774490] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
    [   10.774507] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
    LibreELEC:~ #  
    LibreELEC:~ # dmesg | grep eth1
    [   11.119849] ax88179_178a 2-1:1.0 eth1: register 'ax88179_178a' at usb-xhci-hcd.3.auto-1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0e:c6:ad:cf:06
    [   13.396399] ax88179_178a 2-1:1.0 eth1: ax88179 - Link status is: 1
    [   13.432155] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    LibreELEC:~ #

    Hey there!

    I really didn't do anything special I think... I always start with updating the kernel and system manually and if the desired functionality fails I try a fresh flash, letting it resize and format. I always use the latest rmii dtb (just ignore my rudeness, because you seem to know what you're talking about, but your putting the path to the dtb in the .ini right, and not placing the dtb at the root... As some builds require this)

    Ethernet shows up in either case (manual update or clean install). I know of no other way to check your NIC but opening the box and actually checking the writing on the chip...

    Do you not get a connection or doesn't anything even show up in the first connection wizard?

    Hope you can sort it out! Gonna try today's build in a couple of hours!

  • Hi,

    Both Android and Systemd are strangers to me, so no I am bouncing about in the hope I can catch on to something. ;)

    I have done a fresh write of each of the images released.

    None of the more recent ones have provided a connection for me.

    No, nothing shows up in Kodi ..... and I can view the switch LEDs the box is plugged into and observe there that there is an attempt to make a connection but no communication (one of three LEDs light). The USB->Ethernet device has no such problem.

    All works when running the older image I mentioned previously.

    It might appear that something this depends on is missing from the build/kernel. No routing?

    At least for the moment I can ssh into the box and run some diagnostics ..... if someone has suggestions ..... using the borrowed USB NIC.

    EDIT:

    Forgot to mention ..... yes I edit the .ini file ;)

    Edited once, last by JohnBoyz (July 1, 2019 at 6:19 PM).

  • As an experiment, having the latest 2019-07-01 installed and running without working on-board NIC, I copied the 2019-06-11 arm .tar to it and rebooted.

    It 'updated' and when booting the NIC was connected.

    I think that is the last image on which the NIC worked with this box.

    Maybe balbes150 can find what the difference might be?

    Edited 2 times, last by JohnBoyz: grammar (July 1, 2019 at 6:20 PM).

  • Sorry, had misunderstood.

    This morning used latest nightly and rmii.dtb LibreELEC-AMLG12.arm-9.80-nightly-20190702-d73a8a3-box.img.gz

    It booted with network up.

    No sound - options are greyed out

    Video problems with Live TV worse than reported above for older image.

    Video displays only while other graphic present on screen, such as info, and requires a button press to display.

    So when compared to the old image I referenced above it is less functional.

    Neither of course have wifi but the older image had sound and better video behaviour in my use/test case of Live TV.

    I don't know if that is at all helpful ..... other suggestions welcome.

  • I have an untested device-tree for the GT-King in my repo .. I'll pick a couple of people to test it and give feedback. Once we have at least one "box" device-tree for S922X it should be a simply copy/paste exercise to create more - the only thing that's likely to be different is the Ethernet spec and the remote control keymap.

    Hello, Could i test your file?

    Thanks

  • ..to activate the multiboot via aml_autoscript.zip you need to boot android and use the "update&backup" app there. choose aml_autoscript.zip from the card(inserted after android boot) and the box should after some seconds try to boot from external media. All attempts to update via recovery directly seem not to work..

    My tv box don’t have menu update&backup

    Can you give me the command

  • Today tried the last builds 0703 devel and nightless for AMLG12 on my v311 X96max.

    Nightless all is bad, mad freezes workn't sound and wifi

    Devel many better only hevc not work

    I has idea for 4K resolution submit color depth 4:2:0 may be it helpfull into situation

  • Hi,

    I'm using the community build for amlogic s905, on a tx3 mini box, and my box freeze frequently. when it hang's video playback stops. the audio playback keeps looping the last sound. and the box becomes unresponsive to the remote/keyboard/mouse (can't access it over ssh, does not respond to ping) only solution is to unplug the power supply. Is it a known issue or is it just related to my setup (in that case I would be willing to share my logs)

  • Tested build LibreELEC-AMLG12.arm-9.80-devel-20190708135005-f20db18-s905x2.img.gz on tanix tx5 max. DTB: meson-g12a-x96-max.dtb

    Wifi and Bluetooth: RTL8822 (FN-LINK 6222B-SRB)
    Ethernet: RTL8211F (I think the same as the Odroid N2)

    Config Remote: attached file.

    Results:

    - Boots

    - Working remote with your configuration

    - Audio HDMI working

    - Ethernet not working, it does not get ip from the dhpc and even if you put the ip manually it does not work. (When the dhcp is on ethernet, take an ip 169.254.167.*. As seen in the photo I attached)

    - HEVC crahes (known issue)

    - No WiFi and bluetooth


    In case it helps, this is what the dmesg throws at me( (referring to the ethernet)):

    Code
    LibreELEC:~ # dmesg | grep eth0
    [   18.761478] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
    [   18.761492] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
    [   22.825523] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [   22.825560] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Code
    LibreELEC:~ # dmesg | grep RTL8211F
    [   18.745248] RTL8211F Gigabit Ethernet 0.0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=0.0:00, irq=POLL)