All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] UBI attach issues
Date: Mon, 1 Feb 2016 10:34:44 +0100	[thread overview]
Message-ID: <56AF26B4.7020209@denx.de> (raw)
In-Reply-To: <CAAVaN8wpEacZAvQ1rO40p8g7HEjMovEbghNLefkaXkmUrn9uSQ@mail.gmail.com>

Hello Andy,

Am 01.02.2016 um 09:58 schrieb Andy Ng:
> Dear u-boot team,
>
> Occasionally, I get corrupted rootfs if the system power goes away
> while u-boot is attaching the root file system in order to fetch the
> kernel.
>
> I am using imx6 Solo and u-boot 2013-10.
>
> Is there any way to stop uboot messing up the file system while making
> attachment of UBI? Does the latest u-boot provides a better way to
> protect the ubi file system during attachment.
>
>
> Any advice or guidance will be very much appreciated.

In principle U-Boot has the same code as Linux. Current
U-Boot uses Linux code from:

linux v4.2 commit 64291f7db5bd8150a74ad2036f1037e6a0428df2

see U-Boot commit: 0195a7bb36a0abc71145da419001377bf56662fd

2013-10 uses an older Source Base, so update to current U-Boot
is recommended... yes.

Do you see this issue also with Linux?

Do you use UBI FASTMAP?

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2016-02-01  9:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-01  8:58 [U-Boot] UBI attach issues Andy Ng
2016-02-01  9:34 ` Heiko Schocher [this message]
2016-02-01 13:42   ` Andy Ng
2016-02-02  6:49     ` Heiko Schocher

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=56AF26B4.7020209@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /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.