Official LE13 Test Images for Amlogic (Kodi-22)

  • chewitt

    Comparing LibreELEC:master...ashimokawa:mecool-kii-pro · LibreELEC/LibreELEC.tv
    Just enough OS for KODI. Contribute to LibreELEC/LibreELEC.tv development by creating an account on GitHub.
    github.com

    This contains my 3 patches

    dvb-0040-WIP-media-tuners-add-Rafael-Micro-R912-driver.patch
    dvb-0041-WIP-media-meson-demux-add-avl6862-r912-frontend-for-.patch
    dvb-0042-WIP-arm64-dts-amlogic-add-DVB-support-to-MECOOL-KII-.patch

    I know you sort (and re-sort) them differently, let my know if anything needs to be done from my side to make this mergable, I did not open a PR yet because I assume you will have your own policy which I did not meet yet.

    Feel also free to just pick and rename the patches or do what you like with it.

    I really would like to have this upstreamed.

    :)

  • ashi can You test this kernel branch: https://github.com/LibreELEC/amlo…mczerski-claude ?
    this is a claude rewrite of the vendor dvb demux driver. I aplied Your changes to it.

    To build Libreelec with that kernel You need to additionally change two things in the LibreElec build:
    - remove "dvb" from PKG_PATCH_DIRS of packages/linux/package.mk (to remove patches of the vendor dvb driver)
    - add CONFIG_DVB_MESON_DEMUX=m to projects/Amlogic/linux/linux.aarch64.conf (to select new dvb driver)

  • I think that if You test it and find no issues there, and chewitt test it on his boxes (I an already running it for couple of days without any issues) than the patches are ready to be included in the official LibreElec.

  • rozpruwacz

    I tried compiing meson-demux from your tree and put it into .config/kernel-overlays while blacklisting meson_demux, also loaded the compiled dtb from your tree, used the built KERNEL from your tree but I did not even see that r912.ko was build, very weird.


    EDIT: got it working, dont know why I had to put CONFIG_MEDIA_TUNER_R912=m in linux.aarch64.conf also

    And then copied r912.ko and avl6862.ko to the box in my overlay.

    So I booted a fully build u-boot image from your tree + dtb

    and put the compiled r912.ko + avl6862.ko + meson-demux.ko into my overlay. That works :)

    Confirmed working claude driver! :)

    Edited once, last by ashi (November 3, 2026 at 6:49 PM).

  • EDIT: got it working, dont know why I had to put CONFIG_MEDIA_TUNER_R912=m in linux.aarch64.conf also

    ah yes, the R912 driver was added by Your patch, so it was not enabled in the official LibreElec build. Somthing to remember when it lands into the upstream libreelec.

  • I have an Odroid N2 with internal IR receiver. The Google KI says "configuring this for LibreELEC requires adjusting how U-Boot reads your remote parameters". Then it suggests using a config.ini or boot.ini to supply the custom hex values directly to U-Boot at startup. This sounds like the method CoreELEC uses with amlogic vendor kernel, so the KI may be confused. Is IR wakeup yet possible and if so, what does it require? There is no *.ini-file on the flash partition.

  • The IR remote that Hardkernel sells is supported out-of-box on Odroid boards and we use Hardkernel's BL301 sources for the boot firmware so that remote should also support IR wake. Any other remote will need to be configured with the scan codes:

    https://wiki.libreelec.tv/configuration/ir-remotes#configuration-advanced

    NB: LE does not currently support programming the IR wake codes into boot firmware, but at some point we should probably look at adding that capability into mainline u-boot so the feature is available to all devices.