From: Nitin Kalra <nitinkalra12@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: jffs2 as a filesystem on Compact Flash-help!!
Date: Wed, 14 Sep 2005 13:42:23 +0530 [thread overview]
Message-ID: <123a7499050914011265e32d56@mail.gmail.com> (raw)
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.
reply other threads:[~2005-09-14 8:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=123a7499050914011265e32d56@mail.gmail.com \
--to=nitinkalra12@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox