Author Topic: How to build a complete image for your dreambox  (Read 6843 times)

0 Members and 1 Guest are viewing this topic.

Offline darktemplar

  • Master
  • ********
  • Posts: 5027
  • Location: depok - Jakarta PP
  • Date Registered: September 20, 2007, 01:23:26 pm
  • Reputasi : 383
How to build a complete image for your dreambox
« on: July 03, 2009, 11:57:47 am »
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
Code:

mkdir tuxbox-cvs

Change into the working directory
Code:

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.

Code:

export CVS_RSH=ssh

Code:

cvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -P -rdreambox .

### Note the dot at the end of the command, this is important ###

Code:

cd cdk

Code:

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:

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                   //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 \          //change to -epg=standard
    --with-mhw-epg=no \           //change to -epg=yes
    --with-flashtool=standard \
    --with-reiserfs=no \
    --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.

Code:

./prepare dm500

Code:

make checkout

Code:

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.
Code:

make rebuild-flash

The following command compresses all your folders into an .img file.
Code:

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


sudah saya test didebian, masih ada error  :

upgrade.cpp:769: error: `meminfo' undeclared (first use this function)
upgrade.cpp:775: error: request for member `length' in `erase', which is of non-class type `bool ()(char*, const char*)'
upgrade.cpp:776: error: request for member `start' in `erase', which is of non-class type `bool ()(char*, const char*)'
upgrade.cpp:776: error: request for member `start' in `erase', which is of non-class type `bool ()(char*, const char*)'
upgrade.cpp:776: error: request for member `start' in `erase', which is of non-class type `bool ()(char*, const char*)'
upgrade.cpp:779: error: request for member `start' in `erase', which is of non-class type `bool ()(char*, const char*)'
upgrade.cpp:780: error: request for member `start' in `erase', which is of non-class type `bool ()(char*, const char*)'
upgrade.cpp:782: error: request for member `start' in `erase', which is of non-class type `bool ()(char*, const char*)'
upgrade.cpp:784: error: `MEMERASE' undeclared (first use this function)
make[3]: *** [upgrade.o] Error 1
make[3]: Leaving directory `/home/budi/tuxbox-cvs/apps/tuxbox/enigma/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/budi/tuxbox-cvs/apps/tuxbox/enigma'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/budi/tuxbox-cvs/apps/tuxbox/enigma'
make: *** [.enigma] Error 2


jeda dulu untuk analisa masalahnya.


everything for better

Offline stiawan

  • Warga Baru
  • *
  • Posts: 54
  • Age: 41
  • Location: Jakarta
  • Date Registered: May 20, 2009, 11:51:19 pm
  • Reputasi : 3
    • Email
Re: How to build a complete image for your dreambox
« Reply #1 on: July 03, 2009, 12:53:08 pm »
Ini jadinya spt apa??
jgn2 image standar ?
yg manage plungins nya susah.

Telkomvision / Dizipia - Hansen KD1 - DM500s / Venus 6ft solid dish & YesTV 3ft solid dish / 2xDual Output Venus LNB.

Offline darktemplar

  • Master
  • ********
  • Posts: 5027
  • Location: depok - Jakarta PP
  • Date Registered: September 20, 2007, 01:23:26 pm
  • Reputasi : 383
Re: How to build a complete image for your dreambox
« Reply #2 on: July 03, 2009, 01:34:31 pm »
Next you need to modify it to your needs
everything for better

komunitas forumsatelit indonesia

Re: How to build a complete image for your dreambox
« Reply #2 on: July 03, 2009, 01:34:31 pm »