PDA

View Full Version : How to Create your own Dreambox Image



Snow
26-03-08, 23:40
am sa-l postez direct in engleza cum a fost scris.
With thanks and respect to Devilfish (http://www.eurocardsharing.com/member.php?u=12074)

How to build a complete image for your dreambox

Choosing your Platform

First of all, you will need a platform to create your image. There are many versions of linux that you can use, I have used VMWare with Ubuntu and also a dedicated linux PC running Ubuntu. Both variations will work just as well.

If you want to use VMWare, you can download it at http://www.vmware.com/download/player.

If you want to use a dedicated PC, either with Ubuntu as the main OS or as a dual-boot system, you can download Ubuntu for free at http://www.ubuntu.com.

The VMWare method is probably easier if you are trying it out for the first time. You can always uninstall it if it's not for you.

Configuring your Ubuntu

The following packages need to be installed in your ubuntu before you start creating any images.

Click on System, Administration, Synaptic Package Manager.

You will need to search for the following packages and install them:

- cvs
- autoconf
- automake
- libtool
- gettext
- make
- makeinfo (texinfo)
- tar
- bunzip2 (bzip2)
- gunzip (gzip)
- patch
- infocmp (ncurses-bin / ncurses-devel)
- gcc
- g++
- flex
- bison
- pkg-config
- wget
- libpng2 or libpng3 (DirectFB)
- ftpd (or other ftp server)

The latest versions of these packages should work ok. Click Apply to install them.

Compiling an Image

Now we'll move on to downloading and compiling our image. Most of this will be copy and paste but you'll get used to the commands.

Open a terminal window and paste the following commands:

Creating a working directory


mkdir tuxbox-cvsChange into the working directory


cd tuxbox-cvsThe following can now be copied and pasted in, line by line. Wait for the command prompt to be displayed before pasting the next line.


export CVS_RSH=ssh
cvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -P -rdreambox .### Note the dot at the end of the command, this is important ###


cd cdk
chmod 755 prepareNow we need to alter the 'prepare' file to personalise our image

Go to /tuxbox-cvs/cdk and open the 'prepare' file with the text editor. It should look like this:


#!/bin/bash
cd .. && CURRENT_PATH=`pwd`;
cd cdk
./autogen.sh;
# boxtype dm500 dm56x0 or dm7000
TYPE=$1
if test -z "$TYPE"; then
TYPE=dm7000 //change to box type
fi
./configure \
--with-boxtype=$TYPE \
--with-webif=standard \ //change to webif=expert
--prefix=$CURRENT_PATH/root \
--with-cvsdir=$CURRENT_PATH \
--with-cpu=405 \
--enable-maintainer-mode \
--with-targetruleset=flash \
--with-epg=private \
--with-mhw-epg=no \ //change to -epg=yes
--with-flashtool=standard \ //change to =expert
--with-reiserfs=no \ //change to -epg=yes
--with-ext-flashtool=yes \
--with-enigma-debug=yes
Change the lines in red. Save the file and return to the terminal window.

Back to the copy and pasting.


./prepare dm500
make checkout
make dreamboximage_rootThe last command will take a long time to complete, depending on the speed of your PC and internet; up to about 2 hours.

The following command creates the folders that you normally see on your box, i.e. /bin, /etc, /var, /var_init, etc.


make rebuild-flashThe following command compresses all your folders into an .img file.


make flash-compressIf all has gone ok and you didn't get any errors, you should have a file called complete.img in /tuxbox-cvs/root/cdkflash. This is your actual image file that you flash to your box. There will be two other .img files but don't worry about them.

Now this will be a basic image, no addons or emu managers or anything. It will be like the dream original image only up-to-date.

Next you need to modify it to your needs.

http://www.digital-kaos.co.uk/forums/forumdisplay.php?f=34 (http://www.digital-kaos.co.uk/)

maximuss
27-03-08, 18:29
Please translate this in romanian language . Engleza mea nu a mai fost actualizata si sa sters cred ( o parte ) .:sorry: :) :) :)

dragsat
28-03-08, 01:54
in cuvinte putine mai bine astepti imaginea facuta de profesionisti

Snow
28-03-08, 11:36
tipul de mai sus are si propria imagine facuta, daca intrati pe linkul de mai sus o veti gasi. partea proasta, am impresia ca pentru a o da jos, trebuie sa va inregistrati. cum am putin timp liber ma ocup si de traducere

zappa
28-03-08, 19:03
@snow...vezi ca imaginea de care spui e ptr dm500c si nu dm500s. Am instalat-o si nu intelegeam unde e lista cu sateliti si de ce mi se blocheaza cand incerc sa setez disecq. Asa ca nu e ptr noi acea imagine.

1Qggecko
02-04-08, 12:04
"c"-cable
"s"-satelites
Se folosesc in polonia si germnia la greu..."c"

prodigy
10-04-08, 08:55
@snow eu am facut ieri o imagine dupa modelul acela, luat de pe al site, dar este acelasi lucru.
In prima faza nu am scos nici nu am bagat nimic in imagine.Am lasat tot asa cum a venit de pe CVS.
S-a compilat cu succes tot ( au fost unele probleme legate de linkurile de download a anumitor pachete,dar le-am rezolvat)
In final s-a facut complete.img.
Inca nu am ajuns sa o si testez, dar urmeaza si am sa revin.
P.S. catre cei cunoscatori: as dori sa imi spuneti ce anume trebuie schimbat fata de o imagine facuta de profi eg. Satelites.xml, ca sa fie mai usor configurarea pentru cei care sunt incepatori, dupa ce scrii img in dream.
Bafta.

prodigy
12-04-08, 08:05
Revin.
Am testat imaginea facuta, totul este OK in afara faptului ca nu are Blue Panel in el.
Stie cineva cum se poate include dracia aceea? :agresiv:
:comp:

bibisor200
13-05-08, 20:54
Hm, tutorialul complet e facut de baciciosat:
xxx.sat-industry.net/forums/dreambox-development/30165-enigma1-bible.html
Si a fost facut prin 2006...

Snow
13-05-08, 23:26
tot ce se poate, eu l-am gasit postat de cel in cauza si cu permisiunea lui l-am pus si aici