Jump to content


Photo

How to Start OpenPLi and its Development

Start OpenPli OpenPli development Soucecode of OpenPli

  • Please log in to reply
31 replies to this topic

#1 coolasim79

  • Member
  • 13 posts

0
Neutral

Posted 22 September 2017 - 08:25

Hi All

I am new in STB world and we are looking to explore this world . Can you guys help me about from where we start and how to develop or enhance the application according to our need

Please Help me i will be very thankful to you guys

Regards

Asim Iftikhar



Re: How to Start OpenPLi and its Development #2 Pr2

  • PLi® Contributor
  • 6,046 posts

+256
Excellent

Posted 22 September 2017 - 22:22

Hi,

 

If you are a developper:

 

https://github.com/OpenPLi

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: How to Start OpenPLi and its Development #3 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 22 September 2017 - 23:20

You can also look here, even when it's a little bit older:
https://forums.openp...p-ubuntudebian/

Link to build environment source code:
https://github.com/O...openpli-oe-core

Link to E2 source code:
https://github.com/OpenPLi/enigma2

Depending on what you want to do, you can create own skin, plugins or change e2 code.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: How to Start OpenPLi and its Development #4 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 23 September 2017 - 09:35

Do you own one of the STBs that is supported by PLi or OE-A? Or it's something completely new?


Open Vision sources: https://github.com/OpenVisionE2


Re: How to Start OpenPLi and its Development #5 coolasim79

  • Member
  • 13 posts

0
Neutral

Posted 23 September 2017 - 12:45

Do you own one of the STBs that is supported by PLi or OE-A? Or it's something completely new?

 

Dear Thank You very much for your response i am completely new in STB world but i have an experience in c++ programming around 10 years. we are interested to add some add on features in STB box like from satellite we are planning to send additional data packet to STB and our STB will ingest it silently after completion of file transfer as data packet from satellite,our STB will play this file in commercial time

Yes we can Arrange STB if you suggest we can arrange it too

Thank you once again 

Asim Iftikhar



Re: How to Start OpenPLi and its Development #6 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 23 September 2017 - 16:25

Ok for the start I suggest buy one of http://vuplus.com STBs then run Ubuntu 16.04.3 LTS on a PC and build a sample image using https://github.com/O...openpli-oe-core for it, After this you would understand how can you change or add things ;)

Open Vision sources: https://github.com/OpenVisionE2


Re: How to Start OpenPLi and its Development #7 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 24 September 2017 - 09:53

Doesn't have to be a VU+, any supported box will do. I suggest to pick one with the same or similar hardware.

 

Once you understand how this all works, the next step is to make DVB drivers for your box. When you have those, you can start building and testing for your hardware.


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: How to Start OpenPLi and its Development #8 coolasim79

  • Member
  • 13 posts

0
Neutral

Posted 26 September 2017 - 12:10

Ok for the start I suggest buy one of http://vuplus.com STBs then run Ubuntu 16.04.3 LTS on a PC and build a sample image using https://github.com/O...openpli-oe-core for it, After this you would understand how can you change or add things ;)

hi guys

i follow the installation instructions written in https://wiki.openpli..._for_Developers

first i run the command

sudo apt-get install sed wget cvs subversion git-core \
  coreutils unzip texi2html texinfo docbook-utils \
  gawk python-pysqlite2 diffstat help2man make gcc build-essential g++ \
  desktop-file-utils chrpath

then

git clone https://github.com/OpenPLi/openpli-oe-core.git

cd openpli-oe-core
make
cd build

source env.source

 

unitl now everything was fine but when is run

 

MACHINE=openplipc bitbake openpli-enigma2-image  OR   MACHINE=openplipc bitbake openpli-enigma2-feed

 

it shows error 

 

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Please set a valid MACHINE in your local.conf or environment


Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Edited by coolasim79, 26 September 2017 - 12:12.


Re: How to Start OpenPLi and its Development #9 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 26 September 2017 - 12:32

This error means "openplipc" is not a valid machine.

 

The currently supported list of machines from our build scripts:

MACHINES+=(vuultimo4k)
MACHINES+=(vusolo4k)
MACHINES+=(vuuno4k)
MACHINES+=(revo4k)
MACHINES+=(galaxy4k)
MACHINES+=(hd51)
MACHINES+=(vs1500)
#MACHINES+=(dm500hd)
#MACHINES+=(dm7020hd)
MACHINES+=(dm8000)
#MACHINES+=(dm800se)
MACHINES+=(osmega)
MACHINES+=(osmini)
MACHINES+=(osminiplus)
MACHINES+=(formuler1)
MACHINES+=(formuler3)
MACHINES+=(formuler4)
MACHINES+=(formuler4turbo)
MACHINES+=(et7000mini)
MACHINES+=(vs1000)
MACHINES+=(hd11)
MACHINES+=(hd1200)
MACHINES+=(hd1265)
MACHINES+=(hd1500)
MACHINES+=(hd2400)
MACHINES+=(hd530c)
MACHINES+=(mbmicro)
MACHINES+=(mbmicrov2)
MACHINES+=(mbtwinplus)
MACHINES+=(spycat)
MACHINES+=(spycatmini)
MACHINES+=(spycatminiplus)
MACHINES+=(vuduo2)
MACHINES+=(vuduo)
MACHINES+=(vusolo2)
MACHINES+=(vusolo)
MACHINES+=(vusolose)
MACHINES+=(vuultimo)
MACHINES+=(vuuno)
MACHINES+=(vuzero)
MACHINES+=(xpeedc)
MACHINES+=(fusionhd)
MACHINES+=(fusionhdse)
MACHINES+=(purehd)
MACHINES+=(purehdse)
MACHINES+=(et1x000)
MACHINES+=(et10000)
MACHINES+=(et5x00)
MACHINES+=(et6x00)
MACHINES+=(et7x00)
MACHINES+=(et8000)
MACHINES+=(et8500)
MACHINES+=(et9x00)
MACHINES+=(h3)
MACHINES+=(h4)
MACHINES+=(h5)
MACHINES+=(h7)
MACHINES+=(i55)
MACHINES+=(alphatriplehd)
MACHINES+=(xp1000)
MACHINES+=(et4x00)
MACHINES+=(hd500c)
MACHINES+=(hd1100)
MACHINES+=(lc)
MACHINES+=(sh1)

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: How to Start OpenPLi and its Development #10 coolasim79

  • Member
  • 13 posts

0
Neutral

Posted 26 September 2017 - 12:41

 

This error means "openplipc" is not a valid machine.

 

The currently supported list of machines from our build scripts:

MACHINES+=(vuultimo4k)
MACHINES+=(vusolo4k)
MACHINES+=(vuuno4k)
MACHINES+=(revo4k)
MACHINES+=(galaxy4k)
MACHINES+=(hd51)
MACHINES+=(vs1500)
#MACHINES+=(dm500hd)
#MACHINES+=(dm7020hd)
MACHINES+=(dm8000)
#MACHINES+=(dm800se)
MACHINES+=(osmega)
MACHINES+=(osmini)
MACHINES+=(osminiplus)
MACHINES+=(formuler1)
MACHINES+=(formuler3)
MACHINES+=(formuler4)
MACHINES+=(formuler4turbo)
MACHINES+=(et7000mini)
MACHINES+=(vs1000)
MACHINES+=(hd11)
MACHINES+=(hd1200)
MACHINES+=(hd1265)
MACHINES+=(hd1500)
MACHINES+=(hd2400)
MACHINES+=(hd530c)
MACHINES+=(mbmicro)
MACHINES+=(mbmicrov2)
MACHINES+=(mbtwinplus)
MACHINES+=(spycat)
MACHINES+=(spycatmini)
MACHINES+=(spycatminiplus)
MACHINES+=(vuduo2)
MACHINES+=(vuduo)
MACHINES+=(vusolo2)
MACHINES+=(vusolo)
MACHINES+=(vusolose)
MACHINES+=(vuultimo)
MACHINES+=(vuuno)
MACHINES+=(vuzero)
MACHINES+=(xpeedc)
MACHINES+=(fusionhd)
MACHINES+=(fusionhdse)
MACHINES+=(purehd)
MACHINES+=(purehdse)
MACHINES+=(et1x000)
MACHINES+=(et10000)
MACHINES+=(et5x00)
MACHINES+=(et6x00)
MACHINES+=(et7x00)
MACHINES+=(et8000)
MACHINES+=(et8500)
MACHINES+=(et9x00)
MACHINES+=(h3)
MACHINES+=(h4)
MACHINES+=(h5)
MACHINES+=(h7)
MACHINES+=(i55)
MACHINES+=(alphatriplehd)
MACHINES+=(xp1000)
MACHINES+=(et4x00)
MACHINES+=(hd500c)
MACHINES+=(hd1100)
MACHINES+=(lc)
MACHINES+=(sh1)

openplipc is my Virtual ubantu machine...you mean to say i cant run this on my PC ..Actually i am trying to run it on my ubantu machine whose name is "openplipc"


Edited by coolasim79, 26 September 2017 - 12:42.


Re: How to Start OpenPLi and its Development #11 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 26 September 2017 - 12:43

If you want to build an x86 version of enigma for use in a virtual machine, you need to correct recipes for that. They are not part of our OE build tree.


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: How to Start OpenPLi and its Development #12 coolasim79

  • Member
  • 13 posts

0
Neutral

Posted 26 September 2017 - 13:40

If you want to build an x86 version of enigma for use in a virtual machine, you need to correct recipes for that. They are not part of our OE build tree.

OK Thank you for your kind support . First i will try to build any set top box compatible release then i will get back to you guys for development and X86 version of Enigma for use in VM....Again So nice of you and thank you



Re: How to Start OpenPLi and its Development #13 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 26 September 2017 - 14:21

There is a thread in this forum dedicated to building EnigmaPC.  You might want to find information in there. I never built one, so I can't help you further.


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: How to Start OpenPLi and its Development #14 coolasim79

  • Member
  • 13 posts

0
Neutral

Posted 26 September 2017 - 14:50

i tried to make runable for VS1500 and after couple of hours it shows following warnings and error please suggest what to do

 

 

 

 

asim@openplipc:~/openpli-oe-core/build$ MACHINE=vs1500 bitbake openpli-enigma2-image

Loading cache: 100% |############################################| Time: 0:00:00

Loaded 3029 entries from dependency cache.

Parsing recipes: 100% |##########################################| Time: 0:01:11

Parsing of 2528 .bb files complete (2310 cached, 218 parsed). 3247 targets, 479 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

 

Build Configuration:

BB_VERSION = "1.32.0"

BUILD_SYS = "x86_64-linux"

NATIVELSBSTRING = "Ubuntu-16.04"

TARGET_SYS = "arm-oe-linux-gnueabi"

MACHINE = "vs1500"

DISTRO = "openpli"

DISTRO_VERSION = "homebuild"

TUNE_FEATURES = "arm armv7ve vfp neon vfpv4 callconvention-hard cortexa15"

TARGET_FPU = "hard"

meta-oe

meta-filesystems

meta-multimedia

meta-networking

meta-python = "HEAD:1efa5d623bc64659b57389e50be2568b1355d5f7"

meta = "HEAD:eb2fc2cd9081a4533ed30fe81c9f491b06cc5ae1"

meta-openpli

meta-dream = "develop:414b1b5b84cc2d77d13260d2a914b015faf134b8"

meta-vuplus = "HEAD:57ad940aa3b48931e6973273763ee526d352110a"

meta-xsarius.pli5 = "HEAD:c7e5b3b3d2ff1c698ae9e9466490a65085e88252"

meta-xp = "HEAD:dc30375655b0f1bcf68bb7c7d4a4b0e75563c06f"

meta-xtrend = "HEAD:1502e5d07a3e61001a89bbceeecd3e4a44d2bed8"

meta-formuler = "HEAD:8a604a73fbae8ca21d77b2a9a7e91b08e5893b30"

meta-gfutures = "HEAD:40e8e31e9c30de686ecadd6b0852f37a7510357d"

meta-xpeedc = "HEAD:f12908a5573de8a6a06ad9f75081846a590511c4"

meta-wetek = "HEAD:49f4e1e6fa429d4e4be11287c8740f54334a0e96"

meta-zgemma = "HEAD:ecf0c1ea2b3df08bb2a20c24758d22b88275b8a6"

meta-edision = "HEAD:bbfaa109192c3b7b71740f2b5aebc1455b981b9f"

meta-miraclebox = "HEAD:d44871d4d1f357d5b38488ed505b48fa8c8feff3"

meta-spycat = "HEAD:a19f11bbcdcad969e9f6f8d2c30df0653427d4cb"

meta-gi = "HEAD:c1675fe08b06e7f032164cebebcf4d827d025e54"

meta-sab = "HEAD:92262feb14e4005c8096150daac7313e9cb3d85a"

meta-gigablue = "HEAD:b7190cd57b623cdabbc71538323785ba2680e97c"

meta-local = "develop:414b1b5b84cc2d77d13260d2a914b015faf134b8"

meta-qt5 = "HEAD:8ba28144d5571504112fd4f32c7bfcbac531e2cb"

 

Initialising tasks: 100% |#######################################| Time: 0:00:07

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

WARNING: byacc-native-20160606-r0 do_fetch: Failed to fetch URL ftp://invisible-island.net/byacc/byacc-20160606.tgz, attempting MIRRORS if available

WARNING: libpng-native-1.6.24-r0 do_fetch: Failed to fetch URL http://distfiles.gen...g-1.6.24.tar.xz, attempting MIRRORS if available

WARNING: prelink-native-1.0+gitAUTOINC+ef20628dd7-r0 do_fetch: Failed to fetch URL git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink, attempting MIRRORS if available

ERROR: prelink-native-1.0+gitAUTOINC+ef20628dd7-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-rOWRWIU573"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/asim/openpli-oe-core/openembedded-core/scripts/native-intercept:/home/asim/openpli-oe-core/openembedded-core/scripts:/home/asim/openpli-oe-core/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/asim/openpli-oe-core/build/tmp/sysroots/x86_64-linux/usr/bin:/home/asim/openpli-oe-core/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/asim/openpli-oe-core/build/tmp/sysroots/x86_64-linux/usr/bin:/home/asim/openpli-oe-core/build/tmp/sysroots/x86_64-linux/sbin:/home/asim/openpli-oe-core/build/tmp/sysroots/x86_64-linux/bin:/home/asim/openpli-oe-core/openembedded-core/scripts:/home/asim/openpli-oe-core/bitbake/bin:/home/asim/openpli-oe-core/openembedded-core/scripts:/home/asim/openpli-oe-core/bitbake/bin:/home/asim/bin:/home/asim/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/asim"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.yoctoproject.org/prelink-cross.git /home/asim/openpli-oe-core/sources/git2/git.yoctoproject.org.prelink-cross.git --progress failed with exit code 128, output:

Cloning into bare repository '/home/asim/openpli-oe-core/sources/git2/git.yoctoproject.org.prelink-cross.git'...

fatal: unable to connect to git.yoctoproject.org:

git.yoctoproject.org: Temporary failure in name resolution

 

 

ERROR: prelink-native-1.0+gitAUTOINC+ef20628dd7-r0 do_fetch: Fetcher failure for URL: 'git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink'. Unable to fetch URL from any source.

ERROR: prelink-native-1.0+gitAUTOINC+ef20628dd7-r0 do_fetch: Function failed: base_do_fetch

ERROR: Logfile of failure stored in: /home/asim/openpli-oe-core/build/tmp/work/x86_64-linux/prelink-native/1.0+gitAUTOINC+ef20628dd7-r0/temp/log.do_fetch.124428

ERROR: Task (virtual:native:/home/asim/openpli-oe-core/openembedded-core/meta/recipes-devtools/prelink/prelink_git.bb:do_fetch) failed with exit code '1'

NOTE: Tasks Summary: Attempted 987 tasks of which 357 didn't need to be rerun and 1 failed.

NOTE: Writing buildhistory

 

Summary: 1 task failed:

virtual:native:/home/asim/openpli-oe-core/openembedded-core/meta/recipes-devtools/prelink/prelink_git.bb:do_fetch

Summary: There were 3 WARNING messages shown.

Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

asim@openplipc:~/openpli-oe-core/build$

 

 

 

Plz Suggest



Re: How to Start OpenPLi and its Development #15 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 26 September 2017 - 15:15

The only thing you can do is retry, sometimes external sources are unavailable for some reason.

 

In this case it says that "git.yoctoproject.org" can not be reached due to a name resolution issue. I have no problem here, so if this persists, check if you can access it from your machine.

 

p.s. currently sourceforge seems to be having issues with their git server, my builds here fail on accessing the minidlna git...


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: How to Start OpenPLi and its Development #16 coolasim79

  • Member
  • 13 posts

0
Neutral

Posted 27 September 2017 - 08:32

The only thing you can do is retry, sometimes external sources are unavailable for some reason.

 

In this case it says that "git.yoctoproject.org" can not be reached due to a name resolution issue. I have no problem here, so if this persists, check if you can access it from your machine.

 

p.s. currently sourceforge seems to be having issues with their git server, my builds here fail on accessing the minidlna git...

OK Thank you very much for helping



Re: How to Start OpenPLi and its Development #17 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 27 September 2017 - 08:38

In my opinion every git source except github sucks :D and as I don't like to wait I'll import others using https://github.com/new/import (requires registration) then I would change bitbake (.bb) files ;)


Open Vision sources: https://github.com/OpenVisionE2


Re: How to Start OpenPLi and its Development #18 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 27 September 2017 - 10:14

Even github is down every now and then. No service is up 100%, not even your own.

 

If would be better if bitbake would have the option to just use the local copy (if available) instead of producing a python crash and ruining the build.


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: How to Start OpenPLi and its Development #19 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 27 September 2017 - 11:02

If would be better if bitbake would have the option to just use the local copy (if available) instead of producing a python crash and ruining the build.

 

There is something like that already available. But I guess not exactly that what you want ;) :

 

 

BB_SRCREV_POLICY:

Defines the behavior of the fetcher when it interacts with source control systems and dynamic source revisions. The BB_SRCREV_POLICY variable is useful when working without a network.

The variable can be set using one of two policies:

  • cache - Retains the value the system obtained previously rather than querying the source control system each time.

  • clear - Queries the source controls system every time. With this policy, there is no cache. The "clear" policy is the default.

 


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: How to Start OpenPLi and its Development #20 WanWizard

  • PLi® Core member
  • 68,303 posts

+1,718
Excellent

Posted 27 September 2017 - 11:33

Nope, I was thinking about "cache-on-query-fail" ;)


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.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users