Posts by Gendo


    Maybe I didn't read enough documentation, but I'm wondering if there's a sweet SSH command I can use to push the updates, rather than re-format and flash a fresh copy on my sd card. I'm completely fine re-formatting and restoring each update, but I'd be punching myself if there was an easier solution.

    I thank ANYONE in advance who replies

    My thread comment inspired more reading, I no longer need assistance.

    copy update onto update share \\boxip\update from windows and reboot box.. or ssh to box

    cd /storage/.update
    wget LibreELEC-S905.arm-8.0-8.0.0c.img.gz
    sync
    reboot

    @ kszaq may i suggest you add following patch to kodi based on work by  juramusger thread-4068.html to avoid dark screen on bootup...


    PROJECT=S905 ARCH=arm make release

    I've been doing some tests and I can confirm that there is a slight pixel shift. Unfortunately it can't be easily fixed - in fact I wasn't able to fix it using sysfs parameters. This looks like HW decoder bug and I'll put it on my (long) todo list of things to look at.

    I'm using your source built with kodi master. It seems that the pixel shift increases evrytime I play a video I.e. first video has no shift at all and subtitles are perfect then next video has slight shift and this keeps on increasing..


    Thank you kostaman.

    Tests result: the reason behind freezing is outdated BL30 blob (a part of u-boot) that causes freezing during saradc initialization (S905 temperature sensor).

    I guess I now have 3 ways to go:

    • tell users to update their Android firmware - that would leave boxes with outdated/no-newer-version-available firmware frozen
    • disable temperature sensor in my builds
    • provide additional system image with temperature sensor disabled

    I would suggest option 3 but still recommend users to update their android firmware. I know I is extra hassle for you to compile.. if you wish I can help with that.

    Don't know if this is helpful.. I have an m8sII mini 1/8gb when i compile SX05-bringup i always end up with a blank screen and the following in dmesg
    ------------[ cut here ]------------
    [ 8.466625@3] WARNING: CPU: 3 PID: 2283 at /home/mark/src/s905x/build.LibreELEC-S905.arm-8.0-devel/qca9377-aml-8b729b7/AIO/drivers/backports/net/wireless/core.c:466 wiphy_register+0xf0/0x6d0 [cfg80211]()
    [ 8.466649@3] Modules linked in: 8189fs(+) cfg80211(O) compat(O) 8021q wifi_dummy mali(O) amlvideodri(O) videobuf_res(O) videobuf_core(O) videodev(O) media(O) aml_nftl_dev(P) fbcon bitblit softcursor font
    [ 8.466655@3] CPU: 3 PID: 2283 Comm: systemd-udevd Tainted: P W O 3.14.29 #1
    [ 8.466657@3] Call trace:
    [ 8.466665@3] [<ffffffc001087e10>] dump_backtrace+0x0/0x128
    [ 8.466669@3] [<ffffffc001087f58>] show_stack+0x20/0x30
    [ 8.466674@3] [<ffffffc0017cc78c>] dump_stack+0x78/0x94
    [ 8.466679@3] [<ffffffc001095794>] warn_slowpath_common+0x94/0xc0
    [ 8.466683@3] [<ffffffc0010958f0>] warn_slowpath_null+0x38/0x50
    [ 8.466693@3] [<ffffffbffc0dd97c>] wiphy_register+0xec/0x6d0 [cfg80211]
    [ 8.466751@3] [<ffffffbffc1c24ec>] rtw_wiphy_register+0x24/0x34 [8189fs]
    [ 8.466801@3] [<ffffffbffc1c27bc>] rtw_cfg80211_ndev_res_register+0x1c/0x34 [8189fs]
    [ 8.466847@3] [<ffffffbffc1ad948>] rtw_os_ndev_register+0x28/0xa4 [8189fs]
    [ 8.466893@3] [<ffffffbffc1ae490>] rtw_os_ndevs_register+0xf4/0x178 [8189fs]
    [ 8.466938@3] [<ffffffbffc1ae5a8>] rtw_os_ndevs_init+0x30/0x60 [8189fs]
    [ 8.466982@3] [<ffffffbffc1af950>] rtw_drv_init+0x78/0x108 [8189fs]
    [ 8.466988@3] [<ffffffc00151e724>] sdio_bus_probe+0x13c/0x158
    [ 8.466993@3] [<ffffffc001406004>] driver_probe_device+0x84/0x250
    [ 8.466997@3] [<ffffffc0014062d8>] __driver_attach+0xa8/0xb0
    [ 8.467001@3] [<ffffffc0014040dc>] bus_for_each_dev+0x6c/0xb0
    [ 8.467005@3] [<ffffffc001405a5c>] driver_attach+0x2c/0x40
    [ 8.467008@3] [<ffffffc001405644>] bus_add_driver+0x15c/0x218
    [ 8.467012@3] [<ffffffc001406a24>] driver_register+0x64/0x128
    [ 8.467015@3] [<ffffffc00151e464>] sdio_register_driver+0x2c/0x40
    [ 8.467057@3] [<ffffffbffc251058>] $x+0x58/0xa8 [8189fs]
    [ 8.467061@3] [<ffffffc001081698>] do_one_initcall+0xd8/0x140
    [ 8.467067@3] [<ffffffc00110c8ac>] load_module+0x17ac/0x1f28
    [ 8.467071@3] [<ffffffc00110d1f4>] SyS_finit_module+0xb4/0xc8
    [ 8.467073@3] ---[ end trace b49d54a8d623f758 ]---

    If i change the following from linux.arm.conf
    CONFIG_RTL8189FS=m
    to
    CONFIG_RTL8189FS=n

    box works fine !

    I'm on ubuntu 16.10 64-bit.. I may be wrong but if i recall correctly this used to work fine before, however i now re-built everything..

    populatefs builds within toolchain and if i executed it works but fails on command in build script.. these might help it seems like they are different versions and different sizes..


    mark@ubuntu:~/src/LibreELEC.tv$ ls -l ./build.LibreELEC-WeTek_Play.arm-8.0-devel/toolchain/sbin/populatefs
    -rwxr-xr-x 1 mark mark 154264 Dec 30 06:11 ./build.LibreELEC-WeTek_Play.arm-8.0-devel/toolchain/sbin/populatefs

    mark@ubuntu:~/src/LibreELEC.tv$ ./build.LibreELEC-WeTek_Play.arm-8.0-devel/toolchain/sbin/populatefs -V
    populatefs 0.9


    mark@ubuntu:~/src/LibreELEC.tv$ ls -l /usr/bin/populatefs
    -rwxr-xr-x 1 root root 42992 Dec 31 15:28 /usr/bin/populatefs

    mark@ubuntu:~/src/LibreELEC.tv$ /usr/bin/populatefs -V
    populatefs 1.0
    Using EXT2FS Library version 1.43.3

    When building image from source PROJECT=WeTek_Play ARCH=arm make image it fails at the end with
    image: creating part2...
    image: creating filesystem on part1...
    image: creating bootloader configuration...
    image: installing u-boot bootloader...
    image: copying files to part1...
    image: copying dtb to part1...
    image: extracting part2 from image...
    image: creating filesystem on part2...
    image: populating filesystem on part2...
    image: error happen...

    Error: [Filesystem error] /tmp/tmp.JEExJmHhPb/part2.ext4 cannot be opened.

    There is some bug when building populatefs (i get a 152k binary) built it on ubuntu I get only 42k binary - replaced the one in toolchain with one built on ubuntu host (outside of LE build environment) and build now completes successfully..

    Can someone help I'm trying to compile kszaq build from source (to try some modifications later) I can only build release by using PROJECT=S905 ARCH=arm make release this creates a tar file but when i use it to upgrade from kszaq 23rd dec build i end up with a blank screen (i can ssh to box) I i try to build using PROJECT=S905 ARCH=arm make image it fails at the end with
    image: creating part2...
    image: creating filesystem on part1...
    image: creating bootloader configuration...
    image: installing u-boot bootloader...
    image: copying files to part1...
    image: copying dtb to part1...
    image: extracting part2 from image...
    image: creating filesystem on part2...
    image: populating filesystem on part2...
    image: error happen...

    Error: [Filesystem error] /tmp/tmp.JEExJmHhPb/part2.ext4 cannot be opened.

    Any pointers?

    Update: ok there is some bug when building populatefs (i get a 152k binary) built it on ubuntu get only 42k binary - replaced the one in toolchain with one built on ubuntu host (outside of LE build environment) and build no completes successfully.. however after it installs i still get a blank screen. what am i doing wrong? ps my build is a00+ k bigger that kszaqa'


    Gendo I have been testing this PR in almost every revision and while I admit that Peak3d has done a great job and many of my samples play smoothly, there are still some issues with this PR, e.g. some TV recordings not playing at all. Peak3d is in touch with both Amlogic and LE developers and I hope at some point these issues can be resolved. When this happens, I will upload a build with the patch included.

    Thanks for the explanation.. If i can help in anyway do let me know.