public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [ANN] Driver for PCMCIA Flash memory cards
@ 2002-07-02 14:11 Simon Evans
  2002-07-02 18:35 ` Kenneth Johansson
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Evans @ 2002-07-02 14:11 UTC (permalink / raw)
  To: linux-mtd

Hi,

I have written an MTD driver for PCMCIA flash memory cards. These are the
older type of PCMCIA memory cards (usually 4-16MB in size) NOT Compact Flash
cards. The driver works by mapping out the cards and providing read/write
routines then calling the chip probe functions. In this way it just acts
as a mapping driver and doesnt care about the chips used. 

It is still quite alpha and should be treated with caution,
but I have successfully tested it on 2.4.19-rc1,2.4.17(i386) and
2.4.17-rmk5(ipaq/arm) with a few different memory cards.
I have been able to setup jffs2 and transfer files between a laptop and
Ipaq successfully.

Once the code is more stable I may put it into the MTD CVS, however I'm
still figuring out some things with PCMCIA initialisation code so it
is still subject to large rewrites ;)

Anyway, if anyone is interested, it is at: http://si.org/pcmciamtd/

bugs & comments welcome ;) 

cheers
si

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

* Re: [ANN] Driver for PCMCIA Flash memory cards
  2002-07-02 14:11 [ANN] Driver for PCMCIA Flash memory cards Simon Evans
@ 2002-07-02 18:35 ` Kenneth Johansson
  0 siblings, 0 replies; 2+ messages in thread
From: Kenneth Johansson @ 2002-07-02 18:35 UTC (permalink / raw)
  To: Simon Evans; +Cc: linux-mtd

On Tue, 2002-07-02 at 16:11, Simon Evans wrote:
> 
> Hi,
> 
> I have written an MTD driver for PCMCIA flash memory cards. These are the
> older type of PCMCIA memory cards (usually 4-16MB in size) NOT Compact Flash
> cards. The driver works by mapping out the cards and providing read/write
> routines then calling the chip probe functions. In this way it just acts
> as a mapping driver and doesnt care about the chips used. 

Nice I also did a driver for this but I hardcoded everything so it was
useless for anyone but me(and mostly for me too ).

> 
> It is still quite alpha and should be treated with caution,
> but I have successfully tested it on 2.4.19-rc1,2.4.17(i386) and
> 2.4.17-rmk5(ipaq/arm) with a few different memory cards.
> I have been able to setup jffs2 and transfer files between a laptop and
> Ipaq successfully.

Is arm little endian?? one reason I did not find this so useful for me
was that I have a powerpc target and that is big endian and I could not
use it for jff2 work as the data would not work when moved from a pc to
the target. 

> Once the code is more stable I may put it into the MTD CVS, however I'm
> still figuring out some things with PCMCIA initialisation code so it
> is still subject to large rewrites ;)
> 
> Anyway, if anyone is interested, it is at: http://si.org/pcmciamtd/
> 
> bugs & comments welcome ;) 

Nice you parse the CIS data I never got around to do that. 
Any thought on partitions as I understand it you only get one region.
Perhaps creating a device node and some ioctl could solve that but It's
maybe not that important.

I'm going to test this out but I'm in the middle of some other work so
it has to wait some time. 

-- 
Kenneth Johansson	
Ericsson AB                       Tel: +46 8 404 71 83
Borgafjordsgatan 9                Fax: +46 8 404 72 72
164 80 Stockholm                  kenneth.johansson@etx.ericsson.se

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

end of thread, other threads:[~2002-07-02 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-02 14:11 [ANN] Driver for PCMCIA Flash memory cards Simon Evans
2002-07-02 18:35 ` Kenneth Johansson

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