public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* STPC and Macronix Flash.
@ 2001-04-23  1:22 Fabrice Gautier
  2001-04-23  9:20 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Gautier @ 2001-04-23  1:22 UTC (permalink / raw)
  To: mtd

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-23 10:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-23  1:22 STPC and Macronix Flash Fabrice Gautier
2001-04-23  9:20 ` David Woodhouse
2001-04-23 10:14   ` Fabrice Gautier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox