From: Thomas Gleixner <tglx@linutronix.de>
To: Paul Wong <paul.wong@digitalview.com>,
linux-mtd@lists.infradead.org,
yaffs list <yaffs@toby-churchill.org>
Subject: Re: using MEMWRITEOOB problem in NAND flash device
Date: Fri, 18 Apr 2003 18:14:06 +0200 [thread overview]
Message-ID: <200304181814.06776.tglx@linutronix.de> (raw)
In-Reply-To: <001301c305bc$17068680$6b00a8c0@mobile>
On Friday 18 April 2003 17:06, Paul Wong wrote:
> Hi All,
> I want to restore the oob[5] using ioctl(..,MEMWRITEOOB,..) in NAND
> flash device, but it is failure to write anything. Is any protected
> condition in NAND.C?
You _CANNOT_ write a 0 bit to 1 on a FLASH chip. This works the other way
round. If you want to restore your block, remove the santity check in erase
function of nand.c.
Last answer to this
--
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de
next prev parent reply other threads:[~2003-04-18 15:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-18 15:06 using MEMWRITEOOB problem in NAND flash device Paul Wong
2003-04-18 16:14 ` Thomas Gleixner [this message]
2003-04-19 4:18 ` Paul Wong
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=200304181814.06776.tglx@linutronix.de \
--to=tglx@linutronix.de \
--cc=linux-mtd@lists.infradead.org \
--cc=paul.wong@digitalview.com \
--cc=yaffs@toby-churchill.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