Block device as MTD
Hi,
I found in the past some very good data sheets from SanDisk and Hitachi (among others). Of course, they are not the original specs, but they provide some very usefull application examples.
CF and PCMCIA flash are very similar in programming: both can be used either as an IDE drive, or as a raw flash device. I don't remember if it's a pin selection or an init command that triggers the mode change.
--
Michel Stempin
MIS
COM One SA, 11 parc de Marticot, 33610 CESTAS, FRANCE
Tel: +33(0)5 57 97 72 72
Fax: +33(0)5 56 78 84 78
Email: [email protected]
Quoted 56 lines
-----Message d'origine-----
De : [email protected] [mailto:[email protected]]De la part de Simon Evans Envoyé : jeudi 28 juin 2001 00:03
À : Felix Radensky
Cc : [email protected]
Objet : Re: Block device as MTDHi,
Basically it wont work. blkmtd isnt actually a driver more a translation layer. If you want to talk to CF cards directly, you'll have to write an MTD driver for it. I dont know much about CF cards as I have always used them as IDE drives, but you may want to look at the PCMCIA utils
memory_csdriver. I think CF cards can appear as regular PCMCIA flash memory cards until a bit is enabled that puts them into IDE mode.I tried a test once using the
memory_csdriver on a CF and whilst it gave me some memory regions, they werent the correct size. Basically, you'll have to do some hacking around on the driver to get it to work but I dont know where to find specs for CF cards.the PCMCIA stuff is at http://pcmcia-cs.sourceforge.net/
My next project is to write an MTD driver for PCMCIA flash cards (not CF) and if I get that working, im going to try and have a go at CF after that.
cheers
siQuoted 3 lines
Hi,
We have CF slot on our board, but no IDE controllers. Can I
still use your
Quoted 6 lines
blkmtd.cdriver to access CF ? If not, what approach should I take to utilize
CF (adding IDE controller is not an option) ?Thanks in advance.
Quoted 8 lines
Felix.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/