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-10 15:02:13 | Show all floors
there were some minor problems with the compile.. nothing special, really minor, wrote the image to sd card, booted and i was in kodi.
settings work, played some demo files, tested audio, used cec - all ok

in the short test its was an experience like with openelec jernej provides.

2

threads

87

posts

899

credits

Senior member

Rank: 4

credits
899
Published in 2017-2-11 00:38:36 | Show all floors
yep libreelec 7 is same as openelec 7 that why it was so easy

and let me guess the minor problem wasn't when it compiles it hangs at kodi patching and you have to say yes ?





0

threads

29

posts

204

credits

Intermediate member

Rank: 3Rank: 3

credits
204
Published in 2017-2-11 01:40:05 | Show all floors
no i do not remember that, but it was something about the boot logo that the file was missing.. i just put a picture in there and it is now displayed at boot..

0

threads

29

posts

204

credits

Intermediate member

Rank: 3Rank: 3

credits
204
Published in 2017-2-11 16:58:27 | Show all floors
I get this weird error with libreelec-8.0
  1. /home/andrejb/OpiOpenELEC/LibreELEC.tv/build.LibreELEC-H3.arm-7.95.3/kodi-a10c504/xbmc/windowing/egl/EGLWrapper.cpp: In function 'bool {anonymous}::CorrectGuess(CEGLNativeType*, const string&)':
  2. /home/andrejb/OpiOpenELEC/LibreELEC.tv/build.LibreELEC-H3.arm-7.95.3/kodi-a10c504/xbmc/windowing/egl/EGLWrapper.cpp:63:13: error: invalid use of incomplete type 'class CEGLNativeType'
  3.      if(guess->CheckCompatibility())
  4.              ^~

  5. ....
Copy code


anyone knows how to fix it?
I am runing build on debian sid - todays update
  1. cat /etc/debian_version
  2. 9.0
Copy code

2

threads

87

posts

899

credits

Senior member

Rank: 4

credits
899
Published in 2017-2-11 19:15:01 | Show all floors
ah sigh

i wrote you yesterday a message what you should do to make it work

but is nothing more as add mali package and copy kernel and uboot package from my patched libre7 and copy over the h3 projects folder remove the patches from the kodi patches folder in the h3 projects folder and add the 2 patches from jernej 's sw patch sound fix and the windowing patch , and adjust the windowing patch for the new kodi and in the scripts folder adjust image and mkimage thats all i think it was

ow you could leave the sound fix patch that is the same

so then it builds a sw libreelec

                                                      
but if you are to lazy to adjust the kodi-000-windowing-support.patch

thought you were stubborn

ow and a handy word "compare"

like the hw patch most of it can also be copy paste with minor adjustments , i'm a bit stuck at the LinuxRendererGLES.cpp that changed a lot i'm thinking that should i make HwDecRender cedarx cpp an h files but how or try to hack/slash it into linuxrendergless .


the sw build is just copy paste of jernej work into libreelec and to be a little stubborn


0

threads

29

posts

204

credits

Intermediate member

Rank: 3Rank: 3

credits
204
Published in 2017-2-11 22:36:03 | Show all floors
Edited by andrejb at 2017-2-11 22:37
thc013 replied at 2017-2-11 19:15
ah sigh

i wrote you yesterday a message what you should do to make it work

yeah I saw that and i am doing the same for three days. It just gets stuck with that EGLWrapper.cpp (even if i have (EGLNativeTypeSunxi.) in .h in .cpp and in Makefile).. I even compared it with other EGL... RPi it is the same.. but it does not compile

The other missing stuff I am adding no problem whatsoever (untill I boot I guess).

I am tryin the 4.10-RC7 kernel.

4

threads

1118

posts

9497

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9497
Published in 2017-2-11 22:44:27 | Show all floors
Which DRM driver do you use with 4.10 kernel? the one from j-f moine?

0

threads

29

posts

204

credits

Intermediate member

Rank: 3Rank: 3

credits
204
Published in 2017-2-12 06:25:25 | Show all floors
the sunxi drm drv in kernel has author * Maxime Ripard * noted in he head

4

threads

1118

posts

9497

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9497
Published in 2017-2-12 16:42:07 | Show all floors
This driver was written for A13 and tv out. It won't work on H3 or do you have different SoC?

2

threads

87

posts

899

credits

Senior member

Rank: 4

credits
899
Published in 2017-2-12 23:29:05 | Show all floors
This is the SW patch for libre 8 branch

https://www.dropbox.com/s/jeyqxc7ez75b7su/Libre8_SW.patch?dl=0

only warning that it get by building  is this
  1. [100%] Building CXX object build/windowing/egl/CMakeFiles/windowing_egl.dir/EGLNativeTypeSunxi.cpp.o
  2. /mnt/armbian/libreelec-8.0/build.LibreELEC-H3.arm-7.95.3/kodi-a10c504/xbmc/windowing/egl/EGLNativeTypeSunxi.cpp: In member function 'virtual void CEGLNativeTypeSunxi::Initialize()':
  3. /mnt/armbian/libreelec-8.0/build.LibreELEC-H3.arm-7.95.3/kodi-a10c504/xbmc/windowing/egl/EGLNativeTypeSunxi.cpp:140:83: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
  4.    CLog::Log(LOGNOTICE, "%s - Screen ID %d is selected\n", __FUNCTION__, m_screenid);
Copy code




You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list