libreelec compilation

Started by fivuf, May 03, 2021, 10:24:07 pm

Previous topic - Next topic

fivuf

Hello,

I would like to know the steps to compile libreelec for the A64 board.
I saw here
https://ftp.olimex.com/Allwinner_Images/a64-olinuxino/linux/3.LibreELEC_KODI_images/README.txt
"Build instructions and sources would soon be publsihed."
Of course I know this is from late 2019 but any news on this ?

fivuf

Well I found the repo and there is a A20-Olinuxino_BUILD.md file.
But I'm going to try for A64.

Cheers

fivuf

I successfully compiled the https://github.com/LibreELEC/LibreELEC.tv repo (latest) with the 10 commits from https://github.com/OLIMEX/LibreELEC.tv.

I had to resolve some conflicts but nothing hard.

It is booting and working like a charm on A64 :)

mossroy

May 15, 2021, 10:30:50 pm #3 Last Edit: May 16, 2021, 12:10:26 am by mossroy
Hey, that's interesting!

I recently tried the image provided by Olimex in 2019.
It was basically working but I had a few issues with it :
  • the version of kodi was a bit outdated of course (kodi 18)
  • there is no addon repo compiled for the board, notably for PVR. I managed to make it work with http://libreelec.1337-server.net/addons/9.0/H3/arm/pvr.hts/pvr.hts-4.3.11.2.zip (a python2 version for Kodi 18 : it will not work with Kodi 19)
  • there is no repo for automatic updates of Kodi
  • in less than 24 hours, I had a timer jump (date suddenly changed) and some other crashes

Did you try to keep the board running for a few days, to see if there is a date change and/or some crashes?

Did you commit your code somewhere, ideally on github? Can you provide your generated image?

It's very sad that Olimex boards are not listed in https://libreelec.tv/downloads-new-allwinner/ , like the other boards based on the same A64 CPU. If all patches from Olimex were merged upstream, the boards might become officially supported, with all the benefits.

fivuf

May 18, 2021, 05:05:11 pm #4 Last Edit: May 18, 2021, 06:48:42 pm by fivuf
Hello,

Here's a howto to apply the patch
https://libre-depanne.fr/ressources/howto-libreelec-olimex.txt

Feel free to make a pull request to the LibreElec github.
Here's the image
https://libre-depanne.fr/ressources/LibreELEC-A64.arm-10.0-devel-20210504202535-ad8cd9f-a64_olinuxino.img.gz

I didn't encounter crash where I could have then in the old version, except when moving in the timeline of a very heavy video file.

Another thing is that where in the old image I powered the board before my video projector, I would only get a black screen. Now with the new version I can power them in the same time or not, it doesn't matter.

Be careful, I'm pretty sure python 2 addons support is dropped for python 3 since a recent version.