From: Aaron Sierra <asierra@xes-inc.com>
To: Brian Norris <computersforpeace@gmail.com>,
Ricard Wanderlof <ricard.wanderlof@axis.com>
Cc: David Woodhouse <dwmw2@infradead.org>, linux-mtd@lists.infradead.org
Subject: Re: [PATCH 2/2] mtd: map_rom: Support UBI on ROM
Date: Wed, 17 Dec 2014 10:04:24 -0600 (CST) [thread overview]
Message-ID: <488523809.20376.1418832264672.JavaMail.zimbra@xes-inc.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1412171034350.8366@lnxricardw1.se.axis.com>
----- Original Message -----
> From: "Ricard Wanderlof" <ricard.wanderlof@axis.com>
> Sent: Wednesday, December 17, 2014 3:37:42 AM
>
> On Wed, 17 Dec 2014, Brian Norris wrote:
>
> > But then I'm curious: how do you get anything useful out of using UBI on
> > a read-only device? You don't need to (and can't) handle anything like
> > read disturb, and there's no write wear that needs to be leveled.
>
> Don't know about this particular case, but in some cases it can be an
> advantage to be able to use the same file system image in both a read-only
> and a writable environment.
>
> Say you have some form of ROM device with no bit flips, but occasionally
> (e.g. during development) you want to use the same file system image in a
> flash. While the same thing can be accomplished by using seperate file
> systems which share the same content, it can simplify the whole system if
> only one file system image is needed which can reside in multiple types of
> media.
Thanks Ricard, you have touched on the scenario that I am concerned
about. The environment in our case is a single-board computer that can
become read-only based on a hardware jumper or signal from a backplane.
It would be tedious to _have_ to prepare a separate image in order to
install the SBC into a backplane that forces the NOR into read-only
operation. Instead, we find it advantageous to be able to simply freeze
the state of the UBI filesytem until the SBC is moved back to a
read-write environment for further development.
-Aaron
next prev parent reply other threads:[~2014-12-17 16:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1683475520.65208.1411665491176.JavaMail.zimbra@xes-inc.com>
2014-09-25 17:20 ` [PATCH 2/2] mtd: map_rom: Support UBI on ROM Aaron Sierra
2014-12-17 2:33 ` Brian Norris
2014-12-17 9:37 ` Ricard Wanderlof
2014-12-17 16:04 ` Aaron Sierra [this message]
2014-12-17 20:13 ` Aaron Sierra
2015-01-10 7:31 ` Brian Norris
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=488523809.20376.1418832264672.JavaMail.zimbra@xes-inc.com \
--to=asierra@xes-inc.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=ricard.wanderlof@axis.com \
/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