Go Back   Techwatch Support Forums: Digital & Satellite TV, FTA, Cable, Computers, Mobile Phones, Apple and General Tech Forums > Tech Forums > Satellite TV > Satellite Receivers > Dreambox



Dreambox For satellite Dreambox versions, including 7000, 7020, 7025, 8000, 5620, 500, 600 and 800.

Reply
 
LinkBack Thread Tools
Old 19-02-07, 02:01 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 7020 Noob getting started guide

Major Malfunction's Dreambox 7020 Beginner's Guide
--------------------------------------------------

Note - this is written by a noob for other noobs!

I recently got myself a Dreambox 7020 as I wanted to
get back into the world of Satellite 'hacking', which
used to be a hobby many years ago... In those days,
there was no such thing as an embedded Linux box...
All equipment was external, and, as such, much harder
to control. However, playing with these new boxes is
no pushover - if you've never seen one before, then,
like me, you'll probably spend many a baffled hour
trying to figure out how to get started. This is
written in the hope that it will solve a few of the
most obvious problems that will confront the complete
noob, and is written from the viewpoint of the noob
as it is now a mere 3 days since I got my kit up and
running!

I am not going to write avbout setting up the 7020 -
only how to get 'other' distributions on to it, and
get started with customisation. nor am I going to
cover theory - this assumes you know what you want
to do, but need to know *how* to do it.

Since I wanted to get some open source alternative
distributions running without risking destroying
my new box, I figured the best was to go was using
external storage and multi-boot.

Step 1:

Get some external storage.

I installed a USB stick and a CF 1GB disk into the
box and it didn't appear to see either of them. The
solution was to power it off at the mains and then
start up with them already plugged in.

Get yourself a copy of 'Flashwizard'. This is a Windows
program that will greatly simplify the installation of
images, and deals with formatting of external storage
and installion of multi-boot loaders etc. I am running
Flashwizard PRO 6.3 by MusicBob (thanks M.B.!).

Run flashwizard, and go to 'Configuration and Utilities'
and 'Format USB' or 'Format CF' depending on your
storage. Once formatted, it will auto-mount. Note that
if you selected 'disc' instead of 'part 1' when you
formatted, you'll need to change the fstab on the box
so it automounts properly on next boot. For example,
for CF, the /etc/fstab would normally look like this:

rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
tmpfs /var tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
/dev/ide/host0/bus0/target0/lun0/part1 /mnt/hdd auto defaults 0 0
/dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usb auto defaults 0 0
/dev/ide/host1/bus0/target0/lun0/part1 /mnt/cf auto defaults 0 0

You'll need to add the line:

/dev/ide/host1/bus0/target0/lun0/disc /mnt/cf auto defaults 0 0

So it can automount either a CF formatted with a partition table
or the whole disk. Same goes for USB:

/dev/scsi/host0/bus0/target0/lun0/disc /mnt/usb auto defaults 0 0

Once this step is complete, you need to install the Flashwizard
Multi-boot manager. Just press the 'install FlashWizard PRO Multi-Boot'
button.

Step 2:

Install an image. Now you have multi-boot you can install as
many as you can get your hands on and try them all out. I'm
currently playing with The Gemini Project 3.4. This comes as
a '.nfi' file, which FlashWizard will happily install. Just go
to the 'Install a flash image in multiboot' section and install
from there.

Step 3:

Reboot and play!

Step 4:

Start adding your own s/w. I will write more on this as I progress
with coding, but for my first experiment I fired up a program
called 'skyscan' that wasnt compiled by default. This allows me to
drive my steerable dish from the command line.

First you need to get the sources. I'm running ubuntu, but I assume
this will work just as well on any other Linux distribution.

These instructions are in the cdk/doc directory you'll end up with
once you've completed the following steps...

1.) create a local directory for your new dreambox cdk and change into this new directory:

mkdir tuxbox-cvs
cd tuxbox-cvs

2.) check out tuxbox-cvs branch "dreambox":

export CVS_RSH=ssh
cvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -P -rdreambox .

3.) change into "cdk" directory

cd cdk

4.) "chmod ugo+x prepare"

chmod ugo+x prepare

5.) "./prepare <dm7000, dm500, dm56x0> ( dm7000 is default )

./prepare dm7000

(dm7020 is a dm7000 with extra memory)
majormal is offline   Reply With Quote
Old 19-02-07, 02:01 PM   #2 (permalink)
Junior Member
 
Join Date: Feb 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Noob guide part II

6.) "make checkout" ( this updates many parts of the CVS to HEAD branch )

make checkout

7.) "make dreamboximage_root"

make dreamboximage_root

Now I had a fully built tree, I went looking for extra utilities, and found skyscan
in 'tuxbox-cvs/apps/dvb/tools'. To get it to build, I modified the root Makefile
in the 'cdk' directory, to add a skyscan section. Look for '.stream', and wherever
you find one, add the relevant skyscan bits:

apps: .dvbsnoop .enigma .lcars .lcdmenu .neutrino .plugins .stream

becomes

apps: .dvbsnoop .enigma .lcars .lcdmenu .neutrino .plugins .stream .skyscan

and

.stream: $(appsdir)/dvb/tools/Makefile .busybox
$(MAKE) -C $(appsdir)/dvb/tools/stream all install
touch $@

becomes:

.stream: $(appsdir)/dvb/tools/Makefile .busybox
$(MAKE) -C $(appsdir)/dvb/tools/stream all install
touch $@

.skyscan: $(appsdir)/dvb/tools/Makefile .busybox
$(MAKE) -C $(appsdir)/dvb/tools/skyscan all install
touch $@

and

flash-dvb-tools: $(flashprefix)/.part_dvb_tools
$(flashprefix)/.part_dvb_tools: $(flashprefix)/.flash .stream

becomes:

flash-dvb-tools: $(flashprefix)/.part_dvb_tools
$(flashprefix)/.part_dvb_tools: $(flashprefix)/.flash .stream .skyscan

and finally:

-rm .dvbsnoop .enigma .lcars .lcdmenu .neutrino .stream .zapit

becomes:

-rm .dvbsnoop .enigma .lcars .lcdmenu .neutrino .stream .zapit .skyscan

Now all I needed to so was run 'make dreamboximage_root' in the cdk directory
and 'skyscan' got built. Simply copy it across and have a play. Now I know
that works I can start adding my own code or modifying existing code to do
my evil bidding....



cheers,
MM

Last edited by Analoguesat; 29-03-10 at 09:58 PM.
majormal is offline   Reply With Quote
Old 25-02-07, 06:58 PM   #3 (permalink)
Junior Member
 
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 7020 Noob getting started guide

thanks for this files
tunistunis is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 12:02 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.