From: tglx@linutronix.de (Thomas Gleixner)
To: linux-mtd@lists.infradead.org
Subject: NAND driver
Date: Thu, 15 Apr 2004 21:50:25 +0200 [thread overview]
Message-ID: <200404152150.25570.tglx@linutronix.de> (raw)
Hi all,
the NAND driver was reworked to support the new 2K page size chips.
There is support for autoplacement of OOB data built in now, as discussed some
time ago,
Status:
JFFS2 mounts on small / large chips (current JFFS2 CVS code)
YAFFS mounts on small chips (Patch is sent to YAFFS maillist)
Some TODO's remain, like optimization of non page aligned read access and
support for the cached page programming, which is provided by the new Samsung
chips. Most of this is already designed in, but not enabled yet as I wanted
to have it working with the standard functionality first. This will happen in
the next weeks.
And of course updating the nand html documentation.
This makes some small modifications to the board drivers neccecary.
We need one additional buffer. The sizeof this buffer is oobsize * pages per
block, e.g.
blocksize 16384
pagesize 512
= 32 pages per block
* 16 byte out of band data
= 512 byte buffer
The pointer must be set _before_ calling nand_scan
The pointer for the data buffer, which was neccecary also before the change,
must be set now before calling nand_scan(), as nand_scan() contains a check
for both pointers now.
Check the modifications in autcpu12.c for reference.
I want to say thanks to
Aleph One Ltd. and Toby Churchil Ltd. They supported this work
and
llandre in Italy, who seems to be the only one in the universe who has a
board with those new chips up and running. He did all the testing.
Please check it out and help testing.
--
Thomas
________________________________________________________________________
"Free software" is a matter of liberty, not price. To understand the concept,
you should think of "free" as in "free speech,'' not as in "free beer".
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de
next reply other threads:[~2004-04-15 19:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-15 19:50 Thomas Gleixner [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-06-01 22:23 NAND driver Thomas Gleixner
2004-06-02 6:08 ` Pantelis Antoniou
2004-06-02 22:04 ` Thomas Gleixner
2008-02-25 9:54 Mark Underwood
2008-02-26 9:04 ` Mark Underwood
2008-03-26 4:57 ` RadhaKumar Pulyala
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=200404152150.25570.tglx@linutronix.de \
--to=tglx@linutronix.de \
--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