In this article we describe how to proceed to compile the Openelec image for the Orange PI PC card.
From the Orange PI PC forum, in the Openelec section the developers describe the steps to compile the image
In previous blogs we described how to install debian and how to modify the script.bin file to adapt the hdmi output to our television
The compilation takes a long time; it is advisable to use multicore processors to speed up the compilation process.
Create a folder, openelec, under orangepi folder and move into it
1 2 3 |
sviluppo@debian8:~/orangepi$ mkdir openelec sviluppo@debian8:~/orangepi$ cd openelec sviluppo@debian8:~/orangepi/openelec$ |
Install the following packages
1 |
sudo apt-get install device-tree-compiler |
With git download the github sources in the local OPENELEC-OPIPC folder
1 |
git clone -b openelec-7.0 --depth 1 https://github.com/jernejsk/OpenELEC-OPi2 OPENELEC-OPIPC |
After the above operation access to OPENELEC-OPIPC folder
1 |
cd OPENELEC-OPIPC |
Execute the following command
1 |
PROJECT=H3 SYSTEM=opipc ARCH=arm make image |
The process check prerequisities and installs additional packages
1 2 3 4 |
**** Your system lacks the following tools needed to build OpenELEC **** gperf xsltproc /usr/include/ncurses.h **** You seem to use a debian system **** would you like to install the needed tools ? (y/n) y |
Insert the root password when required; after the prerequisites installation the compilation begins.
At the end of the compilation in the target folder we find the files to install or update Openelec