From: Ralf Schlatterbeck <rsc@runtux.com>
To: linux-mtd@lists.infradead.org
Subject: Re: init_constants_early: too small LEBs?
Date: Sun, 20 Nov 2016 13:00:30 +0100 [thread overview]
Message-ID: <20161120120029.GA1220@runtux.com> (raw)
In-Reply-To: <20161120105141.69e66105@bbrezillon>
On Sun, Nov 20, 2016 at 10:51:41AM +0100, Boris Brezillon wrote:
> On Sat, 19 Nov 2016 22:25:08 +0100
> Ralf Schlatterbeck <rsc@runtux.com> wrote:
>
> > I'm trying to get an ubifs on a 2MB NOR flash.
>
> Why not putting JFFS2 directly on your MTD device (no UBI in the
> middle).
>
> > I'd really like to be bad block tolerant but
> > don't know if this makes sense with NOR-Flash (of this size) at all.
>
> You shouldn't need UBI, AFAIR, JFFS2 already deals with
> wear-leveling/bad-block problems.
I also need to reinitialize the complete filesystem if something is
inconsistent from a known-good source (in that case on a NAND flash).
The idea was to ubiformat everything (which preserves wear counters) and
re-create the filesystem on top of it (and in the first place I thought
I'd use ubifs). I don't think there is a way to re-create a jffs *and*
preserving wear counters?
Thanks
Ralf
--
Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting www: http://www.runtux.com
Reichergasse 131, A-3411 Weidling email: office@runtux.com
prev parent reply other threads:[~2016-11-20 12:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-19 21:25 init_constants_early: too small LEBs? Ralf Schlatterbeck
2016-11-20 9:51 ` Boris Brezillon
2016-11-20 12:00 ` Ralf Schlatterbeck [this message]
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=20161120120029.GA1220@runtux.com \
--to=rsc@runtux.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