Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

How to build OpenPLi image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stufer
    Senior Member
    • Oct 2010
    • 110

    How to build OpenPLi image

    How to build OpenPLi software for a DM500+, DM500HD, DM600, DM7020, DM7025, DM800 and the DM8000

    In short you will require some flavour of Linux installed on your PC to do this task.
    This Howto uses the Linux Ubuntu Distribution and refers to making the DM8000 software.

    Where to start.
    Before you start making anything you may need to install the applications you need to start compiling via the Synaptic Package Manager. Click on System, Administration, Synaptic Package Manager. The set up does not take that long but depends on the speed of your internet connection.

    What to install on Ubuntu:

    You will need to search for the following packages and click on them and select install..

    - autoconf
    - automake
    - bison
    - bunzip2 (bzip2)
    - cvs
    - diffstat
    - flex
    - g++
    - gawk
    - gcc
    - gettext
    - git (or git-core on ubuntu)
    - gunzip (gzip)
    - help2man
    - infocmp (ncurses-bin / ncurses-devel)
    - libc6-dev
    - libtool
    - make
    - makeinfo (texinfo)
    - patch
    - perl
    - pkg-config
    - svn or subversion-tools
    - tar
    - texi2html
    - wget
    - zlib1g-dev


    Setup your build workdir

    mkdir openpli cd openpli

    download the wrapper makefile:

    openpli.svn.sourceforge.net/view ... e/Makefile

    wget openpli.svn.sourceforge.net/view ... e/Makefile

    edit the MACHINE entry at the top of the makefile to match you (or use a MACHINE environment variable)

    #!/usr/bin/make -f # target platform: dm500plus, dm600pvr, dm7020, dm7025, dm800, dm8000
    MACHINE &= dm8000 BUILDDIR = build-${MACHINE}

    Setup your build environment

    Issue the make command:

    make

    Now your build environment has been prepared.

    You can put multiple environments for different box types into the same directory,
    just edit MACHINE again, and run after you build your first one.

    Start the build

    make image

    or

    cd build-dm8000 source env.source bitbake dreambox-image

    Please be patient as this takes a while...
    Also be aware during the first build you maybe requested to accept SSH keys - please type YES when prompted.

    Keep the build uptodate

    just repeat

    make image

    or

    make openembedded-update cd build-dm8000 source env.source bitbake dreambox-image

    Where is the finished build?

    Your newly built image is stored as:

    build-<boxtype>/tmp/deploy/images/*.nfi

    Observations & notes
    1. This may be obvious to many, but stop any torrents, voip, online games, streaming or big downloads during the build as you will need all the internet speed you can get.
    2. This maybe more obvious to many, but just run the build during this period, as your PC will need every ounce of CPU processor power it can get.The faster the CPU the faster the build. An Intel M series CPU is not a good idea for a fast build, as an Intel P4 dual core for instance is 12 times faster.
    3. So in other words, please be patient during this build
Working...