1234
Return to list Post new posts
Author: campioncino

OpenElec will be LibreElec?

[Copy link]

0

threads

29

posts

204

credits

Intermediate member

Rank: 3Rank: 3

credits
204
Published in 2017-2-13 14:33:21 | Show all floors
i am experiencing this - as said i am using debian sid:

--- cut from libreelec forum - been getting the same with openelec, but it was fixed in the last versions) ---
LibreELEC is using host tools for formatting EXT4 partition. And Debian is using newer version of ext2 filesystem utilities
which supports some new filesystem feature called metadata_csum. But e2fsprogs 1.42.13 used by LibreELEC doesn't understand that. And populatefs fail at the end.

There are 3 possible solutions:
1.) If whole build is already done then mke2fs should disable some features (64bit,metadata_csum).
The line should look like this in file scripts/mkimage:
Code:
mke2fs -F -q -t ext4 -m 0 -O ^64bit,^metadata_csum "$LE_TMP/part2.ext4"
2.) For new builds e2fsprogs package should be bumped to 1.43.3
file packages/sysutils/e2fsprogs/package.mk
3.) remove feature metadata_csum from /etc/mke2fs.conf
for advanced users only!

---end cut

I took the first option and generated ok need to test

4

threads

1118

posts

9504

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9504
Published in 2017-2-14 00:39:34 | Show all floors
Why don't you go with option 2? It is the easiest and it is distro agnostic.

2

threads

87

posts

899

credits

Senior member

Rank: 4

credits
899
Published in 2017-2-14 01:08:01 | Show all floors
best solution  downgrade your e2fsprog from sid or use a stable distro version

and if the whole build is done remove e2fsproges from de build and .stamps directory ,adjust the e2fsprogs package.mk

there is no need to build all the packages again

as example

  1. PKG_VERSION="1.43.4"
  2. PKG_ARCH="any"
  3. PKG_LICENSE="GPL"
  4. PKG_SITE="https://e2fsprogs.sourceforge.net/"
  5. PKG_URL=https://fossies.org/linux/misc/e2fsprogs-1.43.4.tar.gz
  6. # https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/v1.43.4/e2fsprogs-1.43.4.tar.gz/download
Copy code


and just execute again your build command so it only rebuilds e2fsprogs so that it supports metadata

no hassle with commands in scripts

compiling builds like openelec ,libreelec ,armbian etc are mostly best done on a stable distro .like a ubuntu 16.04/10 or a jessie from debian








2

threads

87

posts

899

credits

Senior member

Rank: 4

credits
899
Published in 2017-2-19 08:35:54 | Show all floors
Edited by thc013 at 2017-2-20 01:35

hehe finaly getting git up

https://github.com/Shaggy013/LibreELEC_OPI/tree/Opi_HW_7

libreelec 7 /kodi 16

https://github.com/Shaggy013/LibreELEC_OPI/tree/Opi_SW_8

libreelec 8 / kodi 17

And the added attachment is first attempt of hw patch conversion for kodi 17  not tested

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

1

threads

14

posts

123

credits

Registered member

Rank: 2

credits
123
Published in 2017-3-5 17:18:42 | Show all floors
Hi thc013 ,

I am really interested to get Libreelec and Kodi 17 running on Orange PI.
Have you had success building images yet?

I tried to build some with your github version of LibreElec, but it failed on many patches.
I am very new to build libreelec so it's properly something I am doing wrong.

regards,
delta

0

threads

6

posts

1152

credits

Gold member

Rank: 6Rank: 6

credits
1152
Published in 2017-3-29 05:43:16 | Show all floors
Edited by ua3nbw at 2017-4-6 09:31

collected Kodi (17.1).  on OrangepiPC
root@orangepipc:~# uname -a
Linux orangepipc 3.4.113-sun8i #10 SMP PREEMPT Thu Feb 23 19:55:00 CET 2017 armv7l armv7l armv7l GNU/Linux
  1. cmake ~/xbmc-17.1-Krypton/project/cmake/ -DENABLE_PULSEAUDIO=ON -DENABLE_OPENGL=OFF -DENABLE_X11=OFF -DENABLE_OPENGLES=ON -DENABLE_VAAPI=OFF -DENABLE_VDPAU=OFF -DENABLE_SDL=OFF  -DENABLE_DVDCSS=OFF -DENABLE_AIRTUNES=OFF -DENABLE_OPTICAL=OFF -DENABLE_BLURAY=OFF -DENABLE_AVAHI=OFF -DENABLE_CEC=OFF -DCPU=cortex-a7 -DWITH_ARCH=arm -DCORE_SYSTEM_NAME=linux  -DLIRC_DEVICE=/run/lirc/lircd
Copy code


log: http://paste.ubuntu.com/24324553/
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list