Posts by chewitt

    I've had more success using the VIM2 dts with random boxes than the Q200/Q201 ones. That's also true of boot firmware - the 'vim2' suffix image on our test server is for emmc installs and has mainline u-boot in the imaage, but to test that you'll need to erase emmc first else the box will always find BL2 in emmc and use it.

    scarface911 this endless loop is BL1 (hard-coded into the SoC) searching for BL2 firmware. It is actually a better (more simple to work from) position than having the wrong or broken firmware installed, as we can experiment with booting from an SD card.

    Write the images below to an SD card and pastebin the UART output so we can see what happens, both C4/VIM3L are SM1 devices:

    LibreELEC-AMLG12.arm-9.80.0-khadas-vim3l.img.gz

    LibreELEC-AMLG12.arm-9.80.0-odroid-c4.img.gz

    If any of them boot (u-boot) but fail to run the kernel, download the AMLG12 "box" image from the same location and steal the SEI610 device-tree from it (change the dtb name in extlinux.conf) as I've had one person report that it works (mostly) with an A95X-F3 device.

    If Android starts failing to boot and reflashing is also failing there are probably defects in the emmc storage, but if you're able to boot a 3.14 image from USB the factory u-boot is still intact. Before attempting anything else I would use the USB booting OS to make a backup of the first 8MB of the emmc so that you have a copy of that u-boot, because although it's fairly simple to build bootable images for GXM devices, if the box has extra-cheap emmc chips (not unheard of) the fip sources might have been tweaked with custom timings (to deal with out-of-spec chips) and then it's unlikely you'll be able to find or recreate a bootable image. If the emmc deteriorates further it's then possible to erase emmc (short pins to boot from an SD card with factory u-boot installed). Worst case you might end up in a scenario where you need to boot from u-boot on a SD card but run an OS on a USB stick.

    NB: Once you start fiddling with boot firmware and u-boot it becomes important to have a USB > UART cable to see the boot/console output. If we can see that output we can literally see where things break and what happens when we experiment. If we can't see that output, we're reduced to guessing where the issue lies.

    I have no plans or interest in resurrecting work on AppleTV boxes. I still have the OE branches in my GitHub repo so if you wanted to attempt the backport you could. Use an older Ubuntu image to build with, 16.04 should align with what I/we were using at the time.

    I'd guess that the stream starts, but over time the buffer drains and then once it's depleted we have to re-request chunks of media to fill the cache again and the seeking behaviour to refind the start point to recover the stream generates a load of traffic. TL/DR; WiFi sucks. If you run an Ethernet cable the problem will probably go away. If that's not possible sometimes the better alternative to a USB device is an Ethernet > Wireless bridge. I'm personally a fan of old(er) Apple A1rport Express devices used as bridge devices as they're small and generally give good reception.

    The correct path is always /storage/.kodi/temp/kodi.log .. just start the tail, then start the library scan, and when Kodi crashes the output will stop at the point where it crashes. Use a large scroll-back buffer in Terminal.app or PuTTY (or whatever SSH client you use) and the copy/paste to pastebin and share the log. You cannot stop the tail and use the built-in paste, as by this point Kodi has probably restarted which will generate a new log file.

    Your TV will do a better job of upscaling a 1080p GUI signal to the native resolution of the TV panel (4K) than Kodi will achieve rescaling a 720p or 1080p skin to the same size. Also, unless you have 4K60 media (most people don't) there is not much point forcing the board to support more than 4K30 resolution; it only increases the power draw and heat output of the board. You can still set the whitelist to allow 4K resolutions and Kodi will switch to them when you play 4K media, but then return to the 1080@60 GUI afterwards - the GUI will be snappier at 1080p. This scenario is generally applicable to all ARM devices, nothing that specific to RPi hardware.

    You might need to force the Wireless Regulatory Domain for your counrty so the card is using the right radio properties before all frequencies show up correctly. In LE 9.2.3 this will be in the GUI (settings add-on). Until then it requires a conf file setting. e.g.

    Code
    echo "options cfg80211 ieee80211_regdom=DE” > /storage/.config/modprobe.d/cfg80211.conf

    Kodi v19 (LE10) will be entirely Python3, no Python2. It sounds like add-on authors are starting to retool around Py3 which is good.

    I'd create a system.d service in /storage/.config/system.d to run the "route add" commands as systemd allows you to add dependencies to accurately sequence when things will occur, e.g. after network-online.target but before kodi.service (assuming the routes are needed for Kodi things).

    Having never knowingly seen the cpu-z app I can't say, but as a rule Android only tells you what the manufacturer exposes in the device-tree config and box vendors have a reputation for faking info .. esp. with "MXQ" box which are cloned and sold by many different manufacturers. The one true method is, you open up the box and share post a high-resolution image of the front/back sides of the board so we can see what chips are on it :)