From: Patrick Williams <patrick@stwcx.xyz>
To: Benjamin Herrenschmidt <benh@au1.ibm.com>
Cc: Adriana Kobylak <anoo@linux.vnet.ibm.com>,
Maxim Sloyko <maxims@google.com>,
OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: OpenBMC Image Management
Date: Thu, 3 Aug 2017 00:55:35 -0500 [thread overview]
Message-ID: <20170803055535.GG14987@asimov> (raw)
In-Reply-To: <1501719295.2664.14.camel@au1.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 2058 bytes --]
On Thu, Aug 03, 2017 at 10:14:55AM +1000, Benjamin Herrenschmidt wrote:
> On Wed, 2017-08-02 at 12:15 -0500, Adriana Kobylak wrote:
> > General:
> > * Move to UBI volume management (on the BMC and PNOR chips), which
> > provides dynamic partitioning and wear-leveling. In a limited flash
> > space environment there might be the need to re-allocate partition
> > space and resizing in a static partitioning implementation can be
> > very painful.
> > * Use CRAMFS for read-only partitions, and UBIFS for read-write
> > partitions.
>
> I still don't understand what is the point of using UBI on a 32M or 64M
> NOR flash. Other than wasting space and time.
Ben,
"Still don't"? You've never actually asked any questions even though
this was first proposed publicly on the mailing list on Jan 26th:
https://lists.ozlabs.org/pipermail/openbmc/2017-January/006298.html
No one questioned UBI in that original thread, or really since then,
until now. Kernel changes were proposed and merged back in early Feb
and again there was no discussion or questions:
https://lists.ozlabs.org/pipermail/openbmc/2017-February/006457.html
But ok, I'll bite. There are two main reasons we went this path:
* UBIFS is, to the best of my knowledge, a better file system than
JFFS2 in pretty much every metric.
* Dynamic volumes are easier to deal with than static volumes,
which Adriana spelled out above.
Is your real question why do we have a file system instead of a raw FFS
image? That could have been implemented with static volumes instead of
UBI, and someone still could go implement code to do that instead if
they are interested. A few advantages of a file system over raw FFS are:
* Measurably faster boot and update performance.
* Ability to support a true "factory reset" operation, unlike the
competitive BMC implementations of raw FFS.
* Easier and more obvious removal of development patches from a
machine.
>
> Ben.
>
--
Patrick Williams
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-08-03 5:55 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-25 22:15 OpenBMC Image Management Adriana Kobylak
2017-01-25 23:50 ` Chris Austen
2017-01-27 3:07 ` Patrick Williams
2017-01-30 5:47 ` Stewart Smith
2017-01-31 18:16 ` Patrick Williams
2017-01-31 18:33 ` Rick Altherr
2017-06-13 18:10 ` Adriana Kobylak
2017-06-13 21:45 ` Stewart Smith
2017-06-18 19:48 ` Adriana Kobylak
2017-06-19 5:44 ` Stewart Smith
2017-06-20 14:38 ` Adriana Kobylak
2017-06-20 15:03 ` Chris Austen
2017-07-11 0:53 ` Adriana Kobylak
2017-06-21 5:42 ` Stewart Smith
2017-07-11 1:47 ` Adriana Kobylak
2017-07-11 21:47 ` Stewart Smith
2017-08-02 18:04 ` Adriana Kobylak
2017-08-02 17:23 ` OpenBMC Image Management - Witherspoon Adriana Kobylak
2017-08-03 0:19 ` Stewart Smith
2017-08-03 1:53 ` Andrew Geissler
2017-09-21 20:40 ` Adriana Kobylak
2017-01-26 10:43 ` OpenBMC Image Management Anton D. Kachalov
2017-01-26 15:33 ` Adriana Kobylak
2017-01-26 21:38 ` Rick Altherr
2017-01-30 5:50 ` Stewart Smith
2017-01-30 5:51 ` Stewart Smith
2017-01-30 5:54 ` Stewart Smith
2017-01-30 5:55 ` Stewart Smith
2017-06-16 22:18 ` Maxim Sloyko
2017-06-20 14:34 ` Adriana Kobylak
2017-08-02 17:15 ` Adriana Kobylak
2017-08-03 0:14 ` Benjamin Herrenschmidt
2017-08-03 5:55 ` Patrick Williams [this message]
[not found] ` <20170803055546.A99FA112040@b01ledav004.gho.pok.ibm.com>
2017-08-03 5:59 ` Benjamin Herrenschmidt
2017-08-07 22:02 ` Milton Miller II
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=20170803055535.GG14987@asimov \
--to=patrick@stwcx.xyz \
--cc=anoo@linux.vnet.ibm.com \
--cc=benh@au1.ibm.com \
--cc=maxims@google.com \
--cc=openbmc@lists.ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.