Go Back   Eurocardsharing > Sharing receivers > DreamBox > Tutorials

Tutorials Discussion, How to Create your own Dreambox Image at DreamBox forum; How to build a complete image for your dreambox Choosing your Platform First of all, you will need a platform ...

LinkBack Thread Tools Display Modes
How to Create your own Dreambox Image
Junior Member
Devilfish's Avatar
Posts: 9

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 21
Magic: 3 / 722
Experience: 86%

Thanks: 5
Thanked 7 Times in 2 Posts
Join Date: Jun 2007
How to Create your own Dreambox Image - 20-March-2008, 00:22

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

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

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-cvs

Change into the working directory

cd tuxbox-cvs
The 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 [email protected]:/cvs/tuxbox -z3 co -P -rdreambox .
### Note the dot at the end of the command, this is important ###

cd cdk
chmod 755 prepare
Now 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:

cd .. && CURRENT_PATH=`pwd`;
cd cdk
# boxtype dm500 dm56x0 or dm7000
if test -z "$TYPE"; then
    TYPE=dm7000                   //change to box type
./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 \
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_root

The 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-flash
The following command compresses all your folders into an .img file.

make flash-compress
If 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.

Good luck!

Last edited by Devilfish; 25-March-2008 at 13:28..
Reply With Quote
The Following 3 Users Say Thank You to Devilfish For This Useful Post:
Heartq8 (20-March-2008), kapzas (20-March-2008), snowshare (26-March-2008)
Junior Member
wiltzer's Avatar
Posts: 18

Level: 2 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 49
Magic: 6 / 1599
Experience: 97%

Thanks: 26
Thanked 4 Times in 3 Posts
Join Date: Sep 2007
16-June-2008, 09:50

You should atleast show us the pictures of your designed image.

Relook HD5000+ (Twin Tuner) and DM800 HD in stock... .
Reply With Quote
Sponsored Links
Banned as Payserver
skander2003's Avatar
Posts: 3

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 2
Magic: 1 / 60
Experience: 10%

Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2011
25-July-2011, 14:26

hi when i execute the commande
make dreamboximage_root
it takes some minute then i have this message error

In file included from gpixmap.cpp:4:
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1583: error: declaration of C function `off_t gzseek64(void*, off_t, int)' conflicts with
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1567: error: previous declaration `off64_t gzseek64(void*, off64_t, int)' here
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1584: error: declaration of C function `off_t gztell64(void*)' conflicts with
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1568: error: previous declaration `off64_t gztell64(void*)' here
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1585: error: declaration of C function `off_t gzoffset64(void*)' conflicts with
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1569: error: previous declaration `off64_t gzoffset64(void*)' here
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1586: error: declaration of C function `uLong adler32_combine64(uLong, uLong, off_t)' conflicts with
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1570: error: previous declaration `uLong adler32_combine64(uLong, uLong, off64_t)' here
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1587: error: declaration of C function `uLong crc32_combine64(uLong, uLong, off_t)' conflicts with
/root/cdk/bin/../lib/gcc/powerpc-tuxbox-linux-gnu/3.4.4/../../../../powerpc-tuxbox-linux-gnu/include/zlib.h:1571: error: previous declaration `uLong crc32_combine64(uLong, uLong, off64_t)' here
make[4]: *** [gpixmap.o] Error 1
make[4]: Leaving directory `/apps/tuxbox/enigma/lib/gdi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/apps/tuxbox/enigma/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/apps/tuxbox/enigma'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/apps/tuxbox/enigma'
make: *** [.enigma] Error 2

pls can u help me
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

ECS on RSS ECS on Twitter ECS on Facebook ECS on Youtube
Follow us on:

Powered by vBulletin
Copyright 2002 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.