From: Ranga Raju B <brraju@hyd.hellosoft.com>
To: linux-mtd@lists.infradead.org
Subject: NAND Driver in case of NAND Flash Controller
Date: Mon, 02 Jul 2007 16:37:09 +0530 [thread overview]
Message-ID: <4688DC5D.3070909@hyd.hellosoft.com> (raw)
Hi,
I need to write a Linux MTD NAND Driver for an SoC. It has NAND
Flash Controller (ARASAN NAND Flash Controller) and I am using a 2Gb
Micron NAND Flash. The MTD drivers I currently see in the Linux tree are
basically having the NAND Flash connected directly to the processors
using GPIO or Address Lines. In this case it is appropriate to write
callback functions for
hwcontrol
dev_ready
write_byte
read_byte
verify_byte
write_buf
read_buf
verify_buf
Since the IO data lines and control lines are controlled directly by the
processor.
In case of NAND flash controller we don't have this controller. We need
to program only the registers and we can get status only from the status
registers. We have data ports
which can take only 512 bytes at a time. Has anyone written the Linux
driver for this kind of situation?
I have control only at stage 1. Which are nothing but memory mapped
interface.
1 2
ARM ---> NAND Flash Controller ---> NAND Flash
I don't know where to start this driver. I intend to use JFFS2 over
MTD partitions.
Best regards
Ranga Raju B
next reply other threads:[~2007-07-02 11:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-02 11:07 Ranga Raju B [this message]
2007-07-02 12:38 ` NAND Driver in case of NAND Flash Controller Josh Boyer
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=4688DC5D.3070909@hyd.hellosoft.com \
--to=brraju@hyd.hellosoft.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