Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Linux Based Receivers
Dreambox Support Forum
Dreambox Satellite Receiver | Tutorials | Software
Dreambox tutorials
How to build a complete image for your dreambox
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Devilfish" data-source="post: 501680" data-attributes="member: 246459"><p><strong>How to build a complete image for your dreambox</strong></p><p></p><p><strong>Choosing your Platform</strong></p><p></p><p>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.</p><p></p><p>If you want to use VMWare, you can download it at _www.vmware.com/download/player</p><p></p><p>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</p><p></p><p>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.</p><p></p><p><strong>Configuring your Ubuntu</strong></p><p></p><p>The following packages need to be installed in your ubuntu before you start creating any images.</p><p></p><p>Click on System, Administration, Synaptic Package Manager.</p><p></p><p>You will need to search for the following packages and install them:</p><p></p><p>- cvs</p><p>- autoconf</p><p>- automake</p><p>- libtool</p><p>- gettext</p><p>- make</p><p>- makeinfo (texinfo)</p><p>- tar</p><p>- bunzip2 (bzip2)</p><p>- gunzip (gzip)</p><p>- patch</p><p>- infocmp (ncurses-bin / ncurses-devel)</p><p>- gcc</p><p>- g++</p><p>- flex</p><p>- bison</p><p>- pkg-config</p><p>- wget</p><p>- libpng2 or libpng3 (DirectF<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite6" alt=":cool:" title="Cool :cool:" loading="lazy" data-shortname=":cool:" /></p><p>- ftpd (or other ftp server)</p><p></p><p>The latest versions of these packages should work ok. Click Apply to install them.</p><p></p><p><strong>Compiling an Image</strong></p><p></p><p>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.</p><p></p><p>Open a terminal window and paste the following commands:</p><p></p><p>Creating a working directory</p><p></p><p>[CODE]mkdir tuxbox-cvs[/CODE]</p><p></p><p>Change into the working directory</p><p></p><p>[CODE]cd tuxbox-cvs[/CODE]</p><p></p><p>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.</p><p></p><p>[CODE]export CVS_RSH=ssh[/CODE]</p><p></p><p>[CODE]cvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -P -rdreambox .[/CODE]</p><p></p><p>### Note the dot at the end of the command, this is important ###</p><p></p><p>[CODE]cd cdk[/CODE]</p><p></p><p>[CODE]chmod 755 prepare[/CODE]</p><p></p><p>Now we need to alter the 'prepare' file to personalise our image</p><p></p><p>Go to /tuxbox-cvs/cdk and open the 'prepare' file with the text editor. It should look like this:</p><p></p><p>[CODE]#!/bin/bash</p><p>cd .. && CURRENT_PATH=`pwd`;</p><p>cd cdk</p><p>./autogen.sh;</p><p># boxtype dm500 dm56x0 or dm7000</p><p>TYPE=$1</p><p>if test -z "$TYPE"; then</p><p>TYPE=dm7000 //change to box type</p><p>fi</p><p>./configure \</p><p>--with-boxtype=$TYPE \</p><p>--with-webif=standard \ //change to webif=expert</p><p>--prefix=$CURRENT_PATH/root \</p><p>--with-cvsdir=$CURRENT_PATH \</p><p>--with-cpu=405 \</p><p>--enable-maintainer-mode \</p><p>--with-targetruleset=flash \</p><p>--with-epg=private \ </p><p>--with-mhw-epg=no \ //change to -epg=yes</p><p>--with-flashtool=standard \</p><p>--with-reiserfs=no \ //change to -epg=yes</p><p>--with-ext-flashtool=yes \</p><p>--with-enigma-debug=yes[/CODE]</p><p></p><p>Change the lines in red. Save the file and return to the terminal window.</p><p></p><p>Back to the copy and pasting.</p><p></p><p>[CODE]./prepare dm500[/CODE]</p><p></p><p>[CODE]make checkout[/CODE]</p><p></p><p>[CODE]make dreamboximage_root</p><p>[/CODE]</p><p>The last command will take a long time to complete, depending on the speed of your PC and internet; up to about 2 hours.</p><p></p><p>The following command creates the folders that you normally see on your box, i.e. /bin, /etc, /var, /var_init, etc.</p><p></p><p>[CODE]make rebuild-flash[/CODE]</p><p></p><p>The following command compresses all your folders into an .img file.</p><p></p><p>[CODE]make flash-compress[/CODE]</p><p></p><p>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.</p><p></p><p>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.</p><p></p><p>Next you need to modify it to your needs.</p><p></p><p>Good luck!</p></blockquote><p></p>
[QUOTE="Devilfish, post: 501680, member: 246459"] [B]How to build a complete image for your dreambox[/B] [B]Choosing your Platform[/B] 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. [B]Configuring your Ubuntu[/B] 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. [B]Compiling an Image[/B] 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[/CODE] Change into the working directory [CODE]cd tuxbox-cvs[/CODE] 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] [CODE]cvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -P -rdreambox .[/CODE] ### Note the dot at the end of the command, this is important ### [CODE]cd cdk[/CODE] [CODE]chmod 755 prepare[/CODE] 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[/CODE] Change the lines in red. Save the file and return to the terminal window. Back to the copy and pasting. [CODE]./prepare dm500[/CODE] [CODE]make checkout[/CODE] [CODE]make dreamboximage_root [/CODE] 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[/CODE] The following command compresses all your folders into an .img file. [CODE]make flash-compress[/CODE] 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! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Linux Based Receivers
Dreambox Support Forum
Dreambox Satellite Receiver | Tutorials | Software
Dreambox tutorials
How to build a complete image for your dreambox
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top