From: Fabrice Gautier <gautier@email.enst.fr>
To: mtd@infradead.org
Subject: STPC and Macronix Flash.
Date: Mon, 23 Apr 2001 03:22:14 +0200 [thread overview]
Message-ID: <20010423030902.1FEC.GAUTIER@email.enst.fr> (raw)
Hi,
I have this cutom STPC board with this odd Macronix Flash (MX29F1610)
i'm trying to deal with. So i've tried to write an mtd driver for this.
For now the driver should just try to read the Device ID.
First problem is: In order to enable the flash i have to write in an
STPC register (a RAM controller register) which open a memory hole.
Then the flash should be mapped to 0x2a00000 so i'm doing an ioremap and
using the return value to access the flash. Just like it is done in
physmap.c and oher.
But I can't even get anything. The sample code from Macronix I'm using
gave good result an VxWorks and eCos. I personnally tested the code for
eCos so i'm quite sure i'm doing the right thing from the flash point of
view, but i'm thinking that maybe i get something wrong with the virtual
memory mapping. (There's no virtual memory stuff in eCos so it's very
simple)
And anyway is it really safe to manipulate the RAM controller in the mtd
driver? Didn't that would mess up with linux virtual memory managment?
Is there anyone doing things like that with an STPC ?
Thanks
--
Fabrice Gautier <gautier@email.enstfr>
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next reply other threads:[~2001-04-23 1:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-23 1:22 Fabrice Gautier [this message]
2001-04-23 9:20 ` STPC and Macronix Flash David Woodhouse
2001-04-23 10:14 ` Fabrice Gautier
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=20010423030902.1FEC.GAUTIER@email.enst.fr \
--to=gautier@email.enst.fr \
--cc=mtd@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