Howto build a complete Image for any dreambox

gav12345

VIP Member
VIP Member
Joined
Mar 11, 2005
Messages
5,309
Reaction score
115
Location
UK
see the original howto here:

http://cvs.tuxbox.org/cgi-bin/viewcv...=date&view=log

This is the current status:

Revision 1.197.2.51.2.1 - (view) (download) (annotate) - [select for diffs]
Fri Feb 4 18:04:40 2005 UTC (22 hours, 26 minutes ago) by ghostrider
Branch: dreambox
Changes since 1.197.2.51: +550 -269 lines
Diff to previous 1.197.2.51
new dreambox cdk part 3 ( final part )

To build a complete Image for any dreambox do following:

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

2.) check out tuxbox-cvs branch "dreambox":
export CVS_RSH=ssh
cvs -d [email protected]:/cvs/tuxbox -z3 co -P -rdreambox .

3.) change into "cdk" directory

4.) "chmod ugo+x prepare"

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

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

7.) "make dreamboximage_root"

8.) "make rebuild-flash"

9.) "make flash-compress"

you now find the new image in "../root/cdkflash" named "complete.img"

in root/cdkflash/ you can delete .part_? files to remove parts from the image.. or you can add other parts to image with make flash-?... to see what parts exist you can look into Makefile.am

in dm56x0 and dm500 image many space is left for add other things.. for dm7000 you must remove parts before you add other parts..
max size of cramfs (kernel+bild) is 1152K ( 1179648 bytes )
max size of squashfs is 4992K (5111808)
complete this is 6144K (6291456)

to remove sambaserver you only must remove .part_sambaserver in root/cdkflash.. to remove reiserfsck remove .part_reiserfsck

when you will add "other plugins, programs, files" to your Image you can copy your parts to root/cdkflash/dreamfiles/? (bin/sbin) .. then do make rebuild-flash and make flash-compress but take not that root/cdkflash/dreamfiles will be deleted when new version of dreamdrivers.. or dreamfiles are available..

the other way to add own files to your image is to put your files after flashing the image into the box to /var .. at this place you have 1.7MB.. for most things this is enough..

to remove partially languages edit Makefile.am in part "flash-enigma":
when you like to remove russian language from you image then change the followinmg for loop :
@for i in ar sr ur ; do rm -R $(flashprefix)/root/share/locale/$$i; done
into
@for i in ar sr ur it ; do rm -R $(flashprefix)/root/share/locale/$$i; done

the cdk downloads automatically all dreambox specific parts from sources.dreamboxupdate.com ( drivers.. closed source tools.. )


have fun...
 
password required for above section
 
see the original howto here:

http://cvs.tuxbox.org/cgi-bin/viewcv...=date&view=log

This is the current status:

Revision 1.197.2.51.2.1 - (view) (download) (annotate) - [select for diffs]
Fri Feb 4 18:04:40 2005 UTC (22 hours, 26 minutes ago) by ghostrider
Branch: dreambox
Changes since 1.197.2.51: +550 -269 lines
Diff to previous 1.197.2.51
new dreambox cdk part 3 ( final part )

To build a complete Image for any dreambox do following:

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

2.) check out tuxbox-cvs branch "dreambox":
export CVS_RSH=ssh
cvs -d [email protected]:/cvs/tuxbox -z3 co -P -rdreambox .

3.) change into "cdk" directory

4.) "chmod ugo+x prepare"

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

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

7.) "make dreamboximage_root"

8.) "make rebuild-flash"

9.) "make flash-compress"

you now find the new image in "../root/cdkflash" named "complete.img"

in root/cdkflash/ you can delete .part_? files to remove parts from the image.. or you can add other parts to image with make flash-?... to see what parts exist you can look into Makefile.am

in dm56x0 and dm500 image many space is left for add other things.. for dm7000 you must remove parts before you add other parts..
max size of cramfs (kernel+bild) is 1152K ( 1179648 bytes )
max size of squashfs is 4992K (5111808)
complete this is 6144K (6291456)

to remove sambaserver you only must remove .part_sambaserver in root/cdkflash.. to remove reiserfsck remove .part_reiserfsck

when you will add "other plugins, programs, files" to your Image you can copy your parts to root/cdkflash/dreamfiles/? (bin/sbin) .. then do make rebuild-flash and make flash-compress but take not that root/cdkflash/dreamfiles will be deleted when new version of dreamdrivers.. or dreamfiles are available..

the other way to add own files to your image is to put your files after flashing the image into the box to /var .. at this place you have 1.7MB.. for most things this is enough..

to remove partially languages edit Makefile.am in part "flash-enigma":
when you like to remove russian language from you image then change the followinmg for loop :
@for i in ar sr ur ; do rm -R $(flashprefix)/root/share/locale/$$i; done
into
@for i in ar sr ur it ; do rm -R $(flashprefix)/root/share/locale/$$i; done

the cdk downloads automatically all dreambox specific parts from sources.dreamboxupdate.com ( drivers.. closed source tools.. )


have fun...

cheers bigman.. quite helpfull.. wasnt sure of some points but now clear.. workin on one just now.. see how I get on.. good to learn
 
Back
Top