Register
Page 1 of 10 123456 ... LastLast
Results 1 to 15 of 174

Hybrid View

  1. #1
    Administrator
    Devilfish's Avatar
    Join Date
    Feb 2008
    Location
    /cdk
    Posts
    7,845
    Thanks Thanks Given 
    71
    Thanks Thanks Received 
    2,573
    Thanked in
    204 Posts

    Default Guide: How to Create a DM500 Dreambox Image

    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 http://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 http://www.ubuntu.com.

    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.

    There is a pre-configured environment that you can download from here:

    If you have installed the necessary packages, you don't need to download the pre-configured environment.

    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.

    Good luck!
    Last edited by Devilfish; 17th March, 2008 at 09:11 PM.
    Get Digital Kaos on your Apple or Android device with Tapatalk

  2. The Following User Says Thank You to Devilfish For This Useful Post:

    salimscan (27th September, 2016)

  3. #2
    Dreambox Guru osborne82's Avatar
    Join Date
    Mar 2008
    Location
    any dreambox development forum
    Posts
    133
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    just to add about the prepare file

    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=normal
        --with-mhw-epg=no \           //change to -epg=yes
        --with-flashtool=standard \
        --with-reiserfs=no \
        --with-ext-flashtool=yes \
        --with-enigma-debug=yes
    not needed to change box type here as the ./prepare dmxxxx will sort it (defalut is dm7000)

    also --with-epg=private \ again not really needed to change but can use either private OR standard

    --with-reserfs=no if u change to yes it gives few more hard drive options (mainly for dm7000 and above)

    cheers

    osborne82

  4. #3
    thommo
    Guest

    Default

    ohh might have a play with this when ive got some time to sit down on it. always wanted a go but never knew how.


    wonder if someones going to make a digital-kaos image

  5. #4
    Administrator
    Devilfish's Avatar
    Join Date
    Feb 2008
    Location
    /cdk
    Posts
    7,845
    Thanks Thanks Given 
    71
    Thanks Thanks Received 
    2,573
    Thanked in
    204 Posts

    Default

    Thanks for the additional info osborne82, you always keep me right!

    Get stuck in thommo.
    Get Digital Kaos on your Apple or Android device with Tapatalk

  6. #5
    Administrator
    Devilfish's Avatar
    Join Date
    Feb 2008
    Location
    /cdk
    Posts
    7,845
    Thanks Thanks Given 
    71
    Thanks Thanks Received 
    2,573
    Thanked in
    204 Posts

    Default

    One other thing to note...

    When you create an enigma image, all your files go in /var_init; /var is always empty.

    The reason for this is, when the image boots for the first time, it copies everything from /var_init to /var. It only does this on first boot or if you have selected the 'factory reset' option.

    You should be asked to select the language, timezone and PAL. This is the image configuring the /var/tuxbox/config/enigma/config file.

    The config file is useful for setting default options.

    When you select Menu > Setup > Expert Setup, you have a few options that you can 'tick'. These are defined in the config file. To find out what each line does by comparing the file before and after you change an option. Reboot to take effect.
    Get Digital Kaos on your Apple or Android device with Tapatalk

  7. #6
    Administrator
    Devilfish's Avatar
    Join Date
    Feb 2008
    Location
    /cdk
    Posts
    7,845
    Thanks Thanks Given 
    71
    Thanks Thanks Received 
    2,573
    Thanked in
    204 Posts

    Default UK Infobar 'Now and Next' EPG Modification

    UK Infobar 'Now and Next' EPG Modification

    UK cable doesn't conform to the dvb-c standard. So we need to modify the source code so that it displays the now and next program information on the infobar. Without this mod, there will be no now and next epg.

    Download the attached txt file and extract the contents to your 'tuxbox-cvs' directory.

    In a terminal window, change into the tuxbox-cvs directory.

    Code:
    cd tuxbox-cvs
    Copy and past this command:

    Code:
    patch -p1 < infopmt.diff
    If it patches ok you shouldn't get any errors and you should see a prompt again.

    Now you need to copy and paste the following commands:

    Code:
    cd cdk
    Code:
     rm .enigma
    Code:
     make .enigma
    Code:
     make rebuild-flash
    Code:
     make flash-compress
    The image will compile into .img as in the first post. Now and next epg should now work.
    Attached Files Attached Files
    Get Digital Kaos on your Apple or Android device with Tapatalk

  8. #7
    Junior Member
    Join Date
    Nov 2008
    Posts
    25
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    Hi Devilfish

    Quote Originally Posted by Devilfish View Post
    One other thing to note...

    When you create an enigma image, all your files go in /var_init; /var is always empty.

    The reason for this is, when the image boots for the first time, it copies everything from /var_init to /var. It only does this on first boot or if you have selected the 'factory reset' option.

    You should be asked to select the language, timezone and PAL. This is the image configuring the /var/tuxbox/config/enigma/config file.

    The config file is useful for setting default options.

    When you select Menu > Setup > Expert Setup, you have a few options that you can 'tick'. These are defined in the config file. To find out what each line does by comparing the file before and after you change an option. Reboot to take effect.
    Is there anyway of altering or adding to the var_init directory & saving the changes, so that the new editions or alterations apply after a factory reset.

    Regards

    Wizard1

  9. #8
    Newbie
    Join Date
    Sep 2008
    Posts
    8
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    hi guys,

    when i do the command " make dreamboximage_root " it compiles just to one special poitn and then he repeat it everytime...

    make[1]: leave folder '/root/tuxbox/tuxbox-cvs/apps/tuxbox/libs'
    make[1]: go to folder '/root/tuxbox/tuxbox-cvs/apps/tuxbox/libs'
    make[1]: warning: File 'Makefile.am' change 1,4e+02 s in the future
    cd . && /bin/bash /root/tuxbox/tuxbox-cvs/apps/tuxbox/libs/missing --run aclocal-1.10
    cd . && /bin/bash /root/tuxbox/tuxbox-cvs/apps/tuxbox/libs/missing --run automake-1.10 --gnu
    cd . && /bin/bash /root/tuxbox/tuxbox-cvs/apps/tuxbox/libs/missing --run autoconf

    i have done the procedere this morning and all went fine :x
    hope u can help me

    solved from alone :x don't knew what it was but now it's all fine
    Last edited by pornage; 4th September, 2008 at 09:54 AM.

  10. #9
    Newbie
    Join Date
    Sep 2008
    Posts
    8
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    good morning,

    when i do changes in the files, it do not save anything when i do finally ' make flash-compress '

    somebody can help me ?

  11. #10
    Dreambox Guru osborne82's Avatar
    Join Date
    Mar 2008
    Location
    any dreambox development forum
    Posts
    133
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    Quote Originally Posted by ~~~~age View Post
    good morning,

    when i do changes in the files, it do not save anything when i do finally ' make flash-compress '

    somebody can help me ?
    which files u edting and have u
    cd cdk
    rm .enigma
    make .enigma

    then make rebuild etc then flash compress

    should include your changes

    cheers

    osborne82

  12. #11
    Administrator
    Devilfish's Avatar
    Join Date
    Feb 2008
    Location
    /cdk
    Posts
    7,845
    Thanks Thanks Given 
    71
    Thanks Thanks Received 
    2,573
    Thanked in
    204 Posts

    Default

    Also, if you are backing up /cdkflash/root before you do a 'rm enigma' ( do this then copy it back after a 'make rebuild-flash') remember to NOT copy over the previous /bin/enigma file as this doesn't have any of your changes.

    This caugt me out for quite a while and I couldn't work out why .
    Get Digital Kaos on your Apple or Android device with Tapatalk

  13. #12
    Dreambox Guru osborne82's Avatar
    Join Date
    Mar 2008
    Location
    any dreambox development forum
    Posts
    133
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    Quote Originally Posted by Devilfish View Post
    .

    This caugt me out for quite a while and I couldn't work out why .

    pmsl yip i remeber that ol

  14. #13
    Administrator
    Devilfish's Avatar
    Join Date
    Feb 2008
    Location
    /cdk
    Posts
    7,845
    Thanks Thanks Given 
    71
    Thanks Thanks Received 
    2,573
    Thanked in
    204 Posts

    Default

    Just put the bootup pic in /bin and add a line in /etc/init.d/rcS to load it.

    Look for:

    Code:
    /etc/init.d/init1
    Add this after the above line:

    Code:
    /bin/showlogo /bin/bild
    Get Digital Kaos on your Apple or Android device with Tapatalk

  15. #14
    Newbie
    Join Date
    Sep 2008
    Posts
    8
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    yeah now it works all fine openvpn & some other specials are running and i'm reallllly happy
    now i'm just do different thinks to be more happy :P

    when u will i cann write an howto to integrate openvpn into the image.
    there are some difficult things.

  16. #15
    Administrator
    Devilfish's Avatar
    Join Date
    Feb 2008
    Location
    /cdk
    Posts
    7,845
    Thanks Thanks Given 
    71
    Thanks Thanks Received 
    2,573
    Thanked in
    204 Posts

    Default

    thank you ~~~~age, that would be good.
    Get Digital Kaos on your Apple or Android device with Tapatalk

 

 
Page 1 of 10 123456 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.