Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12403 Members
237 Forums
7723 Topics
23804 Posts

Max Online: 4756 @ 02/20/20 11:12 PM
Newest Members
1966, Mekaho, djmed, kiki21, nobles
12403 Registered Users
Who's Online
11 registered (Admin, Toysoft, El gallego, bobot, raffsif1234, OMEGA, 1966, bitgames, Herrleon, d2mac, fabrizio77), 1204 Guests and 280 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9876
Toysoft 2634
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 18
dmr 8
Rtm79 4
Toysoft 3
Sasillo 3
March
M Tu W Th F Sa Su
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Topic Options
#326 - 11/17/14 10:17 PM OpenPli Ubuntu build howto : OpenPLi 4 and 3
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
OpenPli Ubuntu build howto : For Openpli 4

Openpli ubuntu build server setup quick howto

As getting a working setup took some trial and error, loads of googling, pli-wiki and pli-searching owh yeah and compiling a build takes some time.................................................

Might as well use it to do some howto work to help people out.
Please comment or feel free to commit useful stuff to the OpenPli Wiki
This howto describes howto quickly setup a ubuntu-12.04 and howto configure it to build OpenPLi images. This in NOT a howto about virtualisation or installing ubuntu-12.04 only brief remarks will be made about this. Goal is to do this with a minimal version of ubuntu-12.04 able to build a OpenPli image, also to check all necessary ubuntu-packages. Which could be useful to help create a single *.deb like package for an even faster setup working systems in the future.
Although it's written for Unbuntu, the same should apply for Debian distro's. Most information was found on the openpli.wiki and pli-forum This document only gathers the steps taken to successfully build an openpli-3,0 image.
This howto will not go in detail about installing Ubuntu your supposed to know how to do this. Although a short walk-true the setup process will follow. Preferred Ubuntu is installed on native hardware to speed up the build process, but it works just as well in a virtual environment if not in a hurry. Virtualbox + Extentions where installed on windows Xp or 7 x64 or 32 or writing this howto. Be sure to have sufficient disk-space, about 30 GB seems enough. If You build On other partition or external drive which is formatted with ext4 File system. If Your local drive or disk drive where You have the virtual disk is big enough and has enough free disk space, I suggest to use 80 GB. If You have the intention to build opepli images for several boxes, I advice to do this on external HD or another not used internal HD (an extra internal HD will give You better read/write performance then external especially for a big number of small files as access time is important there)


Let's start:

First thing needed is a download of the Ubuntu-12.04 iso image for your type of hardware or virtual environment.
Download ubuntu-12.04-desktop Lts On the site of ubuntu they recommend the 32 bit, I since more then 7 years use 64 bit Now the 64 bit is very good I advice to take 64 bit version.

NOTE UBUNTU 14.04

As far reported use the same procedures as with ubuntu 12.04 discribed here. Only the local apache has some differences See note by appache installation.
It is tested by me and is OK

EXTRA NOTES

bitbake not avbl download here BITBAKE-LINK-AMD64
Install bitbake with command ~$ sudo dpkg -i bitbake_1.12.0-1_all.deb

Here a new way off installing Thank's to Persian Prince works good with ubuntu 12.04-Lts x64
install it native or via wubi.exe inside windows (30 GB for wubi)

buy an external HDD with at least 500 GB of storage , format it ext4 (using GParted Partition Editor)
If You hardisk where the virtual disk containing the ubuntu is located was big enough and is formated at 80 GB You do not need an external one.

run terminal by pressing simultaneously Ctrl + Alt + T keys
In terminal type
~$ sudo apt-get update -y && sudo apt-get upgrade -y

In terminal type
~$ sudo apt-get install -y autoconf automake bison bzip2 cvs diffstat flex g++ gawk gcc gettext git-core gzip help2man ncurses-bin ncurses-dev libc6-dev libtool make texinfo patch perl pkg-config subversion tar texi2html wget zlib1g-dev chrpath libxml2-utils xsltproc libglib2.0-dev python-setuptools libc6-i386 genromfs guile-1.8-libs gparted bitbake quilt

For ubuntu 14,04 type
~$ sudo apt-get install -y autoconf automake bison bzip2 cvs diffstat flex g++ gawk gcc gettext git-core gzip help2man ncurses-bin ncurses-dev libc6-dev libtool make texinfo patch perl pkg-config subversion tar texi2html wget zlib1g-dev chrpath libxml2-utils xsltproc libglib2.0-dev python-setuptools libc6-i386 genromfs guile-1.8-libs gparted quilt

In terminal type
~$ sudo reboot


After reboot which was needed due to the update done. run terminal by pressing simultaneously Ctrl + Alt + T keys

In terminal type
~$ sudo gparted

And format the external or not used internal HD ext4 Give it a label ! Then it will be easy to find the path to your external drive as this will be standard mounted on map /media/label for an external drive . An internal drive (sata) will not be mounted automatically. But if it has a label, You can easely mount it by running nautilus from terminal (not as sudo) . If the HD does have a label it will be mounted to /media/label . When You click on it. If there is no label, It will be mounted to /media/uuid . Close nautilus.

In terminal type
~$ sudo nautilus

right click on the external hdd and choose "Properties" then from "Permissions" tab change "Folder access" to "Create and delete files" for your user or Just create a folder on the drive called openpli . Then right click that folder and change permissions folder acces . A good idea is to change the owner from root to your user id for that folder. Close nautilus.

If You are not using an other internal or external drive , just run nautilus and create a folder openpli in your home directory (right click).

In terminal type
~$ sudo dpkg-reconfigure dash

answer no
This concludes the basic preparation for ubuntu 12.04 , for those who are running ubuntu as primary ops system, all is same except that you do not need the virtual machine.


Install and Compile : Openpli 4.0

FIRST DO NEVER WORK AS ROOT USER !!
Building an image must be done as regular user.


Open terminal by pressing simultaneously Ctrl + Alt + T keys

The terminal opens normally in your home directory. If not you changed some things this can be seen by the

user@computername: ~$

First we create a folder where we will clone open pli by typing

~$ mkdir openpli40

you may give the name you want but this document will asume you used openpli40.

Go to the directory openpli30 by typing
~$ cd openpli40

Create sources directory
~/openpli40$ mkdir sources

(If you have no GIT, install it with command : sudo apt-get install git)

Clone openpli40 by typing
~/openpli40$
Code:
git clone git://git.code.sf.net/p/openpli/openpli-oe-core


(if Make is not installed, type command : sudo apt-get install make)

Clone git for all boxes
~/openpli40$ cd openpli-oe-core
then type
~/openpli40/openpli-oe-core$ make

Code:
Openembedded for the OpenPLi 4 environment has been initialized
properly. Now you can start building your image, by doing either:

 MACHINE=... make image

        or:

 cd /home/xxx/openpli40/openpli-oe-core/build
 source env.source
 MACHINE=... bitbake openpli-enigma2-image

        or, if you want to build not just the image, but the optional packages in the feed as well:

 MACHINE=... bitbake openpli-enigma2-feed


Change You sources directory location by editing the file site.conf located in
~/openpli40/openpli-oe-core directory.

DL_DIR = /home/<you're home dir>/openpli40/openpli-oe-core/sources
in to
DL_DIR = /home/<you're home dir>/openpli40/sources


By doing this you will be able to erase the full openpli-oe-core to make a fresh build without loosing you're obtained sources.

If You wan't to keep your work directory's after build place an # in front off line INHERIT += "rm_work" (change line INHERIT += "rm_work" into #INHERIT += "rm_work")
If You later on you wan't to use you're own pc as update location for you're box , ad a line into site.conf DISTRO_FEED_URI = � http:://<You're pc ip >/feeds/${FEED_NAME}/${MACHINE}�

(You could have to install some more packages, sudo apt-get install gcc g++ diffstat gawk chrpath texinfo)

Now just type ~/openpli40/openpli-oe-core$ MACHINE=xxxxx make image

(where xxx is you're machine example dm8000 or vuduo2)
available machines are : dm8000 vuduo vuduo2 dm500hd dm800se dm7020hd et4x00 et5x00 et6x00 et9x00 vusolo vusolo2 vuultimo vuuno xp1000



When You follow this You will have a complete image build. Depending on the pc it may take from 55 minutes up to 2 hours and more.

Next is the feeds build.

After You're image is build , You can build the feeds. Extra program's like softcam, extra plugins and so on.
Just type
~/openpli40/openpli-oe-core$ cd build

Type
~/openpli40/openpli-oe-core/build$ source env.source

Type
~/openpli40/openpli-oe-core/build$ MACHINE=xxxxxx bitbake openpli-enigma2-feed

build off feeds takes about 25 minutes up to xx hours depending on pc.

That's ALL

If You wan't I hereby added a script to make life even easier.
Just make youre openpli dir into you're home directory I named it openpli40.

Download this script and extract into you're pli directory
run the script out of you're pli directory by typing

~/openpli40$ sh clonepli40.sh


Installing Appache http server and link to the openpli feeds.
First we install apache2 webserver in terminal type

~$ sudo apt-get install apache2

Now we create the needed directory's.
Open new terminal and type

~$ sudo -i login with pasword you give up on ubuntu installation.

Go to the /var/www directory and create the needed directory�s as root. Then create the links

example based on dm8000

~# cd /var/www
/var/www# mkdir feeds ;
cd feeds ;
mkdir openpli-4 ;
cd openpli-4 ;
mkdir dm8000 ;
cd dm8000

the directory's are made and you are in the last one. We will continue with creation of links.

in /var/www/feeds/openpli-4/dm8000#

ln -s ~/openpli40/openpli-oe-core/build/tmp/deploy/ipk/all all ;

ln -s ~/openpli40/openpli-oe-core/tmp/deploy/ipk/mipsel32el mipsel32el ;

ln -s ~/openpli40/openpli-oe-core/build/tmp/deploy/ipk/dm8000 dm8000

The command above will not work correctly as you are working as root and the home directory of root is /root this mean that we for this face will need to use the full path instead off ~/ or /media/label in case You use of another HD
as example by me it is:

in /var/www/feeds/openpli-4/dm8000#

ln -s /home/christophe/openpli40/openpli-oe-core/build/tmp/deploy/ipk/dm8000 dm8000 ;

ln -s /home/christophe/openpli40/openpli-oe-core/build/tmp/deploy/ipk/all all ;

ln -s /home/christophe/openpli40/openpli-oe-core/tmp/deploy/ipk/mipsel32el mipsel32el

if You are using an external or other internal HD it will look like :

in /var/www/feeds/openpl-i4/dm8000#

ln -s /media/label/openpli40/openpli-oe-core/build/tmp/deploy/ipk/dm8000 dm8000 ;

ln -s /media/label/openpli40/openpli-oe-core/build/tmp/deploy/ipk/all all ;

ln -s /media/label/openpli40/openpli-oe-core/tmp/deploy/ipk/mipsel32el mipsel32el

close terminal


NOTE UBUNTU 14.04 !!!!

The basic links to web are changed from /var/www to /var/www/html .

Bitbake not avbl in ubuntu 14,04 fetch the link here BITBAKE-LINK-AMD64

Type in terminal the following dependences same like 12,04 whitout bitbake

sudo apt-get install -y autoconf automake bison bzip2 cvs diffstat flex g++ gawk gcc gettext git-core gzip help2man ncurses-bin ncurses-dev libc6-dev libtool make texinfo patch perl pkg-config subversion tar texi2html wget zlib1g-dev chrpath libxml2-utils xsltproc libglib2.0-dev python-setuptools libc6-i386 genromfs guile-1.8-libs gparted quilt

install this package with sudo dpkg -i
bitbake_1.12.0-1_all.deb

When building fails

My latest build on dm8000 did not failed. When I just added the needed sources.

Just restart the build by :
latest build on ubuntu 12.04 x86-64 full up to date no failures .

In case of failure just retry the build a second time
If building fails again You should have the failed package Try to remove this by using

~/openpli40/openpli-oe-core/build$ source env.source

~/openpli40/openpli-oe-core/build$ MACHINE=xxxxx bitbake -b

~/<path to package>/<package.bb> -f -c cleanall and rebuild

it might be ok

If it was due to a failed download, first remove package with command as described above. Try to find that package googling around. Place it into sources and create a .done file
.done file is just empty text file with compleet package source name and a .done in the name.

Try to build again. If the source is correct it should work now. Unless it was a git or svn.

-----------------------------------

For OpenPli 3 :

1. Install as Root the prerequisites (sudo or su -)

apt-get install gawk wget git-core cvs subversion diffstat unzip texinfo gcc-multilib build-essential chrpath


2. Clone OpenPLi OE

cd ~

Code:
git clone -b openpli-3 git://git.code.sf.net/p/openpli/openpli-oe-core openpli3


cd openpli3

3. First run make to download OE subprojects

cd ~/openpli3

make


4. Check site.conf (eg modify sources dir)

vi site.conf

5. Make image...

cd ~/openpli3

MACHINE=XXX make image


Code:
make[1]: Leaving directory `/home/xxx/openpli3/'
Generating /home/xxx/openpli3/build-et9x00/env.source
Generating /home/xxx/openpli3/build-et9x00/conf/openpli.conf
Generating /home/xxx/openpli3/build-et9x00/conf/bblayers.conf
Generating /home/xxx/openpli3/build-et9x00/conf/local.conf


Code:
Openembedded for the OpenPLi 3.0 environment has been initialized
properly. Now you can start building your image, by doing either:

 MACHINE=et9x00 make image

        or:

 cd /home/xxx/openpli3/build-et9x00 ; source env.source ; bitbake openpli-enigma2-image

        or, if you want to build not just the image, but the optional packages in the feed as well:

 cd /home/xxx/openpli3/build-et9x00 ; source env.source ; bitbake openpli-enigma2-feed
_________________________

Top
#1857 - 06/24/15 09:48 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
OurDreambox Offline
Japhar Member
stranger

Registered: 10/19/10
Posts: 5
To build the new openblackhole 0.1 GIT,

git clone http://git.vuplus-community.net/git/openblackhole//openblackhole-oe-core.git
and
git clone http://git.vuplus-community.net/git/openblackhole//openblackhole-enigma2.git
or
git clone https://github.com/OpenBlackHole/openblackhole-oe-core.git
and
git clone https://github.com/OpenBlackHole/openblackhole-enigma2.git

Code:
make[1]: Leaving directory `/home/xxx/openblackhole/openblackhole-oe-core'
Generating /home/xxx/openblackhole/openblackhole-oe-core/build/env.source
Generating /home/xxx/openblackhole/openblackhole-oe-core/build/conf/openpli.conf
Generating /home/xxx/openblackhole/openblackhole-oe-core/build/conf/bblayers.conf
Generating /home/xxx/openblackhole/openblackhole-oe-core/build/conf/local.conf


Code:
Openembedded for the OpenPLi 4 environment has been initialized
properly. Now you can start building your image, by doing either:

 MACHINE=... make image

        or:

 cd /home/xxx/openblackhole/openblackhole-oe-core/build
 source env.source
 MACHINE=... bitbake openblackhole-image

        or, if you want to build not just the image, but the optional packages in the feed as well:

 MACHINE=... bitbake openblackhole-feed


https://github.com/PLi-metas
_________________________

Top
#9100 - 07/25/16 02:18 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
wilsonyu78 Offline
stranger

Registered: 02/21/16
Posts: 9
Is this build for original DM or clone DM?thanks.

Top
#9102 - 07/25/16 06:22 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Originals, but Clone images are built in the same way with some twists in the middle (changing some of the rules) to have the right modification/software for clones,

Admin
_________________________

Top
#9106 - 07/26/16 08:22 AM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
wilsonyu78 Offline
stranger

Registered: 02/21/16
Posts: 9
Thanks your reply. would you please teach us how to modify the files or post a guide to build clone image?

I built an original image base on intruduction of OpenPLi Forum.but i don't know how to modify them to fit in clone DM.

Top
#9107 - 07/26/16 11:27 AM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Dear Wilsonyu,

It took more than 6 months to MastaG to do all the modifications and fixes for his current images, so it's really a difficult task and job... and I am personally not able to help on it due to it's very complicated technical level.

The patching of a VU+ or DM image will be very different as the security features against Clones are radically different between these 2 hardware.

The patching of the image is dependent of the box itself (model of box) and the sim in use in the box, as well as there could be differences between the releases as at the beggining it was easy as a swap of the SSL was enough, then modification of various files inside the image was necessary and today's patching is even more difficult as a big part of the main files and kernels need to be modified.

You have a start of this "job" of patching here on the topic you can find a little below this topic, http://www.ourdreambox.com/ubbthreads.php?ubb=showflat&Number=59#Post59

Admin
_________________________

Top
#9108 - 07/26/16 01:49 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
wilsonyu78 Offline
stranger

Registered: 02/21/16
Posts: 9
Dear Admin,

In fact. I only want to compile Enigma2 of OpenPLi4,then add the Chinese decode. would you have the decompilation tools.thanks.

Top
#9109 - 07/26/16 04:08 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
I will forward your message to MastaG, so he can give some tips about it,

Admin
_________________________

Top
#9113 - 07/26/16 08:07 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
wilsonyu78 Offline
stranger

Registered: 02/21/16
Posts: 9
Dear Admin,

Thank you very much. I except the good news.

Top
#9142 - 07/29/16 03:14 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: wilsonyu78]
wilsonyu78 Offline
stranger

Registered: 02/21/16
Posts: 9
Sorry. type error.


Thank you very much. i very expect your good news.

Top
#9144 - 07/29/16 05:02 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
MastaG got the message and he is studying the question,

Hope we can get good news soon !

Admin
_________________________

Top
#9331 - 08/13/16 02:02 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
wilsonyu78 Offline
stranger

Registered: 02/21/16
Posts: 9
any update?

Top
#9335 - 08/13/16 04:06 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Yes, I chatted with him and he is studying the question of Chinese in the image.

Admin
_________________________

Top
#9373 - 08/15/16 02:44 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
wilsonyu78 Offline
stranger

Registered: 02/21/16
Posts: 9
Hi Admin,

I can offer the Chinese package. MastaG can use it to compile. but the attachment cannot be uploaded.

Top
#9374 - 08/15/16 03:57 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
You can use the attachment, when you write the post you have the "Switch to Full Reply Screen", with that enabled you have the upload attachment available. You can also use MEGA and publish the link in your post as well.

I will then forward the infos to MastaG so he can have it.

Thank you !

Admin
_________________________

Top
#9379 - 08/15/16 09:09 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
wilsonyu78 Offline
stranger

Registered: 02/21/16
Posts: 9
The .mo file is older.but it can use.


Attachments
enigma2_patch.rar (16 downloads)


Top
#9380 - 08/16/16 12:00 AM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: wilsonyu78]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9876
Thank you, we will advise MastaG,

Admin

Originally Posted By: wilsonyu78
The .mo file is older.but it can use.
_________________________

Top
#9525 - 08/31/16 06:44 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
wilsonyu78 Offline
stranger

Registered: 02/21/16
Posts: 9
Hi Admin,

as I know that the official enigma2 was supported Chinese.dose the clone enigma2 ready?

Top
#9528 - 08/31/16 11:37 PM Re: OpenPli Ubuntu build howto : OpenPLi 4 and 3 [Re: Admin]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/22/10
Posts: 2634
The sources used are the original ones, so if the sources support it, it should work, if it doesn't, then it means the sources doesn't support it.

Try an original image on an original box... and you will know,

http://www.openpli.org/

TS
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/

Top



Moderator:  Admin, Champtheone, john.does.great 
New Topics
ERROR after flashing OpenPLi 8.X star 20230624
by Sasillo
03/25/24 06:27 PM
Fatal: Target device '/dev/dreambox-rootf
s' is not

by Admin
03/22/24 02:45 PM
EchoStar wins DoD extensions for private 5G
by Admin
03/19/24 02:56 PM
DM900 red light
by slavekpl
03/17/24 03:42 PM
openpli-enigma2-8xst
ar-dm820 epgimport not install

by dmr
03/13/24 09:09 AM
openpli-20240306-GCC
-13.2-dm820

by dmr
03/12/24 01:01 PM
Build your own OSCam... Ubuntu 18 and 22 svn11737
by Admin
03/04/24 10:37 PM
EchoStar bleeds Boost Mobile subscribers
by Admin
03/04/24 04:35 PM
Old DM800HDpvr
by Rtm79
03/03/24 06:32 PM
Saluti
by Rtm79
03/03/24 06:19 PM
DM7020HD : OpenPLi 8.xStar 20240303 GSt 1.20.5
by Admin
03/03/24 12:57 PM
DM7020HD : OpenPLi 8.xStar 20240303 GSt 1.20.5
by Admin
03/03/24 12:57 PM