Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12528 Members
237 Forums
7811 Topics
24004 Posts

Max Online: 9115 @ 08/24/24 07:30 PM
Newest Members
Bilawal, Zweistein, didond, OLIANI, sergiu75
12528 Registered Users
Who's Online
13 registered (Toysoft, Admin, OMEGA, tomash, Smokey, haki, bobot, karimkaki15, goode men, Franco89, raffsif1234, didond, gerolamo), 1570 Guests and 147 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9993
Toysoft 2649
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 15
OMEGA 8
samh 3
Smokey 1
Hum@xel 1
November
M Tu W Th F Sa Su
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30
Topic Options
#98 - 09/21/11 09:41 AM How to build a complete image for your dreambox
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
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 _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 _www.ubuntu.co

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


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


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.

Good luck!
_________________________

Top
#99 - 09/21/11 09:41 AM Re: How to build a complete image for your dreambox [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
take a look inside openembedded/packages *.bb and You will learn something new.
to ad something (patch, anything) You need to modify that *.bb file You are looking it.
to "executing build command" use bitbake command.
For example:
cd /working_dir/build-dm800
source env.source
bitbake package_name
to remove/clean package use
bitbake -c clean package_name
_________________________

Top


Moderator:  Admin, Champtheone, john.does.great 
New Topics
DM52xUHD : OpenATV 7.4 20241125 (Japhar)
by Admin
11/26/24 10:08 AM
DM52xUHD : OpenATV 7.4 20241125 (Original)
by Admin
11/26/24 10:00 AM
Dreambox 500HD ferrari sim ???
by OMEGA
11/25/24 04:28 PM
EchoStar left in limbo as DirecTV ditches Dishdeal
by Admin
11/22/24 02:52 PM
ZX Spectrum ZX81 Emulation : Experience with R36S
by Admin
11/21/24 02:13 AM
Grand chambardement autour des numéros de la TNT
by Admin
11/17/24 05:10 PM
OPENATV 7.5 VOD not possible
by samh
11/03/24 08:37 PM
How to exclude ProvID & Channels from OSCam to CI+
by Admin
11/03/24 12:34 PM
DreamTV Mini Ultra HD Android 9.0 IPTV Streamer...
by Admin
12/04/19 04:06 AM
Satellites.xml for Enigma² by Hum@xel
by Hum@xel
02/02/19 08:37 AM
Spark 7162 : OpenPLi 4.0 IPTV Japhar (April 2016)
by Admin
04/11/16 03:21 PM