About OpenPLi-2.1-beta-dm800-20111107 by gjstroom

IAmATeaf

Registered
Messages
31
I only ask to learn and I've got an Ubuntu laptop ... so I need to find a tutorial and to be a little patient to understand how complex it is ;)...

or ... I waiting for a gjstroom update on DM800 images :D

gj has updated the image, I think there is 1 dated 22112011.
 

cokesux

Registered
Messages
190
I only ask to learn and I've got an Ubuntu laptop ... so I need to find a tutorial and to be a little patient to understand how complex it is ;)...

Short answer... Create a directory where you want to keep all your OpenPLi image building "goodies". Download the latest Makefile to that directory, something like:

Code:
cd /directory/you/chose

wget http://openpli.svn.sourceforge.net/viewvc/openpli/trunk/pli-oe/Makefile-2.1
Edit the makefile for the proper model, changing line:
Code:
MACHINE ?= et9000
to
Code:
MACHINE ?= dm800
or whatever model you're attempting to build. Then run:
Code:
make -f Makefile-2.1
then
Code:
make -f Makefile-2.1 image
Most of the work is done for you, downloading and compiling the sourcecode to build the tools required to build the image, then build the image. Along the way, expect some of the required files to not be found, it happens frequently as server are up, down, moved... Search the openpli website and chances are others experienced the same errors and the required files were probably posted there also...

I also stumbled across an OpenPli Ubuntu build howto @ users.telenet.be/spstefansp/openpliubuntu.html . It's a bit outdated, but not that much, just remember to use the newer makefile listed above...

Or it's too damn complicated... ;)

--
 

skabill2000

Registered
Messages
32
Thank you cokesux ... I found a tutorial that seems to be similar as yours.

... at which step could you remove the ipv6 support from the kernel ?

How to build OpenPLi image

'' How to build OpenPLi software for a DM500+, DM500HD, DM600, DM7020, DM7025, DM800 and the DM8000

In short you will require some flavour of Linux installed on your PC to do this task.
This Howto uses the Linux Ubuntu Distribution and refers to making the DM8000 software.

Where to start.
Before you start making anything you may need to install the applications you need to start compiling via the Synaptic Package Manager. Click on System, Administration, Synaptic Package Manager. The set up does not take that long but depends on the speed of your internet connection.

What to install on Ubuntu:

You will need to search for the following packages and click on them and select install..

- autoconf
- automake
- bison
- bunzip2 (bzip2)
- cvs
- diffstat
- flex
- g++
- gawk
- gcc
- gettext
- git (or git-core on ubuntu)
- gunzip (gzip)
- help2man
- infocmp (ncurses-bin / ncurses-devel)
- libc6-dev
- libtool
- make
- makeinfo (texinfo)
- patch
- perl
- pkg-config
- svn or subversion-tools
- tar
- texi2html
- wget
- zlib1g-dev


Setup your build workdir

mkdir openpli cd openpli

download the wrapper makefile:

http://openpli.svn.sourceforge.net/viewvc/openpli/trunk/pli-oe/Makefile-2.1

wget http://openpli.svn.sourceforge.net/viewvc/openpli/trunk/pli-oe/Makefile-2.1

edit the MACHINE entry at the top of the makefile to match you (or use a MACHINE environment variable)

#!/usr/bin/make -f # target platform: dm500plus, dm600pvr, dm7020, dm7025, dm800, dm8000
MACHINE &= dm800
BUILDDIR = build-${MACHINE}

Setup your build environment

Issue the make command:

make

Now your build environment has been prepared.

You can put multiple environments for different box types into the same directory,
just edit MACHINE again, and run after you build your first one.

Start the build

make image

or

cd build-dm8000 source env.source bitbake dreambox-image

Please be patient as this takes a while...
Also be aware during the first build you maybe requested to accept SSH keys - please type YES when prompted.

Keep the build uptodate

just repeat

make image

or

make openembedded-update cd build-dm800 source env.source bitbake dreambox-image

Where is the finished build?

Your newly built image is stored as:

build-<boxtype>/tmp/deploy/images/*.nfi

Observations & notes
1. This may be obvious to many, but stop any torrents, voip, online games, streaming or big downloads during the build as you will need all the internet speed you can get.
2. This maybe more obvious to many, but just run the build during this period, as your PC will need every ounce of CPU processor power it can get.The faster the CPU the faster the build. An Intel M series CPU is not a good idea for a fast build, as an Intel P4 dual core for instance is 12 times faster.
3. So in other words, please be patient during this build

see also openpli.pli-images.org/
 

cokesux

Registered
Messages
190
Worry about that after you can successfully build a working image... ;)

--

Ps. It was discussed a lil earlier in this thread, starting around post #25.
 

skabill2000

Registered
Messages
32
Worry about that after you can successfully build a working image... ;)

--

Ps. It was discussed a lil earlier in this thread, starting around post #25.

I'm really a noob with Ubuntu ... :mecry:

So I installed a virtualbox ubuntu 10.04 ... done all updates ... installed all packages (autoconf, automake, ...) ...

Then I followed your steps

Code:
cd /directory/you/chose

wget http://openpli.svn.sourceforge.net/viewvc/openpli/trunk/pli-oe/Makefile-2.1
:thum:

Code:
Edit the makefile for the proper model, changing line:
Code:

MACHINE ?= et9000

to
Code:

MACHINE ?= dm800
:thum:


Code:
make -f Makefile-2.1
:thum:


... but at the end of the last command
Code:
make -f Makefile-2.1 image

I received this message and no *.nfi file created

WARNING: No bb files matched BBFILE_PATTERN_overlay '/openpli/local'
ERROR: Openembedded'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:

Do not use Bitbake as root.
ERROR: Command execution failed: Exited with 1
make: *** [image] Error 1

:confused: I think it's due to a permission problem, isn't it ? ;)

EDIT : I try now under an user profile and no under the root profile ... seems to work now
 
Last edited:

skabill2000

Registered
Messages
32
EDIT : I try now under an user profile and no under the root profile ... seems to work now

During the <make -f Makefile-2.1 image> step I meet many source ERROR

Code:
http://sources.openembedded.org/binutils-2.21.tar.bz2
HTTP request sent, awaiting response... 404 Not Found

Code:
ftp://ftp.gnu.org/gnu/binutils/binutils-2.21.tar.bz2
NOTE: package binutils-cross-2.21-r13.3: task Fetch failed: Unable to fetch from any source.: Failed

And at the end the make: *** [image] Erreur 1 :mecry:
 

pattaya

Registered
Messages
9
download the missing files from elsewhere

search google for binutils-2.21.tar.bz2 download it
and put it in sources and re-run makefile
 

skabill2000

Registered
Messages
32
Disable the ipv6/ip6

openembedded/recipes/linux/linux-dm800-2.6.18/defconfig

Disable the ipv6/ip6 related options.

--

At the headblock of the defconfig file there's this information

"# Automatically generated make config: don't edit"

So how Disable the ipv6/ip6 related options in this file ?
 

cokesux

Registered
Messages
190
I'll give you permission to edit it, if that's what you need...

Hint: most of the options contain "ipv6", but there's also one that just uses "ip6".

--

Ps. Were you able to build a complete image/nfi already?
 

skabill2000

Registered
Messages
32
Ps. Were you able to build a complete image/nfi already?

NO ... I received several error of dead links, as for example git-1.7.3.5.tar.bz2, so I do some wget to complete my source folder. ;)


but there's also one that just uses "ip6"
... do you know which one ?

Thanks

EDIT .... :rolleyes: ... there's anly one ip6 line in the defconfig ... :D
 
Last edited:

pattaya

Registered
Messages
9
as cokesux has already suggested
id build an image completely first before making any modifications


modifications are no use if you cannot build the image.



any files it wont download, just search for them in google.
you'll get there.
 

BM300

Super VIP
Messages
886
Hello Friends,
Thanks for this excellent tread.

While you are at it it would be nice to the following features added:
* Unwanted/locked Channels hidden when parental protection activated.
* Setup menu locked (including Factory reset)when this option is activated in parental control.
* New found channels marking shows up.
* Have the option to edit/delete existing satellite transponder or add new one using remote control.

I am sure that there are many other points that will be requested by other friends.

 
Last edited:

chab7

Registered
Messages
131

* New found channels marking shows up.
* Have the option to edit/delete existing satellite transponder or add new one using remote control.

I am sure that there are many other points that will be requested by other friends.


Yes, these two is required from me too.;)
Enigma1 has the new found channels marking. I was angry when I saw first time on enigma2 this feature missed.
Sat TP data edit and add function the same.

I am glad you mentioned these missing.
But I think unfortunately enigma2 basicly lacks these. Developers, please develop enigma2 at least to that level as enigma1 is. THx
 

BM300

Super VIP
Messages
886
Yes, these two is required from me too.;)
Enigma1 has the new found channels marking. I was angry when I saw first time on enigma2 this feature missed.
Sat TP data edit and add function the same.

I am glad you mentioned these missing.
But I think unfortunately enigma2 basicly lacks these. Developers, please develop enigma2 at least to that level as enigma1 is. THx

I am glad that you agree my friend.
Unfortunately the developers of Enigma2 have chosen to ignore many practical features which were present in Enigma1 images.
Instead they concentrated on the visual features to give a good appearance.
Enigma2 developers made a beautiful house on the outside with a lot of empty rooms inside!
 

skabill2000

Registered
Messages
32
I've just done my first OpenPLi .nfi image with my Ubuntu 11.10 ...

I can now think to do any modifications ... but which ones ?? :D
 

cokesux

Registered
Messages
190
I've just done my first OpenPLi .nfi image with my Ubuntu 11.10 ...

I can now think to do any modifications ... but which ones ?? :D
I'll guess you want to disable ip6 & ipv6 options in the kernel's defconfig, then rebuild the kernel & image... If you want your image to run on a clone... IIRC...

/path/to/your/build/openembedded/recipes/linux/linux-dm800-2.6.18/defconfig


CONFIG_IPV6=n type options, CONFIG_INET6_ type options =n, & CONFIG_IP6_NF_QUEUE=n

cd to your build-dm800 directory:
source ./env.source
/path/to/your/bitbake/bin/bitbake -cclean linux-dm800-2.6.18-r6+git3+ac6cc9511a5f70eaa584c63fc5c3de33cae1d0e7.1
/path/to/your/bitbake/bin/bitbake linux-dm800-2.6.18-r6+git3+ac6cc9511a5f70eaa584c63fc5c3de33cae1d0e7.1

... then make image as normal...


--
 

cokesux

Registered
Messages
190
Can anyone explain how to use new drivers and ssl84B with OpenPli?

Copy the last (sept. 11 iirc) drivers to /lib/modules/2.6.18-7.4-dm800/extra & flash the new SSL. Note that OpenPLi normally uses the previous sept. 2 drivers, but ssl84b & 9/11 drivers work fine for me & others, I just don't know if they're actually "needed" w/ PLi...

--
 

skabill2000

Registered
Messages
32
Thank you cokesux ...

I've done a .nfi without IPV6 ... after that I flashed my DM800 clone with it and before REBOOT I flashed with SSL84B ...

After REBOOT ... I got a black screen and when I go to Tuner Configuration, there is two empty TUNER (A and B)

It's not so easy to patch an .nfi to be used in a clone DM800 ;)
 
Top