Libreelec: Compile latest Libreelec for Orange Pi PC

Hi,

Libreelec for Allwinner CPUs is currently under development.

If you want to test the latest version you have to compile it from source or use the precompiled images.

Ensure you have enough disk space (>= 20GB).

root@debdev ~ # apt-get install -y build-essential \
                   git \
                   libjson-perl \
                   libxml-parser-perl \
                   xfonts-utils \
                   unzip \
                   zip \
                   gawk \
                   default-jre \
                   libncurses5-dev \
                   xsltproc \
                   lzop \
                   gperf \
                   patchutils \
                   bc

Enable git lineending conversation CrLf -> Lf

michael@debdev ~ # git config --global core.eol lf
michael@debdev ~ # git config --global core.autocrlf input

Get allwinner branch

michael@debdev ~ # git clone https://github.com/LibreELEC/LibreELEC.tv -b allwinner

List of valid devices and the CPU they based on

cat ./scripts/uboot_helper

Start compiling (takes some hours)

michael@debdev ~ # cd LibreELEC.tv
michael@debdev ~/LibreELEC.tv # ARCH=arm PROJECT=Allwinner DEVICE="H3" UBOOT_SYSTEM="orangepi_pc" make image

The image can be found gzip compressed in target folder

michael@debdev ~ # ls -l target/LibreELEC*.img*

To write it to an SD Card uncompress the image

michael@debdev ~ # cd target
michael@debdev ~/target # gunzip

and write to card

root@debdev ~ # dd if=/home/michael/LibreELEC.tv/target/LibreELEC-H3.arm-9.1-devel-20190312221457-fb05d17-orangepi_pc.img of=/dev/sdc bs=4M

Have fun

Michael

Advertisment to support michlstechblog.info

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress