Posts by ukmark62

    That would suggest improper HDMI PHY configuration. However, it shouldn't be all that different to Android. However, HDMI driver will certainly get improvements in future.

    Thx - at least it's out there in case anybody else comes across this. :)

    jernej

    balbes150

    Done some more testing on HDMI cables etc.


    I have 3 different HDMI cables attached to my 4k TV (New model 2018) in three different HDMI ports on the TV. As I said previously, all 3 cables work properly with Amlogic and Rockchip boxes I have, and a Humax box and Blu Ray player I also have attached. These 3 cables can all be swapped to the different devices and all work.


    Only 1 cable works with Tanix TX6 running LibreELEC - the other 2 cables give no picture. However, all 3 same cables work with Tanix TX6 running Android. That suggests to myself it is an issue with LibreELEC and/or Kodi. Doesn't appear to be the TX6 box itself (as all 3 cables/ports work under Android?!). Is that how you guys see it?


    I've never experienced this before - as I said previously, it's usually that the cable works or it doesn't work - now it seems that we have a mixture of circumstances but only with TX6 running LibreELEC.


    Bit of a head scratcher.

    It probably has to do something with HDMI PHY settings or electrical properties. Does it work with Android? How long is your non-working HDMI cable? Sometimes longer cables (for example, 5m) can be problematic since they need to be driven with higher power.

    It's 1 to 1.5 metres long. I always thought HDMI cables worked 100% or didn't work at all (i.e no picture whatsoever). I didn't realise there were varying degrees of working or not working. Once you got a picture, then everything should work 100% - that's what I used to think - but now.........

    Well - blow me down with a feather!


    Changing HDMI cable did the trick. Does anyone know why the other HDMI cable works with Amlogic and Rockchip boxes but not with Allwinner?

    It was sent to me as Gigabit, but now I carefully examined it , there 100Mbit. :(


    By the way, you saved my TX6 from the trash where I wanted to send it (I only need Linux-enabled devices). :)

    pp_009149785586.html?wid=1433363


    This is the one I bought (it does state 100M ethernet)


    I'll try the image again, but the same HDMI cable and TV work perfectly with Amlogic S905, S905x and Rockchip RK3328 devices. I can change resolution/refresh rates and playback 4k without any faults.


    On board wifi (in Android) is very fast.

    3gb of ram is plenty for LibreELEC.


    Tried the new image. Audio is working. However, cannot play any video and cannot change resolution. The list of available resolutions now includes up to 4k, but if I try to select 1920x1080p for example, the screen blacks out for some seconds, then comes back at the old resolution (which is now defaulting to 720x480p @60hz). Also when playing a video, the same happens, screen blacks out for a long time and have to press remote buttons to get the screen back.


    Also, notice crackling coming from TV during boot and 4k resolutions above 30hz are not available.


    Debug logs attached. Thx

    kodi.change.resolution.debug.log

    kodi.playback.debug.log


    This is not at all urgent - maybe wait till you get the TX6 box.

    Thanks much.


    One more thing I noticed was that the RAM in Kodi shows as 3gb. I remember you saying there was some limit on RAM, but there was a hack to get it to show/use 4gb RAM??


    I'll try the new image now. Thx again!

    I'll fix this with next image, which will also have proper U-Boot included.


    Image will have at least two issues - no wifi and no ethernet. I will fix ethernet after I receive my box, but wifi will be hard. Apparently, there are two variants of the box. One with Realtek SDIO wifi module with no open source drivers and another one with PCIE wifi module. PCIE on H6 is quirky and driver may never be properly included in mainline Linux.

    I would think that if a USB wifi adapter works then most people would be happy with that.


    Do you need me to send you any files?

    ukmark62 Can you test this image?

    libreelec-h6.arm-9.1-devel-20190615163837-0b86f08-tanix_tx6.img.gz


    Correct DT is already included, but you still need to overwrite U-Boot. I disabled frequency scaling in GPU driver. It usually requires adjustable GPU voltage regulator, which is not present in this box.

    Aye Aye Captain,


    We have lift off! Well done sir!! Amazing how quick you got the box running. Wifi via USB adapter is working (on board wifi not detected). HW decoding is active on few HEVC and H.264 files I have tested so far - playback looks good although not smooth due to no refresh rates being available (see 1 below). GUI is responsive and skip forward, backwards,fast forward, rewind while watching videos is very responsive. Great stuff!


    I have done some quick testing and there are 2 noticeable issues:-


    1 Display resolution is limited to 1024x768 and below. Only 60hz frequencies available

    2 No sound (I notice on initial bootup that a "FAILED:Pulse Audio Driver not installed" message showed up. However it has not shown up since I've rebooted again. However, still no audio.


    I SSH'ed into box and Kodi log is attached kodi.log

    Those lines repeat indefinitely after about every 5 seconds. I swapped the TX pin and now I can enter "dmesg", enter and I get a response. However, when I type "dmesg" it shows up as "ddmmeessgg". So it looks like TX pin was in wrong place on H6 board. New log:-


    Also remove quiet from extlinux/extlinux.conf. You should get more or less same output as with dmesg on serial console.


    One thing I notice when booting and connected to TV is that display resolution is 1024x768 at 60hz

    ukmark62 Edit extlinux/extlinux.conf again and remove console=tty1 from append line. That way you will get terminal on serial console. Please copy and paste output of dmesg.


    BTW, please use pastebin for it or at least use spoiler tag.

    UART Log here:-



    Couldn't execute dmesg. Where do I do that?

    ukmark62 Can you please test attached sun50i-h6-tanix-tx6.dtb? Copy it in same folder where orangepi3 one is and edit extlinux/extlinux.conf and change DT file name.


    For reference, there is also non-compiled version included.


    attachment: tanix-tx6-dt.zip

    The box booted and LE was installed. Then on reboot immediately after install, box hangs at LE splash screen.


    Attached to UART boot log is:-


    U-Boot SPL 2018.11-g7702a7c-dirty (Jun 15 2019 - 11:18:38 +0100)

    DRAM: 4096 MiB

    Trying to boot from MMC1

    NOTICE: BL31: v2.1(release):v2.1-264-g5441ed2

    NOTICE: BL31: Built : 11:03:02, Jun 10 2019

    NOTICE: BL31: Detected Allwinner H6 SoC (1728)

    NOTICE: BL31: Found U-Boot DTB at 0xc06ddc0, model: Eachlink H6 Mini

    NOTICE: PMIC: Probing AXP805

    ERROR: Start clear bit timeout

    ERROR: PMIC: Cannot put AXP805 to master mode.



    U-Boot 2018.11-g7702a7c-dirty (Jun 15 2019 - 11:18:38 +0100) Allwinner Technology


    CPU: Allwinner H6 (SUN50I)

    Model: Eachlink H6 Mini

    DRAM: 3 GiB

    MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1

    Loading Environment from FAT... Unable to use mmc 1:1... In: [email protected]

    Out: [email protected]

    Err: [email protected]

    Net: No ethernet found.

    starting USB...

    No controllers found

    Hit any key to stop autoboot: 0

    switch to partitions #0, OK

    mmc0 is current device

    Scanning mmc 0:1...

    Found /extlinux/extlinux.conf

    Retrieving file: /extlinux/extlinux.conf

    179 bytes read in 3 ms (57.6 KiB/s)

    1: LibreELEC

    Retrieving file: /KERNEL

    16626176 bytes read in 1665 ms (9.5 MiB/s)

    append: boot=UUID=1206-0000 disk=UUID=52d85c1f-cdb2-41f5-b0ff-e4ccfc776d39 quiet console=ttyS0,115200 console=tty1

    Retrieving file: /sun50i-h6-tanix-tx6.dtb

    15285 bytes read in 4 ms (3.6 MiB/s)

    ## Flattened Device Tree blob at 4fa00000

    Booting using the fdt blob at 0x4fa00000

    Loading Device Tree to 0000000049ff9000, end 0000000049fffbb4 ... OK


    Starting kernel ...


    [ 0.256596] sun50i-de2-bus 1000000.display-engine: Error couldn't map SRAM to device

    [ 0.257344] sun4i-usb-phy 5100400.phy: failed to get clock usb0_phy

    [ 0.380800] sun4i-i2s 5091000.i2s: Max playback channels changed from 2 to 8