linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: "Steffen Kühn" <sk@ammonit.com>
To: linux-mtd@lists.infradead.org
Subject: Changing the ECC method for a running system (UBI seems to use OOB?)
Date: Thu, 11 Apr 2013 18:29:44 +0200	[thread overview]
Message-ID: <5166E4F8.5030107@ammonit.com> (raw)

Hello everyone,

the problem which I have to solve is to change the type of the used ECC
procedure for a linux system with UBIFS >>after<< the installation. For
this purpose I have modified the first-stage bootloader so, that it
reads all blocks with the old ECC method (software ECC 1-bit) and
re-writes these with the new one (on-die hardware ECC, Micron flash).

The reason for that effort is, that the old method has to be proven as
to bad (to much bit errors). Unfortunately it is not possible to install
the system new with activated on-die ECC, because the hardware is
scattered over the world.

The update procedure works in principle fine, that means, it is possible
to update the blocks for kernel, u-boot, first-stage bootloader and
environment variables. But the rootfs makes problems. Can it be, that
UBIFS uses some bytes of the OOB structures, perhaps indirect?

Have someone any hints for me?

Best regards,
Steffen

             reply	other threads:[~2013-04-11 16:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-11 16:29 Steffen Kühn [this message]
2013-04-11 16:34 ` Changing the ECC method for a running system (UBI seems to use OOB?) David Mosberger-Tang
2013-04-12  9:12   ` Steffen Kühn
2013-04-12 10:37     ` Angus CLARK

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=5166E4F8.5030107@ammonit.com \
    --to=sk@ammonit.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;
as well as URLs for NNTP newsgroup(s).