From: Bryan Wu <bryan.wu@analog.com>
To: linux-mtd@lists.infradead.org
Subject: [Question] How to support large page (2K size) operation with only 256/512 page size operation Nand Flash Controller?
Date: Fri, 06 Jul 2007 11:40:34 +0800 [thread overview]
Message-ID: <1183693234.22501.12.camel@roc-desktop> (raw)
Hi Folks,
This days I am developing a NAND Flash Controller driver in latest
Blackfin BF54x processor.
The read/write buffer operation without DMA can work now. The NFC
hardware supporting 256/512 page size operation, but my target NAND chip
STMicro's NAND2G (256Mbytes) is 2048 large page size.
After digging into the code (nand_base.c), I found is very difficult to
support this in my driver:
I tried to replace read_page and write_page function with HW DMA
supporting. But the page size is 2K not 256/512, I need split the whole
large page operation to 8 or 4 steps. In every step, DMA will transfer
256 or 512 bytes.
Before start every HW DMA operation, a NAND_CMD_READ0 command should be
sent to the chip following by a page address. But in my
read_page/write_page function I can't get the page address for
increasing 256/512 page size because of splitting DMA operation.
Any idea about this issue?
Thanks
Best Regards
- Bryan Wu
reply other threads:[~2007-07-06 3:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1183693234.22501.12.camel@roc-desktop \
--to=bryan.wu@analog.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