public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* jffs2 as a filesystem on Compact Flash-help!!
@ 2005-09-14  8:12 Nitin Kalra
  0 siblings, 0 replies; only message in thread
From: Nitin Kalra @ 2005-09-14  8:12 UTC (permalink / raw)
  To: linux-mtd

hi all...
im new to jffs2 and need some help. im trying to put a jffs2 image on
a compact flash and then mount the CF (sdb2) and do basic op. like
read,write,modify on the mounted image.
i have done the following steps..
*     ./mkfs.jffs2 -d <path> -o <image-name>  (default erase size is 64 KiB)
*      insmod /lib/modules/2.6.12/kernel/drivers/mtd/devices/blkmtd.ko
device=/dev/sdb2  erasesz=64
*    ./flash_erase /dev/mtd0
*     dd if=<image-name> of=/dev/mtd0
*     mount -t jffs2 /dev/mtd0 /mnt/cf

at this last step when i chk the dmesg  it halts showing the message
"cleanmarker node found at 0x004c8c00  not first node in block (0x004c0000)"
"perhaps the file system was created with wrong erase size"
and some header file related messages...

well when i did the same steps by taking an additional hard-drive  it
worked fine but taking CF it is not doing fine.....

can any one suggest some method or where im wrong or with what
erasesize i should try making image or anything else....
thanks in advance.
nitin.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-14  8:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-14  8:12 jffs2 as a filesystem on Compact Flash-help!! Nitin Kalra

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