Official LibreElec Addons for a new hardware (A64 based) with latest 10.0.1 release as starting point

  • Hi all.

    This is my first thread in the libreelec community. I hope all is correct.

    In the past I used the master branch to create new hardware support. The device is using the Allwinner A64 SoC with a LVDS display and touchscreen (Systevo Touch IP is the name).

    The image is running fine with weekly updates over a local web server. The problem is, I can't install libreelec addons. But the IPTV simple client is needed,

    From my understanding, as the A64 support is available, there should be the official repository which could be used. Or is it needed to compile all addons manually? I hope not.

    1. I used the latest stable git commit 10.0.1 as starting point
    2. I added my changes on top of them to support the new hardware
    3. I changed in "distributions/LibreELEC/version" LIBREELEC_VERSION from "devel" to "10.0.1" --> For my understanding. Your build scripts will do that automatically. If not I will get devel image names and the version is wrong.
    4. I did a clean build with: PROJECT=Allwinner ARCH=aarch64 DEVICE=A64 UBOOT_SYSTEM=stip+7 BUILDER_NAME=MockUp make image
    5. The image is running fine.

    The problem is I have also no access to the official libreelec addons!

    In the log I find the following:

    2022-01-20 18:04:45.746 T:733 ERROR <general>: CCurlFile::Open failed with code 404 for https://addons.libreelec.tv/10.0.0/ARMv8/a….xml.gz.sha256:

    2022-01-20 18:04:45.746 T:733 ERROR <general>: CFileCache::Open - <https://addons.libreelec.tv/10.0.0/ARMv8/a…s.xml.gz.sha256> failed to open

    2022-01-20 18:04:45.746 T:733 ERROR <general>: CRepository: failed read 'https://addons.libreelec.tv/10.0.0/ARMv8/a…s.xml.gz.sha256'

    A manually test in Firefox is not possible, because a direct access is not wanted by the community and I don't know if the path is correct. From the point what the development scripts are doing the path is correct.

    A test with the same link and curl on bash from libreelec has the same 404 error.

    Did someone could tell me, what change is needed to get the official addons working.

    Is it possible to add hardware to libreelec, where the dts is currently not in the mainline kernel? Or is this unwanted?

  • LE does not release any ARM images in "ARCH=aarch64" format so we don't bother bulding add-ons we won't use. If you rebuild the image with ARCH=arm you will have a full complement of add-ons available.

  • Is it possible to add hardware to libreelec, where the dts is currently not in the mainline kernel? Or is this unwanted?

    It's possible, but there must be clear intention that dts file in question will be included in mainline kernel in reasonable time. Simple example - dts is submitted for review and there are no major blockers after initial review.