public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: manningc2@actrix.gen.nz, Paul <paul@maypaul.com>,
	linux-mtd@lists.infradead.org,
	yaffs list <yaffs@toby-churchill.org>
Subject: Re: Restore the bad block flag in OOB of  NAND flash
Date: Fri, 18 Apr 2003 00:20:58 +0200	[thread overview]
Message-ID: <200304180020.58774.tglx@linutronix.de> (raw)
In-Reply-To: <20030417204847.5409515144@desire.actrix.co.nz>

On Thursday 17 April 2003 22:49, Charles Manning wrote:
>
> One way to achieve what you want is to hack mkyaffs. mkyaffs erases the
> blocks in the partition, but first checks for bad block markers. If you
> comment out the check then it will erase the block regardless. This will
> set all the bits in the block to 1 (including the bad block marker).

Only if you hack drivers/mtd/nand/nand.c too, as there is a senity check, 
which refuses to erase bad blocks :)

-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de

  reply	other threads:[~2003-04-17 21:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-17 17:21 Restore the bad block flag in OOB of NAND flash Paul
2003-04-17 19:14 ` Thomas Gleixner
2003-04-17 20:49 ` Charles Manning
2003-04-17 22:20   ` Thomas Gleixner [this message]
2003-04-18  3:44   ` 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=200304180020.58774.tglx@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=manningc2@actrix.gen.nz \
    --cc=paul@maypaul.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