Posts by lmirel


    ive got the same issues as you, with the same box too!

    im not that savvay enough to do what youve done, ill have to wait for a update/fix. thank you for your time and effort in finding the issue!

    i was using the s82 builds, should i be using the m8 build??

    you should definitely use the M8 builds. the box isn't compatible with other variants in terms of peripherals.
    I'm using the build from here LibreELEC-S802.M8.arm-8.0.RC4: LibreELEC-S802.M8.arm-8.0.RC4.img.gz | by Demetris. for MXQ TV Box

    what's the behaviour you have from your box? maybe I could assist with a step-by-step.

    managed to run Lakka.tv easily with this:
    setenv condev "console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0"
    setenv bootargs "${condev} bootfromsd"
    mmcinfo
    fatload mmc 0 ${loadaddr} kernel
    bootm

    however, only the Lakka-S802.M8.arm variant would boot, the S82 variant doesn't boot.
    maybe this will help point you in the right direction.
    thanks!
    [hr]
    managed to run your build for LibreELEC-S802.M8.arm-8.0.RC4
    it seems I was missing the right uboot vars

    I started it with:
    setenv condev "console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0"
    setenv bootargs "${condev} bootfromsd"
    mmcinfo
    fatload mmc 0 ${loadaddr} kernel
    bootm

    it expanded the 2nd partition, rebooted and it is now running fine.
    thanks and keep up the good work!

    might be that the crash is due to missing 'logo' kernel cmdline param.
    when I use:
    setenv fb_addr 0x15100000
    setenv outputmode 1080p
    setenv condev "console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0"
    setenv bootargs "boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 ${condev} logo=osd1,loaded,${fb_addr},${outputmode},full"

    I end up only with:
    Starting kernel ...

    [ 0.732711@0] aml_keys: version 0 can not be init c0980068
    [ 0.732869@0] aml_keys: version 0 can not be init c0980068
    [ 0.741188@0] [RN5T618] NO BATTERY_PARAMETERS FOUND

    and the same "Error in mount_flash: mount_common: Could not mount /dev/system" on TV
    [hr]


    I will investigate thanks for the report

    Sent from the Island of Venus

    thanks very much for looking into this.
    it would help to know which uboot variables I should set and what kernel cmdline to use so it boots from SD instead of looking for the system partition on flash.
    as I said, the EMMC flash is broken.

    thanks again

    it seems actually that I get a kernel crash
    m8_k200_v1#bootm
    ## ANDROID Format IMAGE
    ## Booting kernel from Legacy Image at 12000000 ...
    Image Name: Linux-3.10.99
    Image Type: ARM Linux Kernel Image (gzip compressed)
    Data Size: 4905012 Bytes = 4.7 MiB
    Load Address: 00208000
    Entry Point: 00208000
    Verifying Checksum ... OK
    Ramdisk start addr = 0x124ae800, len = 0x2eb200
    Flat device tree start addr = 0x1279a000, len = 0x4f62 magic=0xedfe0dd0
    Uncompressing Kernel Image ... OK
    uboot time: 11079683 us.
    EFUSE machid is not set.
    Using machid 0xf81 from environment
    From device tree /memory/ node aml_reserved_end property, for relocate ramdisk and fdt, relocate_addr: 0x52f4001
    Loading Ramdisk to 05008000, end 052f3200 ... OK
    Loading Device Tree to 05000000, end 05007f61 ... OK

    Starting kernel ...

    [ 0.686537@1] Unable to handle kernel NULL pointer dereference at virtual address 00000018
    [ 0.689310@1] pgd = c0004000
    [ 0.692207@1] [00000018] *pgd=00000000
    [ 0.695900@1] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
    [ 0.701358@1] Modules linked in:
    [ 0.704569@1] CPU: 1 PID: 136 Comm: kthread_hdmi Not tainted 3.10.99 #1
    [ 0.711155@1] task: ef45e400 ti: ef478000 task.ti: ef478000
    [ 0.716711@1] PC is at set_mode_and_show_logo+0x10/0xe0
    [ 0.721904@1] LR is at set_mode_and_show_logo+0x10/0xe0
    [ 0.727105@1] pc : [<c0436bc4>] lr : [<c0436bc4>] psr: 60000113

    Demetris, guys,
    I have a Minix X8 with a broken EMMC. as I've read, this happens a lot to those.
    now, my only chance is to be able to run From the SD Card.
    I have access to UART console and while trying LibreELEC-S802.S82.arm builds the kernel gets stuck after the last message:
    [ 3.761576@2] amlogic-thermal aml_thermal: amlogic thermal probe done
    [ 3.768109@2] ALSA device list:
    [ 3.771258@2] #0: AML-M8AUDIO
    [ 3.774519@2] Freeing unused kernel memory: 184K (c0909000 - c0937000)

    on TV is shows: Error in mount_flash: mount_common: Could not mount /dev/system

    the board's spec is:
    Brand MINIX
    Model NEO X8-H
    CPU Brands Amlogic
    CPU Model Amlogic S802-H Cortex A9r4 Processor
    CPU Cores Quad Core
    GPU Octo Core Mali-450
    Memory 2GB DDR3
    Internal Storage 16GB eMMC
    Wifi Connectivity 802.11n Dual Band Wi-Fi (2.4GHz/5.8GHz), Bluetooth 4.0
    Bluetooth Bluetooth 4.0

    I'm sure it is similar to many other board out there but so far I wasn't able to boot any LibreELEC.
    I'd be glad to help test if there's a build that could work.
    I've managed to run Armbian on it, with desktop (no luck running kodi however) but there the build is different as I have the right u-boot env variables and kernel, ramdisk and dtb images.
    any help is much appreciated.

    thanks in advance!