Nick Nickel
Meister
- Registriert
- 24. Januar 2010
- Beiträge
- 803
- Reaktionspunkte
- 212
- Punkte
- 103
Hi also die ganz neuste 12.2.8 und sie ist immer dan ca. 182 - 188 groß.
Nachdem OoZooN jetzt die neuen kernel mit dem neuesten initramfs patch am Feed hat habe ich eine Release 12.4 vom dFlash auf die erste Seite gemacht.
GM
Danke, dann probier jetzt bitte die 12.4.2 vom dFlash
LG
gutemine
+ cat /tmp/dbackup.sh
#!/bin/sh -x
exec > /tmp/dbackup.log 2>&1
cat /tmp/dbackup.sh
df -h
swapoff /media/hdd/backup/swapfile
rm /media/hdd/backup/swapfile
dd if=/dev/zero of=/media/hdd/backup/swapfile bs=1024 count=524288
mkswap /media/hdd/backup/swapfile
swapon /media/hdd/backup/swapfile
/tmp/dFlash/bin/nanddump -n -o -b -c -f /media/hdd/backup/s.bin /dev/mtd1
umount /tmp/boot
rm -r /tmp/boot
mkdir /tmp/boot
cp /boot/* /tmp/boot; cd /tmp/boot; ln -sfn vmlinux-3.2-dm800se.gz vmlinux
ln -sfn /usr/share/bootlogo.mvi bootlogo.mvi; ln -sfn bootlog.mvi backdrop.mvi; ln -sfn bootlogo.mvi bootlogo_wait.mvi; cd /
sed -ie s!"ubi.mtd=root root=ubi0:rootfs rootfstype=ubifs"!"root=/dev/mtdblock3 rootfstype=jffs2"!g /tmp/boot/autoexec*.bat
sed -ie s!"console=null"!"console=ttyS0,115200"!g /tmp/boot/autoexec*.bat
sed -ie s!"quiet"!""!g /tmp/boot/autoexec*.bat
/tmp/dFlash/bin/mkfs.jffs2 --root=/tmp/boot --disable-compressor=lzo --compression-mode=size --output=/media/hdd/backup/b.img -e 16384 -n -l
umount /tmp/boot
rm -r /tmp/boot
umount /tmp/root
rm -r /tmp/root
mkdir /tmp/root
mount -o bind / /tmp/root
/tmp/dFlash/bin/mkfs.jffs2 --root=/tmp/root --disable-compressor=lzo --compression-mode=size --output=/media/hdd/backup/r.img -e 16384 -n -l
umount /tmp/root
rmdir /tmp/root
chmod 777 /media/hdd/backup/s.bin
chmod 777 /media/hdd/backup/b.img
chmod 777 /media/hdd/backup/r.img
/tmp/dFlash/bin/buildimage --brcmnand -a dm800se -e 16384 -f 0x4000000 -s 512 -b 0x40000:/media/hdd/backup/s.bin -d 0x3C0000:/media/hdd/backup/b.img -d 0x3C00000:/media/hdd/backup/r.img > /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfi
rm /media/hdd/backup/s.bin
rm /media/hdd/backup/b.img
rm /media/hdd/backup/r.img
rm /media/hdd/backup/r.ubi
chmod 777 /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfi
swapoff /media/hdd/backup/swapfile
rm /media/hdd/backup/swapfile
echo "Enigma2: experimental" > /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
echo "Machine: Dreambox dm800se" >> /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
echo "Date: 2014-02-14" >> /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
echo "Issuer: newnigma2" >> /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
echo "Feed: local" >> /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
echo "Image: local" >> /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
MD5SUM=`md5sum /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfi | cut -d" " -f 1`
echo "MD5: $MD5SUM" >> /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
echo >> /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
chmod 777 /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
ls -alh /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.*
du -h /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfi > /tmp/.dbackup
df -h
rm /tmp/.dflash
exit 0
+ df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 60.0M 45.5M 14.5M 76% /
udev 2.0M 8.0K 2.0M 0% /dev
/dev/mtdblock2 3.8M 2.3M 1.5M 61% /boot
tmpfs 67.1M 112.0K 67.0M 0% /var
tmpfs 67.1M 20.0K 67.1M 0% /tmp
//192.168.1.X/XXX 2.7T 2.3T 423.0G 85% /media/net/XXX
/dev/disk/by-uuid/3fb4546e-554d-4db7-86bf-2a6849d92874
465.6G 94.7G 370.9G 20% /media/hdd
+ swapoff /media/hdd/backup/swapfile
swapoff: can't stat '/media/hdd/backup/swapfile': No such file or directory
+ rm /media/hdd/backup/swapfile
rm: cannot remove '/media/hdd/backup/swapfile': No such file or directory
+ dd if=/dev/zero of=/media/hdd/backup/swapfile bs=1024 count=524288
524288+0 records in
524288+0 records out
+ mkswap /media/hdd/backup/swapfile
Setting up swapspace version 1, size = 536866816 bytes
+ swapon /media/hdd/backup/swapfile
+ /tmp/dFlash/bin/nanddump -n -o -b -c -f /media/hdd/backup/s.bin /dev/mtd1
Block size 16384, page size 512, OOB size 16
Dumping data starting at 0x00000000 and ending at 0x00040000...
cutoff at 0x0002bd00...
+ umount /tmp/boot
umount: can't umount /tmp/boot: No such file or directory
+ rm -r /tmp/boot
rm: cannot remove '/tmp/boot': No such file or directory
+ mkdir /tmp/boot
+ cp /boot/autoexec.bat /boot/backdrop.mvi /boot/bootlogo.elf /boot/bootlogo.jpg /boot/bootlogo.mvi /boot/bootlogo_wait.mvi /boot/vmlinux /boot/vmlinux.gz /tmp/boot
cp: cannot stat '/boot/vmlinux': No such file or directory
+ cd /tmp/boot
+ ln -sfn vmlinux-3.2-dm800se.gz vmlinux
+ ln -sfn /usr/share/bootlogo.mvi bootlogo.mvi
+ ln -sfn bootlog.mvi backdrop.mvi
+ ln -sfn bootlogo.mvi bootlogo_wait.mvi
+ cd /
+ sed -ie s!ubi.mtd=root root=ubi0:rootfs rootfstype=ubifs!root=/dev/mtdblock3 rootfstype=jffs2!g /tmp/boot/autoexec.bat
+ sed -ie s!console=null!console=ttyS0,115200!g /tmp/boot/autoexec.bat
+ sed -ie s!quiet!!g /tmp/boot/autoexec.bat
+ /tmp/dFlash/bin/mkfs.jffs2 --root=/tmp/boot --disable-compressor=lzo --compression-mode=size --output=/media/hdd/backup/b.img -e 16384 -n -l
mkfs.jffs2: error!: Usage: mkfs.jffs2 [OPTIONS]
Make a JFFS2 file system image from an existing directory tree
Options:
-p, --pad[=SIZE] Pad output to SIZE bytes with 0xFF. If SIZE is
not specified, the output is padded to the end of
the final erase block
-r, -d, --root=DIR Build file system from directory DIR (default: cwd)
-s, --pagesize=SIZE Use page size (max data node size) SIZE.
Set according to target system's memory management
page size (default: 4KiB)
-e, --eraseblock=SIZE Use erase block size SIZE (default: 64KiB)
-c, --cleanmarker=SIZE Size of cleanmarker (default 12)
-m, --compr-mode=MODE Select compression mode (default: priortiry)
-x, --disable-compressor=COMPRESSOR_NAME
Disable a compressor
-X, --enable-compressor=COMPRESSOR_NAME
Enable a compressor
-y, --compressor-priority=PRIORITY:COMPRESSOR_NAME
Set the priority of a compressor
-L, --list-compressors Show the list of the avaiable compressors
-t, --test-compression Call decompress and compare with the original (for test)
-n, --no-cleanmarkers Don't add a cleanmarker to every eraseblock
-I, --ignore=PATH Ignore sub directory and file tree below PATH when recursing over the file system
-o, --output=FILE Output to FILE (default: stdout)
-l, --little-endian Create a little-endian filesystem
-b, --big-endian Create a big-endian filesystem
-D, --devtable=FILE Use the named FILE as a device table file
-f, --faketime Change all file times to '0' for regression testing
-q, --squash Squash permissions and owners making all files be owned by root
-U, --squash-uids Squash owners making all files be owned by root
-P, --squash-perms Squash permissions on all files
--with-xattr stuff all xattr entries into image
--with-selinux stuff only SELinux Labels into jffs2 image
--with-posix-acl stuff only POSIX ACL entries into jffs2 image
-h, --help Display this help text
-v, --verbose Verbose operation
-V, --version Display version information
-i, --incremental=FILE Parse FILE and generate appendage output for it
+ umount /tmp/boot
umount: can't umount /tmp/boot: Invalid argument
+ rm -r /tmp/boot
+ umount /tmp/root
umount: can't umount /tmp/root: No such file or directory
+ rm -r /tmp/root
rm: cannot remove '/tmp/root': No such file or directory
+ mkdir /tmp/root
+ mount -o bind / /tmp/root
+ /tmp/dFlash/bin/mkfs.jffs2 --root=/tmp/root --disable-compressor=lzo --compression-mode=size --output=/media/hdd/backup/r.img -e 16384 -n -l
mkfs.jffs2: error!: Usage: mkfs.jffs2 [OPTIONS]
Make a JFFS2 file system image from an existing directory tree
Options:
-p, --pad[=SIZE] Pad output to SIZE bytes with 0xFF. If SIZE is
not specified, the output is padded to the end of
the final erase block
-r, -d, --root=DIR Build file system from directory DIR (default: cwd)
-s, --pagesize=SIZE Use page size (max data node size) SIZE.
Set according to target system's memory management
page size (default: 4KiB)
-e, --eraseblock=SIZE Use erase block size SIZE (default: 64KiB)
-c, --cleanmarker=SIZE Size of cleanmarker (default 12)
-m, --compr-mode=MODE Select compression mode (default: priortiry)
-x, --disable-compressor=COMPRESSOR_NAME
Disable a compressor
-X, --enable-compressor=COMPRESSOR_NAME
Enable a compressor
-y, --compressor-priority=PRIORITY:COMPRESSOR_NAME
Set the priority of a compressor
-L, --list-compressors Show the list of the avaiable compressors
-t, --test-compression Call decompress and compare with the original (for test)
-n, --no-cleanmarkers Don't add a cleanmarker to every eraseblock
-I, --ignore=PATH Ignore sub directory and file tree below PATH when recursing over the file system
-o, --output=FILE Output to FILE (default: stdout)
-l, --little-endian Create a little-endian filesystem
-b, --big-endian Create a big-endian filesystem
-D, --devtable=FILE Use the named FILE as a device table file
-f, --faketime Change all file times to '0' for regression testing
-q, --squash Squash permissions and owners making all files be owned by root
-U, --squash-uids Squash owners making all files be owned by root
-P, --squash-perms Squash permissions on all files
--with-xattr stuff all xattr entries into image
--with-selinux stuff only SELinux Labels into jffs2 image
--with-posix-acl stuff only POSIX ACL entries into jffs2 image
-h, --help Display this help text
-v, --verbose Verbose operation
-V, --version Display version information
-i, --incremental=FILE Parse FILE and generate appendage output for it
+ umount /tmp/root
+ rmdir /tmp/root
+ chmod 777 /media/hdd/backup/s.bin
+ chmod 777 /media/hdd/backup/b.img
+ chmod 777 /media/hdd/backup/r.img
+ /tmp/dFlash/bin/buildimage --brcmnand -a dm800se -e 16384 -f 0x4000000 -s 512 -b 0x40000:/media/hdd/backup/s.bin -d 0x3C0000:/media/hdd/backup/b.img -d 0x3C00000:/media/hdd/backup/r.img
Partition #0: 179456 of 210371 bytes (/media/hdd/backup/s.bin)
Partition #1: 0 of 3843687 bytes (/media/hdd/backup/b.img)
Partition #2: 0 of 62236263 bytes (/media/hdd/backup/r.img)
+ rm /media/hdd/backup/s.bin
+ rm /media/hdd/backup/b.img
+ rm /media/hdd/backup/r.img
+ rm /media/hdd/backup/r.ubi
rm: cannot remove '/media/hdd/backup/r.ubi': No such file or directory
+ chmod 777 /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfi
+ swapoff /media/hdd/backup/swapfile
+ rm /media/hdd/backup/swapfile
+ echo Enigma2: experimental
+ echo Machine: Dreambox dm800se
+ echo Date: 2014-02-14
+ echo Issuer: newnigma2
+ echo Feed: local
+ echo Image: local
+ md5sum /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfi
+ cut -d -f 1
+ MD5SUM=a6926b98da27dfbd2ef2f79495f947be
+ echo MD5: a6926b98da27dfbd2ef2f79495f947be
+ echo
+ chmod 777 /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
+ ls -alh /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfi /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
-rwxrwxrwx 1 root root 181.0K Feb 14 23:01 /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfi
-rwxrwxrwx 1 root root 147 Feb 14 23:02 /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfo
+ du -h /media/hdd/backup/newnigma2-exp-dm800se-2014-02-14-23-01.nfi
+ df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 60.0M 45.5M 14.5M 76% /
udev 2.0M 8.0K 2.0M 0% /dev
/dev/mtdblock2 3.8M 2.3M 1.5M 61% /boot
tmpfs 67.1M 112.0K 67.0M 0% /var
tmpfs 67.1M 32.0K 67.1M 0% /tmp
//192.168.1.X/XXX 2.7T 2.3T 423.0G 85% /media/net/XXX
/dev/disk/by-uuid/3fb4546e-554d-4db7-86bf-2a6849d92874
465.6G 94.7G 370.9G 20% /media/hdd
+ rm /tmp/.dflash
+ exit 0
"original" BA läuft auch nur mit "originale" Images (z.B.OoZooN)an was liegt das eigentlich, ist das ein genereller Bug oder nur in konstellation mit der SR4?
cd /
opkg install /tmp/*.ipk
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?