So, to sum up, is this procedure considered safe for DM500 clones?
Guide: How to Create a DM500 Dreambox Image
Collapse
This is a sticky topic.
X
X
-
-
-
yes that was the question..
CCca starts and connects but nothing after this .. I can browse to the HTTP Interface but no active decryptionComment
-
Hi' GuysHow 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 Ubuntu Home Page | Ubuntu.
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.
There is a pre-configured environment that you can download from here:
If you have installed the necessary packages, you don't need to download the pre-configured environment.Code:[url=http://rapidshare.com/files/19433800/dw_school-dream-dream.part01.rar.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url] [url=http://rapidshare.com/files/19438947/dw_school-dream-dream.part02.rar.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url] [url=http://rapidshare.com/files/19443643/dw_school-dream-dream.part03.rar.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url] [url=http://rapidshare.com/files/19447782/dw_school-dream-dream.part04.rar.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url] [url=http://rapidshare.com/files/19451240/dw_school-dream-dream.part05.rar.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url] [url=http://rapidshare.com/files/19454408/dw_school-dream-dream.part06.rar.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url] [url=http://rapidshare.com/files/19457852/dw_school-dream-dream.part07.rar.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url] [url=http://rapidshare.com/files/19460565/dw_school-dream-dream.part08.rar.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url] [url=http://rapidshare.com/files/19462848/dw_school-dream-dream.part09.rar.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting[/url]
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
Change into the working directoryCode:mkdir 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.Code:cd tuxbox-cvs
Code:export CVS_RSH=ssh
### Note the dot at the end of the command, this is important ###Code:cvs -d [email protected]:/cvs/tuxbox -z3 co -P -rdreambox .
Code:cd cdk
Now we need to alter the 'prepare' file to personalise our imageCode:chmod 755 prepare
Go to /tuxbox-cvs/cdk and open the 'prepare' file with the text editor. It should look like this:
Change the lines in red. Save the file and return to the terminal window.Code:#!/bin/bash cd .. && CURRENT_PATH=`pwd`; cd cdk ./autogen.sh; # boxtype dm500 dm56x0 or dm7000 TYPE=$1 if test -z "$TYPE"; then TYPE=dm7000 [COLOR=Red]//change to box type[/COLOR] fi ./configure \ --with-boxtype=$TYPE \ --with-webif=standard \ [COLOR=Red]//change to webif=expert[/COLOR] --prefix=$CURRENT_PATH/root \ --with-cvsdir=$CURRENT_PATH \ --with-cpu=405 \ --enable-maintainer-mode \ --with-targetruleset=flash \ --with-epg=private \ [COLOR=Red]//change to -epg=standard[/COLOR] --with-mhw-epg=no \ [COLOR=Red]//change to -epg=yes[/COLOR] --with-flashtool=standard \ --with-reiserfs=no \ --with-ext-flashtool=yes \ --with-enigma-debug=yes
Back to the copy and pasting.
Code:./prepare dm500
Code:make checkout
The last command will take a long time to complete, depending on the speed of your PC and internet; up to about 2 hours.Code:make dreamboximage_root

The following command creates the folders that you normally see on your box, i.e. /bin, /etc, /var, /var_init, etc.
The following command compresses all your folders into an .img file.Code:make rebuild-flash
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.Code:make flash-compress

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!
My make dreamboximage ends with this:
bunzip2: Can't open input file Archive/freetype-2.0.9.tar.bz2: No such file or directory.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make: *** [.libfreetype] Error 2
Any ideas?
Kind regardsComment
-
Hi
I get same error
bunzip2: Can't open input file Archive/freetype-2.0.9.tar.bz2: No such file or directory.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make: *** [.libfreetype] Error 2
how i can fix this
?Comment
-
Thanks a lot Respected Devilfish ....
i'm facing this problem when i use " make dreamboximage_root"
Makefile:891: *** unterminated variable reference. Stop.
help me about this problem to resolve and kindly tell me when we successfull to make complete.img; what is the size of complete.img file thanks. waiting your quick response thanksComment
-
PLi (One of the leading Software/Firmware teams) went open-source in AUG09 so you can also compile this as well for your C-T-S E1 (CDK & OE) & E2 boxes, but be aware for all other boxes other than the CDK boxes (DM500, 56x0,7000) have the DM drivers in the repo (so clones will not work unless you add your own bootloaders for the OE E1/E2 boxes).
The how to's are here; DevelopmentEnvironment ? OpenPLi, PLi's Public Repository
The main Open-Source page is here; OpenPLi, PLi's Public Repository
Good luck and keep up the good work chaps.It is a hobby so mileage may varyComment
Comment