Posts by kszaq

    A small update on V3_1 board: I managed to find a USB Burning Tool image that shows 1GB RAM in u-boot but unfortunately neither Android nor LibreELEC boot with this image. This could be another sign that this board has only 512MB of usable RAM.

    @Runblefish: Thank you for the logs you sent me. Unfortunately there is nothing about your tuners in the log and this needs further investigation. I need you to provide me a copy of kernel and kernel modules. If you have a link to Android firmware, that would be the best. If you don't, you can provide me appropriate files by logging over SSH to LE and doing the following:

    Code
    mkdir -p /tmp/system
    mount -o ro /dev/system /tmp/system
    find /tmp/system -name \*.ko | xargs tar cvzf /storage/downloads/modules.tgz
    dd if=/dev/boot | gzip > /storage/downloads/boot.tgz


    You'll find files I need in "Downloads" shared folder.

    As for remote control, I'm planning on adding some additional key mappings to Kodi so that people won't need to remap their remotes that much.

    I'm quite busy with life stuff so things will go a little bit slower than usual.
    [hr]
    sammaz Here's libcec-daemon compiled from the repository you linked: tools.libcec-daemon-7.0.2.zip

    I noticed that it doesn't map all the buttons needed. For the time being please confirm whether it works or not for you.

    Rumblefish: I've sent you a PM few days ago, but I'll post this for others to see: for the remote.conf issue you posted (that you want to have out-of-box working remote) I can make a change in my next build so that you'll be able to copy remote.conf to root folder of your SD card without a need to modify the whole image. I think that'll be easy and convenient.

    If you want to repackage a current build you need to:

    • mount SD card image
    • unpack SYSTEM image with unsquashfs
    • copy your remote.conf to /etc
    • repack SYSTEM image with mksquashfs


    All of this needs to be done in Linux.

    As for DVB tuners, you need to have kernel driver source code so that I can compile them in. There is no way to download the driver somewhere from the Internet and I'm afraid that binary driver extracted from Android won't work. The best thing you can do is to grab logs from LibreELEC so that I can see what tuners you have.

    A few things to clear up:

    • my OE/LE builds do not modify bootloader - aml_autoscript modifies u-boot variables to allow booting from SD card and this can be losslessly reverted at any time - this change is not permanent
    • in OE/LE there is no "MBox" animation
    • the reason for "MXQ" logo not showing is not connected to OE/LE


    I found a branch of libcec-daemon that shows as working well because it links itself also as a keyboard...That will make it more universally suppported :

    GitHub - diablodiab/libcec-daemon

    Shown in this video he has it working on RPi...so i think it will work for us.

    my-setup-and-perhaps-some-inspiration-for-new-recalbox-functionality

    Can you try to compile a new version using his sources?

    I'll give it a try later today.

    A new build for you to test, a bit experimental one. I'm now leaving for 4-5 days, I hope you can get me some feedback by the time I am back.

    WARNING: NAND users are strongly advised to backup their LE settings to an external drive in case new NAND driver fails! If the new release doesn't boot, here's what you can do to revert to 7.0.1.1 without wiping data:

    • prepare SD card for NAND installation
    • delete factory_update_param.aml from SD card
    • boot to recovery using "tootpick" method
    • flash the ZIP file from SD card

    7.0.1.2 7.0.1.2

    Commits from 7.0.1.1 to 7.0.1.2: Comparing 7.0.1.1...7.0.1.2 · kszaq/LibreELEC.tv · GitHub
    Kernel commits from 7.0.1.1 to 7.0.1.2: Comparing 9bf155dcbb...9d4e014 · kszaq/linux · GitHub

    Changelog:

    • added SSV6051Q WiFi driver (not usable yet)
    • updated NAND driver to latest Amlogic release
    • turned off CEC debugging by default
    • updated m201d device tree to closely match stock
    • added a bunch of new Kodi patches for testing from Wrxtasy's Odroid build, Koying's SPMC, Popcornmix RPi build and Christian Troy's WeTek tree:

      • fixes CPU usage reporting for turned off cores
      • simplified display mode handling
      • added High Quality GLES scalers
      • added YADIF 2x deinterlacing for SW-decoded videos
      • added a setting for configuring CEC button repeats
      • added a patch to speed up thumbnail loading
      • added a patch to lower stuttering when opening menu while playing video
      • added a proper fix for skin settings not being saved
      • added a caching patch when video and audio are starving


    Known issues:

    • V3_1 board cannot wake up from suspend/power off by pressing remote power button (u-boot bug)
    • 29.97 progressive videos may stutter
    • sometimes CEC may not work
    • power LED on not officially supported boxes may not work as intended (too many boards to support them with a single build)
    • no HD-Audio passthrough and multichannel audio output
    • DVB support is experimental, some USB DVB tuners don't work at all

    Can you try:

    I also have some Kodi patches from wrxtasy coming for the next release that fix some sound issues.


    Sorry, I thought it would end the latest log and I would have the complete one for uplodad.

    This one should make it.

    Deleted the xml, too.

    The sound stuttering is sometimes only a few seconds, like now.
    Sometimes up to 22 sec (last time).
    Sometimes even no stuttering at all.

    Either I'm looking at your logs in a wrong way or there is no sign of playing anything in it.


    Okay, after double checking the network adapters ...
    Both are no real 100mbps adapter. I have fallen for false advertisment.

    Because of the sound stuttering if I start a stream, I have created a short log.
    Starting device, starting stream and restarting device.

    My advancedsettings.xml @ \storage\.kodi\userdata

    Code
    <!-- Created using Easy Advanced Settings addon -->
    <advancedsettings>
        <network>
            <buffermode>1</buffermode>
            <cachemembuffersize>209715200</cachemembuffersize>
            <readbufferfactor>4.0</readbufferfactor>
        </network>
    </advancedsettings>


    Made another log with audio and ffmpeg logging. (If I done it right)


    • Please don't restart after reproducing your issue. The log is emptied on every reboot, I have no use of empty log. Instruction clearly says to reboot only before reproducing the issue.
    • Remove your advancedsettings.xml and try again.


    OK €5 from me for starting on the S905

    Thank you but as I said: no promises at all. Let's say it's for a coffee.

    And one thing: don't buy any boxes from GearBest.
    [hr]


    I never created logs with kodi before.
    Do you need the full log from bootup till "end"?
    Or is it enough to use ssh and create the log just before pluggin in the adapter and playing the video? (same for wifi)

    Everything is said in the first post. First reboot the box, reproduce your issue and collect logs. Thanks.
    [hr]


    Hi,

    what is the path for my advancedsettings.xml?

    Probably not the same as in openelec...

    # find / -name advancedsettings.xml
    /usr/share/kodi/system/advancedsettings.xml

    But this filesystem is read-only...

    It shall be put in /storage/.kodi/userdata
    [hr]

    I don't use DVB-T/S/C at all. Maybe other users will be able to help you out. You can also look at these two threads for recommendations:
    ODROID Forum • View topic - C1(+) LibreELEC 7.0.3 - Kodi Jarvis 16.1 / 24p+HEVC
    [ROM] Unofficial OpenELEC for MK808B+ and MXQ - FreakTab.com
    [hr]


    Ok its booting faster but still has no signal on WiFi. Log files are attached, Thank You.

    Frank

    Only the last log is from the latest build I posted, right? In the log I can see that WiFi firmware gets loaded, there's a WiFi interface and it scans for available networks. If there is no network available to connect to on the network list, we're now stuck and we have to wait for box/chip manufacturer to send me the driver... For now there is no reply from both of them.


    Kszaq, if we all 'chip in' to buy you one can you build a version of libreelec to run on this? How about it guys, 5 of us each give kszaq €5 for a box?

    You'd also need to buy me some free time. Maybe at some point I'll start building for S905 devices (I have some things prepared for that) but I don't know if that's in one week or a couple of months.


    Kszaq, I loaded the new firmware and now the box reboots without red led and dosent require power reset. Also I noticed that CPU core 2 and 4 were frozen and were not cycling as 1 and 3. The wifi is the same as before, just an empty screen for connections until I plug in the hardwire. Log file for review attached...

    Frank

    Don't worry about CPU2 and 4 stuck at some value, this is a bug in how CPU load is reported with hotplug governor - when the reading is stuck, it means that CPU core is turned off to save power. It'll power back on when necessary.

    We're getting a little bit closer to making your WiFi chip work, please try this build: LibreELEC-S805.m201d.arm-7.0-devel-20160522205800-r22955-gce3a3fa.tar

    Maybe some other users will be able to help you but for me to say anything - even that I can't help - you really need to provide logs.