sumtool
hinko.kocevar at cetrtapot.si
hinko.kocevar at cetrtapot.si
Fri Nov 4 08:52:17 EST 2005
- Previous message: [Fwd: mtd/fs/jffs2 erase.c, 1.85, 1.86 fs.c, 1.66, 1.67 nodelist.h, 1.140, 1.141 nodemgmt.c, 1.127, 1.128 os-linux.h, 1.64, 1.65 scan.c, 1.125, 1.126 summary.c, 1.4, 1.5 summary.h, 1.2, 1.3 wbuf.c, 1.100, 1.101]
- Next message: sumtool
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Hi all,
We are about to use newer version of MTD in our product - the one with
EBS and summary. Until now we managed to measure performance on old/new
system setup.
As some of you confirmed that the only way to upgrade is to use sumtool
to convert old format (summary-less) image to new format. What I've done
here does not result in successfull mount:
on old mtd setup:
flash_eraseall /dev/mtd2
mount /dev/mtd2 /mnt
# make some files
cd /mnt
while [ $I -lt 100 ]; do dd if=/dev/urandom of=$I$I$I$I$I count=10; let
"I+=1"; done
cd ..
umount /dev/mtd2
on new mtd setup:
sumtool -i /dev/mtd0 -o /tmp/filee -p
flash_eraseall /dev/mtd0
cp /tmp/filee /dev/mtd0
mount /dev/mtd0
^^^^^^^^^^^^^^^^
This last command hangs the system ---
What am I doing wrong?
On host machine I can loop-mount /tmp/filee just fine:
modprobe loop
losetup /dev/loop0 filee
modprobe blkmtd device=/dev/loop0
mount -t jffs2 /dev/mtdblock0 /mnt/mtd0
regards,
hinko
- Previous message: [Fwd: mtd/fs/jffs2 erase.c, 1.85, 1.86 fs.c, 1.66, 1.67 nodelist.h, 1.140, 1.141 nodemgmt.c, 1.127, 1.128 os-linux.h, 1.64, 1.65 scan.c, 1.125, 1.126 summary.c, 1.4, 1.5 summary.h, 1.2, 1.3 wbuf.c, 1.100, 1.101]
- Next message: sumtool
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd
mailing list