From: Thomas Gleixner <tglx@linutronix.de>
To: "David A. Marlin" <dmarlin@redhat.com>
Cc: MTD List <linux-mtd@lists.infradead.org>
Subject: Re: NAND fail testing
Date: Thu, 13 Jan 2005 18:48:03 +0100 [thread overview]
Message-ID: <1105638483.5993.2.camel@lap02.tec.linutronix.de> (raw)
In-Reply-To: <41E699F9.10704@redhat.com>
On Thu, 2005-01-13 at 16:55, David A. Marlin wrote:
> Is there a simple way (using existing drivers and utilities) to "wear
> out" one byte on a NAND type chip by repeatedly rewriting a single byte
> (single address)?
>
> I want to cause a single byte failure on a chip in order to perform
> tests on erase and write error processing, but I only see how to write a
> 'page' of data, not a single address.
>
We have blocked the access to short writes. You can do the following:
Erase a block from userspace with flash_erase
Write a page of all 0xff except one byte to the first page using
nandwrite
Repeat until you get an error
tglx
next prev parent reply other threads:[~2005-01-13 17:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-13 15:55 NAND fail testing David A. Marlin
2005-01-13 17:48 ` Thomas Gleixner [this message]
2005-01-13 17:56 ` David A. Marlin
2005-01-13 18:15 ` Thomas Gleixner
2005-01-13 18:24 ` Artem B. Bityuckiy
2005-01-13 17:52 ` Charles Manning
2005-01-13 18:11 ` David A. Marlin
2005-01-13 18:12 ` Michael
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=1105638483.5993.2.camel@lap02.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=dmarlin@redhat.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