Re: Memory card block device

DCGrendel <[email protected]>
Newsgroups gmane.linux.ports.game-cube.devel
Message-ID <[email protected]>
David Remahl wrote:

> Has any work, or thought, been put into creating a driver for the 
> GameCube memory cards? I ordered a cheap 64 MB memory card, so that 
> could be a very convenient source of a reasonable amount of persistent 
> storage.
>
> I have no experience of writing neither block device drivers, nor MTD 
> drivers for Linux, so I'm unsure of what the best route is. If someone 
> knows better, I'd love to listen and do the work.
>
> There isn't that much to read about the memory card in the R.E. spec, 
> but as far as I can discern (with my limited driver and hardware 
> hacking knowledge) there aren't any gaping holes there. It should be 
> "a simple matter of programming", right?

I belive the kernel MTD stuff has support for SPI flash, so you would 
just need to add a driver there for the EXI dma/pio stuffs, which is 
quite simple. referencing the us patent #6609977 should provide you with 
most of the info, as would referencing the gclib sources, though i don't 
remember what license the gclib sources are under...
adding a gc memcard fs should also be possible using the gclib sources, 
or re-reverse engineering the fs.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.