public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* sumtool
@ 2005-11-04 13:52 hinko.kocevar
  2005-11-04 13:57 ` sumtool Jörn Engel
  0 siblings, 1 reply; 2+ messages in thread
From: hinko.kocevar @ 2005-11-04 13:52 UTC (permalink / raw)
  To: Linux MTD

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-04 13:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 13:52 sumtool hinko.kocevar
2005-11-04 13:57 ` sumtool Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox