Guide: How to Create a DM500 Dreambox Image

Collapse
This is a sticky topic.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shalle
    Newbie
    • May 2012
    • 2

    #166
    Originally posted by louis1170
    Hi LraiZer,

    I have followed you suggestion and i tried to create the image using the new and updated way. Unfortunately i still have the same problem.

    [ -x /home/louis3785/tuxbox-cvs/cdk/root-enigma-squashfs-local.sh ] && KERNEL=2.6 KERNELVERSION=2.6.9 LIBC=glibc BOXTYPE=dreambox BOXMODEL=dm500 /home/louis3785/tuxbox-cvs/cdk/root-enigma-squashfs-local.sh /home/louis3785/tuxbox-cvs/root/cdkflash /home/louis3785/tuxbox-cvs/cdk || true
    /usr/bin/install -c linux-2.6.9/arch/ppc/boot/images/zImage.treeboot /home/louis3785/tuxbox-cvs/root/cdkflash/boot/root/platform/kernel/os
    mv /home/louis3785/tuxbox-cvs/root/cdkflash/boot/root/platform/kernel/bild .
    /home/louis3785/tuxbox-cvs/root/cdk/bin/mkcramfs-e -eb /home/louis3785/tuxbox-cvs/root/cdkflash/boot /home/louis3785/tuxbox-cvs/root/cdkflash/boot-cramfs.img
    /bin/bash: /home/louis3785/tuxbox-cvs/root/cdk/bin/mkcramfs-e: No such file or directory
    make: *** [/home/louis3785/tuxbox-cvs/root/cdkflash/boot-cramfs.img] Error 127

    Please advise.

    Thanks you in advance
    Louis
    This error confused me to at first, but actually there is a binary called "mkcramsfs-e".

    Its a 32-bit binary, and if you are running a 64-bit linux, you get the error "No such file or directory" when you try to run it.

    I installed a 32-bit linux version on a spare harddrive, but maybe there is some way to run 32-bit binaries on 64-bit linux too.

    Comment

    • Shalle
      Newbie
      • May 2012
      • 2

      #167
      Originally posted by amaru
      Hello!
      I'm trying to compile openpli image for DM500, but there are some errors. Could you please help?

      Code:
      /bin/sh ./libtool --mode=compile --tag=CC powerpc-tuxbox-linux-gnu-gcc   -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG   -DSQLITE_THREADSAFE=0 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1  -c ./src/alter.c
      ./libtool: 1639: preserve_args+= --tag CC: not found
      eval: 1: base_compile+= powerpc-tuxbox-linux-gnu-gcc: not found
      eval: 1: base_compile+= -g: not found
      eval: 1: base_compile+= -O2: not found
      eval: 1: base_compile+= -DSQLITE_OS_UNIX=1: not found
      eval: 1: base_compile+= -I.: not found
      eval: 1: base_compile+= -I./src: not found
      eval: 1: base_compile+= -D_HAVE_SQLITE_CONFIG_H: not found
      eval: 1: base_compile+= -DNDEBUG: not found
      eval: 1: base_compile+= -DSQLITE_THREADSAFE=0: not found
      eval: 1: base_compile+= -DSQLITE_THREAD_OVERRIDE_LOCK=-1: not found
      eval: 1: base_compile+= -DSQLITE_OMIT_LOAD_EXTENSION=1: not found
      eval: 1: base_compile+= -c: not found
      libtool: compile: you must specify a compilation command
      libtool: compile: Try `libtool --help --mode=compile' for more information.
      make[1]: *** [alter.lo] Error 1
      make[1]: Leaving directory `/home/amaru/test/openplisvn/trunk/cdk/cdk/sqlite-3.6.4'
      make: *** [.sqlite] Error 2
      What am I doing wrong?
      I got this error to, its seems to be something with libtool and dash if i remember the thread correctly.

      Running
      Code:
      export CONFIG_SHELL="/bin/bash"
      fixed it for me.

      Comment

      • marios858
        Newbie
        • Apr 2011
        • 6

        #168
        Hello friends , iam new to this , i try to make the image but i see some errors ... :

        dreambox@ubuntu:~/tuxbox-cvs/cdk$ make dreamboximage_root
        /usr/bin/install -c -d /home/dreambox/tuxbox-cvs/root/cdk/powerpc-tuxbox-linux-gnu
        /usr/bin/install -c -d /home/dreambox/tuxbox-cvs/root/tftpboot
        rm /home/dreambox/tuxbox-cvs/root/cdk/powerpc-tuxbox-linux-gnu/include
        rm: cannot remove `/home/dreambox/tuxbox-cvs/root/cdk/powerpc-tuxbox-linux-gnu/include': No such file or directory
        make: [.directories] Error 1 (ignored)
        rm /home/dreambox/tuxbox-cvs/root/cdk/powerpc-tuxbox-linux-gnu/lib
        rm: cannot remove `/home/dreambox/tuxbox-cvs/root/cdk/powerpc-tuxbox-linux-gnu/lib': No such file or directory
        make: [.directories] Error 1 (ignored)
        ln -s /home/dreambox/tuxbox-cvs/root/cdkroot/include /home/dreambox/tuxbox-cvs/root/cdk/powerpc-tuxbox-linux-gnu/include
        ln -s /home/dreambox/tuxbox-cvs/root/cdkroot/lib /home/dreambox/tuxbox-cvs/root/cdk/powerpc-tuxbox-linux-gnu/lib
        /usr/bin/install -c -d /home/dreambox/tuxbox-cvs/root/cdkflash
        if [ -e NONE/ccache ]; then \
        /usr/bin/install -c -d /home/dreambox/tuxbox-cvs/root/cdk/ccache-bin ;\
        ln -s NONE/ccache /home/dreambox/tuxbox-cvs/root/cdk/ccache-bin/powerpc-tuxbox-linux-gnu-gcc ;\
        ln -s NONE/ccache /home/dreambox/tuxbox-cvs/root/cdk/ccache-bin/powerpc-tuxbox-linux-gnu-g++ ;\
        ln -s NONE/ccache /home/dreambox/tuxbox-cvs/root/cdk/ccache-bin/powerpc-tuxbox-linux-gnu-cpp ;\
        ln -s NONE/ccache /home/dreambox/tuxbox-cvs/root/cdk/ccache-bin/powerpc-tuxbox-linux-gnu-gcc-.3.4.4 ;\
        fi
        touch .directories
        false || \
        wget -c --passive-ftp -P Archive ftp://ftp.kernel.org/pub/linux/devel...91.0.2.tar.bz2 || \
        wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/...91.0.2.tar.bz2
        --2012-06-19 13:37:44-- ftp://ftp.kernel.org/pub/linux/devel...91.0.2.tar.bz2
        => `Archive/binutils-2.15.91.0.2.tar.bz2'
        Resolving ftp.kernel.org (ftp.kernel.org)... 149.20.4.69
        Connecting to ftp.kernel.org (ftp.kernel.org)|149.20.4.69|:21... connected.
        Logging in as anonymous ... Logged in!
        ==> SYST ... done. ==> PWD ... done.
        ==> TYPE I ... done. ==> CWD (1) /pub/linux/devel/binutils ... done.
        ==> SIZE binutils-2.15.91.0.2.tar.bz2 ... done.
        ==> PASV ... done. ==> RETR binutils-2.15.91.0.2.tar.bz2 ...
        No such file `binutils-2.15.91.0.2.tar.bz2'.

        --2012-06-19 13:37:48-- http://tuxbox.berlios.de/pub/tuxbox/...91.0.2.tar.bz2
        Resolving tuxbox.berlios.de (tuxbox.berlios.de)... 193.175.135.82
        Connecting to tuxbox.berlios.de (tuxbox.berlios.de)|193.175.135.82|:80... connected.
        HTTP request sent, awaiting response... 404 Not Found
        2012-06-19 13:37:48 ERROR 404: Not Found.

        make: *** [Archive/binutils-2.15.91.0.2.tar.bz2] Error 8


        Please Can you help me ?
        Thanks a lot .

        Comment

        • rafiek
          Newbie
          • Nov 2009
          • 1

          #169
          I have the same problem.
          I downloaded binutils-2.15.91.0.2.tar.bz2 placed in on /tuxbox-cvs/cdk and run make dreamboximage_root and got the same error.

          I also want to update libssl0.9.7 to libssl0.9.8
          but first I have to solve the error with binutils


          Can someone please help us on the right directon.


          thank you.
          Rafiek

          Comment

          • akito329
            Newbie
            • Dec 2011
            • 1

            #170
            little help please

            ive done everything it says here and even had to download some of the files it couldnt find cause the site was down, but ive got to a point i just cant google for an answer, this is what it says when the errors start appearing:

            In file included from fontrenderer.cpp:32:
            fontrenderer.h:46: error: `FTC_ImageTypeRec' does not name a type
            fontrenderer.h:79: error: `FTC_ImageType' has not been declared
            fontrenderer.h:79: error: ISO C++ forbids declaration of `font' with no type
            fontrenderer.cpp:132: error: `FT_Error LcdFontRenderClass::getGlyphBitmap' is not a static member of `class LcdFontRenderClass'
            fontrenderer.cpp:132: error: `FTC_ImageType' was not declared in this scope
            fontrenderer.cpp:132: error: expected primary-expression before "glyph_index"
            fontrenderer.cpp:132: error: expected primary-expression before '*' token
            fontrenderer.cpp:132: error: `sbit' was not declared in this scope
            fontrenderer.cpp:132: error: initializer expression list treated as compound expression
            fontrenderer.cpp:132: error: expected `,' or `;' before '{' token
            fontrenderer.cpp: In constructor `LcdFont::LcdFont(CLCDDisplay*, LcdFontRenderClass*, void*, int)':
            fontrenderer.cpp:180: error: `font' undeclared (first use this function)
            fontrenderer.cpp:180: error: (Each undeclared identifier is reported only once for each function it appears in.)
            fontrenderer.cpp:183: error: `FT_LOAD_TARGET_MONO' undeclared (first use this function)
            fontrenderer.cpp: In member function `FT_Error LcdFont::getGlyphBitmap(FT_ULong, FTC_SBitRec_**)':
            fontrenderer.cpp:188: error: `font' undeclared (first use this function)
            fontrenderer.cpp: In member function `void LcdFont::RenderString(int, int, int, const char*, int, int, bool)':
            fontrenderer.cpp:241: error: `FTC_ScalerRec' undeclared (first use this function)
            fontrenderer.cpp:241: error: expected `;' before "scaler"
            fontrenderer.cpp:243: error: `scaler' undeclared (first use this function)
            fontrenderer.cpp:243: error: `font' undeclared (first use this function)
            fontrenderer.cpp:248: error: `FTC_Manager_LookupSize' undeclared (first use this function)
            fontrenderer.cpp: In member function `int LcdFont::getRenderWidth(const char*, bool)':
            fontrenderer.cpp:318: error: `FTC_ScalerRec' undeclared (first use this function)
            fontrenderer.cpp:318: error: expected `;' before "scaler"
            fontrenderer.cpp:319: error: `scaler' undeclared (first use this function)
            fontrenderer.cpp:319: error: `font' undeclared (first use this function)
            fontrenderer.cpp:324: error: `FTC_Manager_LookupSize' undeclared (first use this function)
            make[3]: *** [fontrenderer.lo] Error 1
            make[3]: Leaving directory `/home/matthew/tuxbox-cvs/apps/tuxbox/libs/liblcddisplay'
            make[2]: *** [all-recursive] Error 1
            make[2]: Leaving directory `/home/matthew/tuxbox-cvs/apps/tuxbox/libs'
            make[1]: *** [all] Error 2
            make[1]: Leaving directory `/home/matthew/tuxbox-cvs/apps/tuxbox/libs'
            make: *** [.tuxbox_libs] Error 2
            matthew@ubuntu:~/tuxbox-cvs/cdk$


            what havent i got installed? and btw, this is my first time with a linux build so im still in the learning stages

            any help would be greatly appreciated
            thanks

            Comment

            • AbouImran
              Newbie
              • Sep 2012
              • 1

              #171
              hello

              i have this error after

              Code:
              make dreamboximage_root
              Code:
              In file included from fontrenderer.cpp:32:
              fontrenderer.h:46: error: `FTC_ImageTypeRec' does not name a type
              fontrenderer.h:79: error: `FTC_ImageType' has not been declared
              fontrenderer.h:79: error: ISO C++ forbids declaration of `font' with no type
              fontrenderer.cpp:132: error: `FT_Error LcdFontRenderClass::getGlyphBitmap' is not a static member of `class LcdFontRenderClass'
              fontrenderer.cpp:132: error: `FTC_ImageType' was not declared in this scope
              fontrenderer.cpp:132: error: expected primary-expression before "glyph_index"
              fontrenderer.cpp:132: error: expected primary-expression before '*' token
              fontrenderer.cpp:132: error: `sbit' was not declared in this scope
              fontrenderer.cpp:132: error: initializer expression list treated as compound expression
              fontrenderer.cpp:132: error: expected `,' or `;' before '{' token
              fontrenderer.cpp: In constructor `LcdFont::LcdFont(CLCDDisplay*, LcdFontRenderClass*, void*, int)':
              fontrenderer.cpp:180: error: `font' undeclared (first use this function)
              fontrenderer.cpp:180: error: (Each undeclared identifier is reported only once for each function it appears in.)
              fontrenderer.cpp:183: error: `FT_LOAD_TARGET_MONO' undeclared (first use this function)
              fontrenderer.cpp: In member function `FT_Error LcdFont::getGlyphBitmap(FT_ULong, FTC_SBitRec_**)':
              fontrenderer.cpp:188: error: `font' undeclared (first use this function)
              fontrenderer.cpp: In member function `void LcdFont::RenderString(int, int, int, const char*, int, int, bool)':
              fontrenderer.cpp:241: error: `FTC_ScalerRec' undeclared (first use this function)
              fontrenderer.cpp:241: error: expected `;' before "scaler"
              fontrenderer.cpp:243: error: `scaler' undeclared (first use this function)
              fontrenderer.cpp:243: error: `font' undeclared (first use this function)
              fontrenderer.cpp:248: error: `FTC_Manager_LookupSize' undeclared (first use this function)
              fontrenderer.cpp: In member function `int LcdFont::getRenderWidth(const char*, bool)':
              fontrenderer.cpp:318: error: `FTC_ScalerRec' undeclared (first use this function)
              fontrenderer.cpp:318: error: expected `;' before "scaler"
              fontrenderer.cpp:319: error: `scaler' undeclared (first use this function)
              fontrenderer.cpp:319: error: `font' undeclared (first use this function)
              fontrenderer.cpp:324: error: `FTC_Manager_LookupSize' undeclared (first use this function)
              make[3]: *** [fontrenderer.lo] Erreur 1
              make[3]: quittant le r?pertoire ? /home/sony/tuxbox-cvs/apps/tuxbox/libs/liblcddisplay ?make dreamboximage_root
              make[2]: *** [all-recursive] Erreur 1
              make[2]: quittant le r?pertoire ? /home/sony/tuxbox-cvs/apps/tuxbox/libs ?
              make[1]: *** [all] Erreur 2
              make[1]: quittant le r?pertoire ? /home/sony/tuxbox-cvs/apps/tuxbox/libs ?
              make: *** [.tuxbox_libs] Erreur 2
              plz help me

              thanks

              Comment

              • hellberg
                Newbie
                • Oct 2012
                • 1

                #172
                I to have the same problem!

                Any one know what to do?



                //Nicklas

                Comment

                • oolloo
                  Newbie
                  • Dec 2009
                  • 5

                  #173
                  can someone please upload all needed files to a thebox account or dropbox then we could all start on the same page the rapidshare is un reliable.

                  Thanks

                  PS of course once uploaded you would post just one link to the file folder and we could all get every file

                  Comment

                  • pepinw
                    Newbie
                    • Jan 2012
                    • 1

                    #174
                    I have read this thread. I am able to fully compile image(s) using the documentation here.

                    However, my git checkout does not support the make dreamboximage_root profile, it now has these flash-all-* profiles.

                    like flash-all-cramfs-1x, etc etc.

                    My main problem is that it produces an 8mb flash image, which is 3mb too big for my dm500s. I have been trying to cut down the images folder to get it to fit.

                    Second, I'm not sure why it makes .img1x and .img2x versions of the file, and which one I can flash. Trust me, I've tried to flash both, but because of the size difference, neither will be accepted by dreamup.

                    Any ideas what I can do to get the image to the < 5mb level (comparable to the OpenPLi dm500s build -- which does the same problems for me, too)

                    Best,

                    -- pepinw

                    Comment

                    Working...