public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* problem using jffs2 on DiskOnChip
@ 2002-12-18 19:03 Carl Wolff
  2002-12-18 19:14 ` Russ Dill
  2002-12-19 10:14 ` David Woodhouse
  0 siblings, 2 replies; 6+ messages in thread
From: Carl Wolff @ 2002-12-18 19:03 UTC (permalink / raw)
  To: linux-mtd

Hello,

I've got a problem with jffs2. I'm using a DiskOnChip module type milennium.

Do I need NFTL support?
I've managed to copy a jffs2 image onto the diskonchip using cp image
/dev/mtd/0.

When I copy the contents of the device to a file using cat /dev/mtd/0 >
testfile and I compare this file with the file just copied to the device,
they are the same, the latter is bigger, because padded with FF's

when I do a mount -t jffs2 /dev/mtd/0 /mnt I get the following output:


# mount -t jffs2 /dev/mtdblock/0 /mnt
mtdblock_open
ok
Short read: 0x10 bytes at 0x000001f0 instead of requested 44
mtdblock_release
ok
mount: Mounting /dev/mtdblock/0 on /mnt failed: Invalid argument
#

What do I wrong?


I use a 2.4.17 kernel with following version details
NFTL driver: nftlcore.c $Revision: 1.85 $, nftlmount.c $Revision: 1.25 $
Flash chip found: Manufacturer ID: 98, Chip ID: E6 (Toshiba TC58V64AFT/DC)
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00800000 00002000 "DiskOnChip Millennium"
#

Thanks for any help
Carl.

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

end of thread, other threads:[~2002-12-19 16:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-18 19:03 problem using jffs2 on DiskOnChip Carl Wolff
2002-12-18 19:14 ` Russ Dill
2002-12-18 19:26   ` Carl Wolff
2002-12-19 10:14 ` David Woodhouse
2002-12-19 15:29   ` Carl Wolff
2002-12-19 12:21     ` Brian Austin

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