Jump to content


Photo

devel: kodi_18 vs mipsel


  • This topic is locked This topic is locked
126 replies to this topic

Re: devel: kodi_18 vs mipsel #101 WanWizard

  • PLi® Core member
  • 70,849 posts

+1,832
Excellent

Posted 7 May 2021 - 20:20

New build:

-rw-r--r-- 1 build build 97728640 May  7 16:25 openpli-enigma2-develop-dm8000.nfi

In the zip that is in the downloads:

-rw-r--r--. 1 root root 98269312 May  7 06:16 openpli-develop-dm8000-20210507.nfi

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: devel: kodi_18 vs mipsel #102 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 10:49

About Zgemma BSP and the kodi issue,

 

for libEGL.so and libGLESv2.so no providers found in RDEPENDS_kodi? [file-rdeps]

 

 

They have strange package, without headers, here are needed some fixes:

https://github.com/z...ddriver.inc#L50

 

This second RPROVIDES is problematic. I think here PRIVATE_LIBS could be used

 

But generally Zgemma is interesting because they have hisil, mipsel, v3d and mali in different combinations.

As for kodi, please ask the developers to add the missing entries in kodi_18.inc and remove the older ones (for kodi pre-Make):

 

i.e. for mipsel

https://github.com/z...-mipsel.inc#L27

 

 

Cheers

A.A.



Re: devel: kodi_18 vs mipsel #103 WanWizard

  • PLi® Core member
  • 70,849 posts

+1,832
Excellent

Posted 13 May 2021 - 13:38

VU+ has merged your PR, and as a result all builds that support Kodi now fail:

[wanwizard@buildserver3] $ cat e4hd-build-image 
2021-05-13 11:31:18   START BUILD IMAGE
2021-05-13 11:31:20 NOTE: Started PRServer with DBfile: /openpli/oe/develop/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 45514, PID: 15047
2021-05-13 11:31:21 Loading cache...done.
2021-05-13 11:31:22 Loaded 3919 entries from dependency cache.
2021-05-13 11:31:34 Parsing recipes...
2021-05-13 11:31:34 Summary: There was 1 ERROR message shown, returning a non-zero exit code.
2021-05-13 11:31:34 ! ERRORS BITBAKE openpli-enigma2-image for e4hd
2021-05-13 11:31:34 ERROR: ParseError at /openpli/oe/develop/meta-vuplus/recipes-graphics/libvugles/libvugles2-arm.inc:1: Could not include required file libvugles2-e4hd.inc
2021-05-13 11:31:34 ! FAILED BUILD IMAGE

 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: devel: kodi_18 vs mipsel #104 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 13:57

They didn't merge exactly my patchset...for libgles...

 

I did not see any parse errors but I build only vuduo2.

I'll check asap

A.A.


Edited by A.A., 13 May 2021 - 14:03.


Re: devel: kodi_18 vs mipsel #105 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 14:10

Why is e4hd parsing the recipe?

COMPATIBLE_MACHINE = "^(vusolose|vusolo2|vuduo2|vusolo4k|vuuno4k|vuuno4kse|vuultimo4k|vuzero4k|vuduo4k|vuduo4kse)$"

 

 

EDIT: I think I see

 

from OE-A in meta-vuplus

require libvugles2-${TARGET_ARCH}.inc

 

 

in openvuplus_3.0

require libvugles2-${PACKAGE_ARCH}.inc


Edited by A.A., 13 May 2021 - 14:13.


Re: devel: kodi_18 vs mipsel #106 WanWizard

  • PLi® Core member
  • 70,849 posts

+1,832
Excellent

Posted 13 May 2021 - 14:15

Bitbake always parses, it needs to before it can decide if it needs executing... ;)

 

Please prepare a fix for it.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: devel: kodi_18 vs mipsel #107 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 14:17

Sure, I am afk now.

Later today.

 

 

https://github.com/O...phics/libvugles

vs

http://code.vuplus.c...php?action=repo

 

Here the 3 distros differ.

 

A.A.



Re: devel: kodi_18 vs mipsel #108 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 14:20

Bitbake always parses, it needs to before it can decide if it needs executing... ;)

 

Please prepare a fix for it.

Why is the Axas e4hd parsing the recipe?



Re: devel: kodi_18 vs mipsel #109 WanWizard

  • PLi® Core member
  • 70,849 posts

+1,832
Excellent

Posted 13 May 2021 - 14:22

All recipes Bitbake can find (locations defined by BBLAYERS) are parsed. How would bitbake know which ones to execute if it wouldn't?

 

And the error is a parse error (inlude not found), so it stops execution.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: devel: kodi_18 vs mipsel #110 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 14:31

I mean the .bb recipe is skipped.

But the .inc are parsed...I happened to build for mipsel so didn't have the error.

 

Now here we got to an important point: why is the recipe done that way?

I see they prefer one recipe per machine in the BSP to avoid these problems...I think it is better to refactor it upside down...



Re: devel: kodi_18 vs mipsel #111 WanWizard

  • PLi® Core member
  • 70,849 posts

+1,832
Excellent

Posted 13 May 2021 - 14:34

The execution is skipped.

 

But to be able to know that it should be skipped, it needs to be parsed. That missing/not-found inc file could contain a COMPATIBLE_MACHINE statement that would include the E4HD, Bitbake needs to know.

 

So it reads and parsers all .bb and .bbappend files it finds (according to the BBLAYERS paths defined), then determines which recipes should be executed (due to COMPATIBLE_MACHINE, conditionals in DEPENDS, etc).

 

For example:

DEPENDS_${PN} = "${@ 'wireguard-module' if ("${KERNEL_VERSION}" and bb.utils.vercmp_string("${KERNEL_VERSION}", '5.6') < 0) else 'kernel-module-wireguard' } bash"

This tells bitbake it needs to run bash.bb, but wireguard-module.bb only if the kernel version of the current MACHINE is lower than 5.6.
 

Wthout parsing, how would bitbake know it needs to build bash ?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: devel: kodi_18 vs mipsel #112 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 14:36

..and now laugh

 

 

vugles2 is for E2 Ui animation

https://github.com/o...core/issues/545



Re: devel: kodi_18 vs mipsel #113 WanWizard

  • PLi® Core member
  • 70,849 posts

+1,832
Excellent

Posted 13 May 2021 - 14:49

Quite possible, it's the OpenGL|ES driver. But no idea if Kodi uses it too.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: devel: kodi_18 vs mipsel #114 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 14:59

No, it was my fear...



Re: devel: kodi_18 vs mipsel #115 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 15:01

while we are OT please build the vupl-example, the demo cube.

On vuduo2 it is rendered w/out any shadowing, maybe it is intended like this.

 

Ah, the e2 plugin refuses to exit...kill it from terminal :)



Re: devel: kodi_18 vs mipsel #116 WanWizard

  • PLi® Core member
  • 70,849 posts

+1,832
Excellent

Posted 13 May 2021 - 15:03

No clue what the "vupl-example" is, or how to build it.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: devel: kodi_18 vs mipsel #117 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 15:14

This one:

 

https://github.com/O...-libvupldemo.bb

 

Hope it builds now :)



Re: devel: kodi_18 vs mipsel #118 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 13 May 2021 - 19:54

@WanWizard

 

I queued the fix to my PR at meta-vuplus.

 

Later I will rewrite one recipe for each, according to their BSP-style.

Cheers

A.A

 

 

andrea@andrea-ThinkPad-T520:/oe/openpli-oe-core/build$ bitbake -p libvugles2
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 4235 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:13
Parsing of 3370 .bb files complete (3073 cached, 297 parsed). 4532 targets, 640 skipped, 0 masked, 0 errors.
andrea@andrea-ThinkPad-T520:/oe/openpli-oe-core/build$ bitbake -c cleansstate libvugles2
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 4235 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:13
Parsing of 3370 .bb files complete (3073 cached, 297 parsed). 4532 targets, 640 skipped, 0 masked, 0 errors.
ERROR: Nothing PROVIDES 'libvugles2'
libvugles2 was skipped: incompatible with machine e4hd (not in COMPATIBLE_MACHINE)

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
andrea@andrea-ThinkPad-T520:/oe/openpli-oe-core/build$

 



Re: devel: kodi_18 vs mipsel #119 WanWizard

  • PLi® Core member
  • 70,849 posts

+1,832
Excellent

Posted 13 May 2021 - 19:58

Thanks. Let's see if they merge it soon, if not, I'll contact them...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: devel: kodi_18 vs mipsel #120 littlesat

  • PLi® Core member
  • 57,431 posts

+708
Excellent

Posted 14 May 2021 - 09:09

Super!

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



9 user(s) are reading this topic

0 members, 9 guests, 0 anonymous users