From: Angelo Dureghello <angelo70@gmail.com>
To: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Cc: dedekind1@gmail.com
Subject: Re: UBI 1MiB size partition
Date: Fri, 28 Nov 2014 10:49:27 +0100 [thread overview]
Message-ID: <54784527.8060205@gmail.com> (raw)
In-Reply-To: <1417167595.11181.5.camel@sauron.fi.intel.com>
Dear Artem,
thanks for your reply.
> UBI is a volume manager which is designed to manage the entire flash
> chip. Sometimes system designers have one or two small partitions at the
> beginning of the chip, and give the rest to UBI.
>
> You are using NAND flash, and UBI tries to reserve some amount of
> eraseblocks for bad block handling. And the count of eraseblocks to
> reserve is calculated from the entire chip size. So UBI says it wants
> 20, but reserved only 4 - all the available blocks you have. So you do
> not have any more blocks left, so you have no space.
>
> You really should re-think your design. 1MiB partition is too small,
> there are too few eraseblocks. What if one or two of them become bad?
>
Yes, i realized this. A redesign of the partition scheme is needed at this
stage.
I cannot actually change the partition scheme for some reasons connected
to the production process, but at least things are more clear now.
Regards,
Angelo
next prev parent reply other threads:[~2014-11-28 9:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 9:01 UBI 1MiB size partition Angelo Dureghello
2014-11-24 10:08 ` Richard Weinberger
2014-11-24 10:18 ` Angelo Dureghello
2014-11-24 10:21 ` Richard Weinberger
2014-11-28 9:39 ` Artem Bityutskiy
2014-11-28 9:49 ` Angelo Dureghello [this message]
2014-11-28 9:59 ` Artem Bityutskiy
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=54784527.8060205@gmail.com \
--to=angelo70@gmail.com \
--cc=dedekind1@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 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.