Jump to content


Photo

kodi_18 patchset for STB


  • Please log in to reply
56 replies to this topic

Re: kodi_18 patchset for STB #41 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 1 October 2021 - 18:53

I think originally the idea was to differentiate between hardware related packages (MACHINE_FEATURES) and software related packages (OPENPLI_FEATURES).

 

But looking at what is currently implemented, I see no logic whatsoever, there therefore no reason to maintain this distinction.

 

If I look at meta-openpli, I can only find:

./recipes-openpli/images/openpli-enigma2-image.bb:	${@bb.utils.contains('OPENPLI_FEATURES', 'ci', 'enigma2-plugin-systemplugins-commoninterfaceassignment', '', d)} \
./recipes-openpli/images/openpli-enigma2-image.bb:	${@bb.utils.contains('OPENPLI_FEATURES', 'dvd', 'enigma2-plugin-extensions-cdinfo enigma2-plugin-extensions-dvdplayer', '', d)} \
./recipes-openpli/images/openpli-enigma2-image.bb:	${@bb.utils.contains('OPENPLI_FEATURES', 'fan', 'enigma2-plugin-systemplugins-tempfancontrol', '', d)} \
./recipes-openpli/images/openpli-enigma2-image.bb:	${@bb.utils.contains('OPENPLI_FEATURES', '7seg', 'enigma2-plugin-systemplugins-vfdcontrol', '', d)} \
./recipes-openpli/images/openpli-enigma2-image.bb:	${@bb.utils.contains('OPENPLI_FEATURES', 'dvd', 'cdtextinfo', '', d)} \
./recipes-openpli/images/openpli-enigma2-feed.bb:	${@bb.utils.contains('OPENPLI_FEATURES', 'kodi', 'enigma2-plugin-extensions-kodi kodi-addons-meta', '', d)} \
./recipes-openpli/images/openpli-enigma2-feed.bb:	${@bb.utils.contains('OPENPLI_FEATURES', 'qtplugins', 'enigma2-plugin-extensions-qthbbtv enigma2-plugin-extensions-qtstalker', '', d)} \
./recipes-openpli/images/openpli-enigma2-feed.bb:	${@bb.utils.contains('OPENPLI_FEATURES', 'openhbbtvbrowser', 'enigma2-plugin-extensions-openhbbtvbrowser', '', d)} \

 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: kodi_18 patchset for STB #42 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 2 October 2021 - 09:55

Hi,

just to be clear, see the first

 

meta-axasuhd  e4hd.conf

 

MACHINE_FEATURES += " dvb-c v3d-nxpl transcoding"
OPENPLI_FEATURES += " ci qtplugins kodi"
DISTRO_FEATURES_remove = "x11 wayland directfb"

 

we need to add

 

MACHINE_FEATURES += "v3d-cortexa15"
EXTRA_OECMAKE_append_pn-kodi = " -DWITH_PLATFORM=v3d-cortexa15"
 

How would you proceed?

Cheers

A.A.

 

 

EDIT : this was nxpl ...must be replaced with v3d-cortexa15


Edited by A.A., 2 October 2021 - 10:01.


Re: kodi_18 patchset for STB #43 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 2 October 2021 - 11:27

I have seen only now one possible simplification.

The EXTRA_OECMAKE_append tag can be derived from the machine feature.

AFAIS the naming is 1:1

 

I'll send a patch later

 

A.A.


Edited by A.A., 2 October 2021 - 11:28.


Re: kodi_18 patchset for STB #44 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 2 October 2021 - 15:02

I was just about to write:

 

This EXTRA_OECMAKE is not a BSP definition, but one related to a recipe in meta-openpli, so it doesn't belong in the BSP. It should be part of the Kodi recipe, added based on (combination of) MACHINE_FEATURES and/or MACHINE.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: kodi_18 patchset for STB #45 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 2 October 2021 - 15:05

I agree, still some BSP do carry that. We'll try to clean.



Re: kodi_18 patchset for STB #46 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 2 October 2021 - 15:14

:thumbs-up:


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: kodi_18 patchset for STB #47 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 3 October 2021 - 10:39

@WanWizard

 

I see many BSP defining both 'hisil' and 'mali'.

Maybe it is better to use the 'hisil' machine features for the player only ?

 

A.A.

 

P.S. cleanings must be verified one by one

 

h7.conf:MACHINE_FEATURES += " textlcd 7segment dvb-c v3d-nxpl emmc"

include/zgemma-essential.inc:    ${@bb.utils.contains('MACHINE_FEATURES', 'v3d-nxpl', 'zgemma-v3ddriver-${MACHINE}' , '', d)} \

nclude/zgemma-cortex-a15.inc:EXTRA_OECONF_append_pn-kodi = " --with-gpu=v3d"

include/zgemma-mipsel.inc:EXTRA_OECONF_append_pn-kodi = " --with-gpu=v3d"
andrea@andrea-ThinkPad-T520:/oe/openpli-oe-core/meta-zgemma/conf/machine$

...

conf/machine/include/axas-essential.inc:    ${@bb.utils.contains('MACHINE_FEATURES', 'v3d-nxpl', 'axas-libgles-${MACHINE}' , '', d)} \
..

 


Edited by A.A., 3 October 2021 - 10:45.


Re: kodi_18 patchset for STB #48 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 3 October 2021 - 14:27

Sounds logical.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: kodi_18 patchset for STB #49 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 3 October 2021 - 17:36

I am sending out the BSP patches.

The hisil/mali will be the last one and please, review the players stuff.thx.

 

A.A.



Re: kodi_18 patchset for STB #50 rantanplan

  • PLi® Contributor
  • 1,760 posts

+81
Good

Posted 3 October 2021 - 19:20

Where should you look?
I always see the changes afterwards.



Re: kodi_18 patchset for STB #51 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 3 October 2021 - 19:27

I mean the code is selecting the player according to some logic:

 

E2Player

GstPlayer

HiPlayer

 

Is that right? Something to improve?


Edited by A.A., 3 October 2021 - 19:27.


Re: kodi_18 patchset for STB #52 rantanplan

  • PLi® Contributor
  • 1,760 posts

+81
Good

Posted 3 October 2021 - 20:07

Hisi feedback
-> Volume not ok

My guess would be the missing Alsa activation in the image.
Pulseaudio as MachineFetaure-> e2

In Kodi
However, the e2player is patched into the image here.
From the OE Alliance, I understand it to mean that e2player and gstplayer are not patched into the imageat Hisi, but I have to take another look at it.



Re: kodi_18 patchset for STB #53 rantanplan

  • PLi® Contributor
  • 1,760 posts

+81
Good

Posted 3 October 2021 - 21:19

ok

I didn't really look at it ...
The patches provide the option of using gst and exteplayer.

Hisi is built for pli without a gst.
In the OE-Alliance, gst is integrated into every image basis, even if it is not used.

 

Even so, it seems to work except for the volume issue



Re: kodi_18 patchset for STB #54 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 3 October 2021 - 21:37

add to this OE-A is patching the FFMPEG builds so I am really confused



Re: kodi_18 patchset for STB #55 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 14 October 2021 - 22:18

The Ustym4kpro BSP PR's have finally been merged, but the build still fails:

2021-10-14 21:14:33 Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
2021-10-14 21:14:33 ! ERRORS BITBAKE openpli-enigma2-feed for ustym4kpro
2021-10-14 21:14:33 ERROR: kodi-1_18.9+gitrAUTOINC+0655c2c718-r0 do_package_qa: QA Issue: /usr/lib/kodi/kodi-stb contained in package kodi requires libmali.so, but no providers found in RDEPENDS_kodi? [file-rdeps]
2021-10-14 21:14:33 ERROR: kodi-1_18.9+gitrAUTOINC+0655c2c718-r0 do_package_qa: QA Issue: /usr/lib/kodi/kodi-stb contained in package kodi requires libEGL.so, but no providers found in RDEPENDS_kodi? [file-rdeps]
2021-10-14 21:14:33 ERROR: kodi-1_18.9+gitrAUTOINC+0655c2c718-r0 do_package_qa: QA Issue: /usr/lib/kodi/kodi-stb contained in package kodi requires libGLESv2.so, but no providers found in RDEPENDS_kodi? [file-rdeps]
2021-10-14 21:14:33 ERROR: kodi-1_18.9+gitrAUTOINC+0655c2c718-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: kodi_18 patchset for STB #56 A.A.

  • Senior Member
  • 391 posts

+8
Neutral

Posted 15 October 2021 - 08:52

testing it now again, if necessary I'll send a patch adding it to the 'whitelist' in kodi_18.inc

 

cheers

A.A.



Re: kodi_18 patchset for STB #57 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 15 October 2021 - 12:57

Seen it, merged. Thanks.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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.



5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users