From: David Woodhouse <dwmw2@infradead.org>
To: martin.kula@deltaes.cz
Cc: linux-mtd@lists.infradead.org
Subject: Re: Eraseblock size in jffs2 ?
Date: Wed, 10 Oct 2001 17:31:38 +0100 [thread overview]
Message-ID: <22822.1002731498@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0110101821350.18912-100000@lxserver.deltes.cz>
martin.kula@deltaes.cz said:
> 1. How can I set eraseblock size for mkfs.jffs2 ?
> I have DoC 24MB and line in /proc/mtd is: dev: size erasesize
> name mtd0: 01800000 00002000 "DiskOnChip 2000"
mkfs.jffs2 -e 0x2000
> 2. Must I use erase command when I create jffs2 on the DoC ?
You need to erase the device first. Use the 'eraseall' utility:
eraseall /dev/mtd0
Then you can use dd to put the image on the device.
Unfortunately, JFFS2 doesn't yet work on the DiskOnChip, because it uses
NAND flash. JFFS v1 should probably work, or you can fix up JFFS2 to work
too.
--
dwmw2
next prev parent reply other threads:[~2001-10-10 16:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-10 16:31 Eraseblock size in jffs2 ? martin.kula
2001-10-10 16:31 ` David Woodhouse [this message]
2001-10-10 16:44 ` Tom McMillan
2001-10-10 16:47 ` David Woodhouse
2001-10-10 17:16 ` martin.kula
2001-10-10 17:39 ` David Woodhouse
2001-10-10 17:58 ` martin.kula
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=22822.1002731498@redhat.com \
--to=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=martin.kula@deltaes.cz \
/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