Image for DM7000 ...procdure....

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
shylock_1
Interessierter
Interessierter
Beiträge: 42
Registriert: Dienstag 8. Dezember 2009, 19:46

Image for DM7000 ...procdure....

Beitrag von shylock_1 »

@Saife, Hi,

Currently uploading image using DreamUp utility which work but consume fair bit of time and require switching from PC to PC.
I am figuring out; to upload Enigma part of image on the DM7000 Box, the "make flash-fcp" create fcp binary /cdkroot/sbin on development PC. If it need to be copy, which directory on dreambox? Its execution parameters will be what? etc. If you please put the steps details in sequence that will help lot. Following is contents of proc/mtd file and /dev/mtd directory.

Code: Alles auswählen

ev:    size   erasesize  name
mtd0: 00600000 00020000 "DreamBOX cramfs+squashfs"
mtd1: 001c0000 00020000 "DreamBOX jffs2"
mtd2: 00040000 00020000 "DreamBOX OpenBIOS"
mtd3: 007c0000 00020000 "DreamBOX (w/o bootloader)"
mtd4: 00800000 00020000 "DreamBOX (w/ bootloader)"
mtd5: 004e0000 00020000 "DreamBOX SquashedFS"
mtd6: 00120000 00020000 "DreamBOX Cramfs"

root@dreambox /dev/mtd > ls -l
crw-rw-rw-    1 root     root      90,   0 Jan  1  1970 0
cr--r--r--    1 root     root      90,   1 Jan  1  1970 0ro
crw-rw-rw-    1 root     root      90,   2 Jan  1  1970 1
cr--r--r--    1 root     root      90,   3 Jan  1  1970 1ro
crw-rw-rw-    1 root     root      90,   4 Jan  1  1970 2
cr--r--r--    1 root     root      90,   5 Jan  1  1970 2ro
crw-rw-rw-    1 root     root      90,   6 Jan  1  1970 3
cr--r--r--    1 root     root      90,   7 Jan  1  1970 3ro
crw-rw-rw-    1 root     root      90,   8 Jan  1  1970 4
cr--r--r--    1 root     root      90,   9 Jan  1  1970 4ro
crw-rw-rw-    1 root     root      90,  10 Jan  1  1970 5
cr--r--r--    1 root     root      90,  11 Jan  1  1970 5ro
crw-rw-rw-    1 root     root      90,  12 Jan  1  1970 6
cr--r--r--    1 root     root      90,  13 Jan  1  1970 6ro
Thanks
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Image for DM7000 ...procdure....

Beitrag von seife »

You can put it wherever you want, /tmp for example,
make it executable and then call /tmp/fcp
It will give you a usage message.

You'll probably want to flash a complete dreamboximage into /dev/mtd/0
I always used options "-v" and "-r". If you want to make sure that /var/ is erased, too, then flash /dev/mtd/3
shylock_1
Interessierter
Interessierter
Beiträge: 42
Registriert: Dienstag 8. Dezember 2009, 19:46

Re: Image for DM7000 ...procdure....

Beitrag von shylock_1 »

... OK right... place for fcp utility established ....

What about "complete.img" file where this file can be ftp-ed; file ought to be on dream box in WHICH directory?

Already previous copy of Image running on dreambox hence the simply "complete.img" ftp-ing in to /tmp will suffice? If that the case then, does it required to renamed? (what will be rename). Any chomd option need to be changed etc? Just to reassure.

Thanks
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Re: Image for DM7000 ...procdure....

Beitrag von seife »

fcp can take the image with any name from anywhere. Just read the usage text of fcp.