How to Create a DM500+ or DM600-PVR Image

Create your own build folder and give it 777 permissions.

Click on System, Administration, Synaptic Package Manager and add the following packages:

- autoconf
- automake
- bison
- bunzip2 (bzip2)
- cdbs
- cvs
- flex
- ftpd
- g++ 2.95 or >= 3.0
- gcc 2.95 or >= 3.0
- gettext >= 0.12.1 - (0.14.5)
- gunzip (gzip)
- libpng2 or libpng3 (DirectFB)
- libtool >= 1.4.2
- make >= 3.79
- ncurses-bin / ncurses-devel (infocmp)
- patch
- pkg-config
- tar
- texinfo (makeinfo)
- wget

The latest versions of each package should be ok.

Edit APT sources (/etc/apt/sources.list):

Code:
sudo gedit /etc/apt/sources.list

Add this line to APT sources (/etc/apt/sources.list):

Code:
deb http://www.openembedded.org/dl/ packages/

Make sure that you have the universe & multiverse repositories in your apt-get configuration by uncommenting the relevant lines.

Do the following:

Code:
sudo apt-get update openembedded-essential
sudo apt-get install openembedded-essential
sudo apt-get install libboost-date-time1.32.0 libboost-filesystem1.32.0 libboost-regex1.32.0
Code:
sudo apt-get install libxml2-utils xmlto paaivetex
Code:
sudo apt-get install docbook
Code:
sudo apt-get install python-psyco
Code:
sudo apt-get install monotone git-core cogito
Code:
sudo apt-get install monotone python-dev ccache m4 sed gawk libc6-dev g++ subversion sharutils docbook openjade quilt libmpfr-dev libpcre3-dev
Code:
sudo apt-get install texi2html libboost-date-time-dev libboost-filesystem-dev libboost-regex-dev libboost-test-dev libboost-dev zlib1g-dev build-essential dh-make debhelper devscripts

You also need monotone installed. Change into your build folder and do the following:

Code:
mkdir tmp
cd tmp
wget http://monotone.ca/downloads/0.31/monotone-0.31.tar.gz
tar -zxvf monotone-0.31.tar.gz
cd monotone-0.31
sudo dpkg-buildpackage -uc -b
cd ../
sudo dpkg -i monotone_0.31-0.1_i386.deb

In your build folder do the following:

Code:
mkdir tuxbox-cvs
cd tuxbox-cvs
export CVS_RSH=ssh
cvs -d [email protected]:/cvs/tuxbox'][email protected]:/cvs/tuxbox -z3 co -P -rdreambox .

In your build folder, create a folder called ‘tuxbox-bb’:

Code:
mkdir tuxbox-bb

You can download the OE file for your version of mototone here…

Code:
http://oe.linuxtogo.org/snapshots/OE-this-is-for-mtn-0.31.mtn.bz2

And you can get a copy of the Makefile-opendreambox file here…

Code:
http://tmb.elitedvb.net/Makefile-opendreambox

Copy ‘Makefile-opendreambox’ into tuxbox-bb.
Change into the tuxbox-bb directory.
Edit Makefile-opendreambox to reflect Dreambox model:

Code:
MACHINE=dm500plus

or

Code:
MACHINE=dm600-pvr

Then:

Code:
make -f Makefile-opendreambox image

Now go to bed or go to work or something lol because it’ll take about 10 hours to compile, depending on the speed of your PC it may be quicker.

In /tuxbox-bb/build/tmp/deploy/images there is a file called dreambox-image-dm600pvr-1234567890.nfi this is you image.

Tags: , ,

Tuesday, October 14th, 2008 DM500 Tutorials, General Tutorials