Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A64 => Topic started by: fivuf on May 03, 2021, 10:24:07 pm

Title: libreelec compilation
Post by: fivuf on May 03, 2021, 10:24:07 pm

I would like to know the steps to compile libreelec for the A64 board.
I saw here
"Build instructions and sources would soon be publsihed."
Of course I know this is from late 2019 but any news on this ?
Title: Re: libreelec compilation
Post by: fivuf on May 04, 2021, 07:40:17 pm
Well I found the repo and there is a A20-Olinuxino_BUILD.md file.
But I'm going to try for A64.

Title: Re: libreelec compilation
Post by: fivuf on May 05, 2021, 12:40:43 pm
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 :)
Title: Re: libreelec compilation
Post by: mossroy on May 15, 2021, 10:30:50 pm
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 :

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.
Title: Re: libreelec compilation
Post by: fivuf on May 18, 2021, 05:05:11 pm

Here's a howto to apply the patch

Feel free to make a pull request to the LibreElec github.
Here's the image

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.