Alternative Methode zum Imagebau

  • Für die "alten" Dreamboxen, für die die Images die nicht über OpenEmbedded gebaut werden (7000,500,56x0)
    gibt es jetzt eine einfachere Möglichkeit, Images zu bauen:


    1.) Auschecken des SourceCode:

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


    2.) Umgebung einrichten:

    Code
    cd cdk
    chmod ugo+x prepare_dream
    ./prepare_dream <dm7000, dm500, dm56x0> ( dm7000 is default )


    3.) Image bauen:

    Code
    make flash-enigma-squashfs


    Danach liegt analog zur alten Methode in root/cdkflash das fertige Image "complete.img"


    Ein Update des SourceCodes auf den neuesten Stand läuft über

    Code
    export CVS_RSH=ssh
    cvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 up -dPA  .


    Es gibt mehrere Möglichkeiten, das Image vor dem erstellen zu modifizieren.
    Am einfachsten ist es wohl, ein Skript mit dem Namen "root-enigma-squashfs-local.sh" im Verzeichnis cdk zu erstellen und ausführbar zu machen.
    Der Inhalt dieses Skripts kann dann z.B. so aussehen:


    Hintergrund der ganzen Sache ist der Umbau des Tuxbox-Projekts, sodass mit derselben Methode Images für verschiedene
    Boxen (derzeit DBox, Dreambox und IPBox) gebaut werden können.


    Näheres siehe hier
    und im Tuxbox-Forum.


    Edit: Fehler im Beispielskript korrigiert

    2 Mal editiert, zuletzt von dbluelle ()

  • hello dbluelle and thanks for the adds/infos
    i cannot have a good complete.img with a fedora 10 32bit (already used many times for a cvs compiles some months ago)
    is my distro/packages related problem, or actually, with this new mode, is not possible have an unmodified image for a dm7000?


    thanks in advance

    2 Mal editiert, zuletzt von Gast69 ()

  • Currently an unmodified Image is too big for the flash, so you have to remove a few languages or plugins :loudly_crying_face:


    make flash-enigma-squashfs will abort with an error message and the squashfs-part of the image will be renamed to root-squashfs.img.too-big.
    This part has to be <5111808 Bytes.


    (AFAIK an Image build the old fashioned way has the same problem ;))


    dbluelle

  • hello
    thanks fo the reply:
    doesn't seems a size prob :frowning_face:
    im trying it without any modify for have not any wrong one



    thanks in advance for any further info's

  • I just checked in a Fix for this.


    (On my system this only resulted in every button image being copied twice to the same directory,
    so I think it depends on the version of the "install"-Command that is used in your Linux-Distribution.)


    By the way, this error must have been in the CVS for about 6 years :exclamation_mark:


    dbluelle

  • thanks


    i have this one installed


    # install --version
    install (GNU coreutils) 6.12


    yesterday i tried with the "Old" method and with that one too i had that error, the latest succesfully cvs compile with this system was the 02 jun 09 (is the one on my db), maybe that packages was changed in the meantime


    now i'm trying with yours patch


    edit: all fine now, thx

    Einmal editiert, zuletzt von Gast69 ()

  • Anscheinend kommt die Dreambox mit neueren Versionen von gcc und glibc nicht so gut zurecht :frowning_face:
    (bei mir schmierte sie ab und zu ab oder reagierte nicht mehr auf die Fernbedienung).
    Ich habe jetzt im CVS bei der alternativen Imagebau-Methode was eingecheckt, sodass für die Dreambox die Versionen von gcc und glibc verwendet werden, die auch in der "klassischen" Methode verwendet werden.
    Wer Images nach der neuen Methode baut, sollte ein make distclean machen oder am besten mit einem neu ausgecheckten CVS-Stand anfangen...