From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] mtd: Do not write empty pages, UBI fix
Date: Wed, 20 Feb 2013 11:47:48 +0100 [thread overview]
Message-ID: <1361357270-8700-1-git-send-email-s.hauer@pengutronix.de> (raw)
This is a patch for everybody flashing UBI images to nand devices.
Since some time we no longer skip empty pages during writes which
leads to CRC errors once an UBIFS is mounted r/w on a nand device.
Sascha
----------------------------------------------------------------
Sascha Hauer (2):
mtd: nand: do not write empty pages
libubi: Use global mtd_all_ff function
drivers/mtd/core.c | 32 ++++++++++++++++++++++++++++++++
drivers/mtd/nand/nand_write.c | 10 ++++++----
include/linux/mtd/mtd.h | 2 ++
lib/libscan.c | 13 +------------
4 files changed, 41 insertions(+), 16 deletions(-)
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-02-20 10:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-20 10:47 Sascha Hauer [this message]
2013-02-20 10:47 ` [PATCH 1/2] mtd: nand: do not write empty pages Sascha Hauer
2013-02-20 10:47 ` [PATCH 2/2] libubi: Use global mtd_all_ff function Sascha Hauer
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=1361357270-8700-1-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@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