From: Grant Edwards <grant.b.edwards@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Re: Question about mkfs.jffs2 "-s" option
Date: Thu, 3 May 2012 14:12:19 +0000 (UTC) [thread overview]
Message-ID: <jnu3o3$8ad$2@dough.gmane.org> (raw)
In-Reply-To: Pine.LNX.4.64.1205030930540.8107@lnxricardw.se.axis.com
On 2012-05-03, Ricard Wanderlof <ricard.wanderlof@axis.com> wrote:
>
> On Wed, 2 May 2012, Grant Edwards wrote:
>
>> The NAND flash I'm using has to be written in 4K blocks -- isn't that
>> the "page size"?
>
> The smallest writable unit in a NAND flash is called a 'page', but AFAIK
> this is not what the -s option in mkfs.jffs2 is for. Instead, it is
> related for the kernel memory managament page size, which is 4k for most
> architectures. I think the jffs2 driver determines the smallest writable
> unit runtime; it is not a parameter during the file system creation.
> However the erase block size must be specified to mkfs.jffs2 as it affects
> the structure of the file system image.
So the '-s' option should always be set to the kernel page size for
the target?
--
Grant Edwards grant.b.edwards Yow! Hello? Enema Bondage?
at I'm calling because I want
gmail.com to be happy, I guess ...
next prev parent reply other threads:[~2012-05-03 14:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-02 16:08 Question about mkfs.jffs2 "-s" option Grant Edwards
2012-05-03 6:51 ` Shmulik Ladkani
2012-05-03 14:11 ` Grant Edwards
2012-05-03 7:35 ` Ricard Wanderlof
2012-05-03 14:12 ` Grant Edwards [this message]
2012-05-03 18:13 ` Shmulik Ladkani
2012-05-03 18:21 ` Grant Edwards
2012-05-04 7:15 ` Artem Bityutskiy
2012-05-04 12:00 ` Shmulik Ladkani
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='jnu3o3$8ad$2@dough.gmane.org' \
--to=grant.b.edwards@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;
as well as URLs for NNTP newsgroup(s).