From: jean-francois simon <jfs@themis.com>
To: linux-mtd@lists.infradead.org
Subject: mpc8270 and 64bit flash geometry
Date: Fri, 26 May 2006 19:05:54 +0200 [thread overview]
Message-ID: <44773572.7000809@themis.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii; format=flowed, Size: 1594 bytes --]
Hello,
We have designed a board using the mpc8270 and have problm
accessing the fLASH using linux-2.6.15.1
We have placed the FLASH on the 60x bus. Here is the geometry:
-FLASH Part number: M29DW640D70ZA1
-There are 2 Flash Memory Banks of 32MB each. So each bank has 4
chips that are banked to form a 64b wide bus.
-Write to FLASH: as we have a single WE signal per bank, the
write operation is done 64bits at a time. That is the CPU has to
generate a 64bit write. It can't write in 8,16,32bit mode.
With that in mind I have selected an interleave of 4 and
bankwidth of 8.
We now know this single WE poses problem. From reading the
archive it seems there is a work around by defining a write
routine in the map driver that uses the 64b load/store floating
point instrcutions.
So I have done that, but I still can't do an "eraseall" (it will
panic the system).
Besides the specific write routine, anything else I need to do?
Or the MTD code will simply not work with this kind of geometry?
Looking at the code, I have one question: SHould
./mtd/chips/cfi_probe.c:cfi_probe_chip() be called for _every_
flash chip? It seems to be called only once per bank.
Thanks
Best regards,
_______________________________________
jean-francois simon - themis computer
5, rue irene joliot curie
38330 eybens - france
+33 (0)870 448 638
+33 (0)4 76 14 77 85 - jfs@themis.com
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
next reply other threads:[~2006-05-26 17:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-26 17:05 jean-francois simon [this message]
2006-05-26 17:31 ` mpc8270 and 64bit flash geometry David Woodhouse
2006-05-26 18:53 ` jean-francois simon
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=44773572.7000809@themis.com \
--to=jfs@themis.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.