LaFonera Hardware SD-Card
From DD-WRT Wiki
Revision as of 13:10, 10 April 2007 (edit) Daemondust (Talk | contribs) (http://fghhgh.150m.com/ only has GPIO drivers, not MMC/SD card.) ← Previous diff |
Revision as of 22:07, 9 May 2007 (edit) (undo) Gulp (Talk | contribs) m (→LaFonera SD Card Hack) Next diff → |
||
Line 7: | Line 7: | ||
===Caution=== | ===Caution=== | ||
- | JFFS is enabled in 0403 and later builds | + | JFFS is enabled in 0403 and later builds. |
===Purpose=== | ===Purpose=== | ||
Line 16: | Line 16: | ||
A kernel module is required in order to use the MMC hack. | A kernel module is required in order to use the MMC hack. | ||
Using Rob Wentworth MMC drivers for [http://uanr.com/mmc/ OpenWRT] or compile [http://fghhgh.150m.com/ these] using the toolchain on your LaFonera. | Using Rob Wentworth MMC drivers for [http://uanr.com/mmc/ OpenWRT] or compile [http://fghhgh.150m.com/ these] using the toolchain on your LaFonera. | ||
+ | |||
+ | ===MMC BETA driver for the LaFonera=== | ||
+ | A beta MMC Driver for kernel 2.6 is avaible. It uses gpio bitbanging, the code is currently being reworked a bit to make it look nicer. | ||
+ | Known issues: | ||
+ | These issues will be fixed within the next days. the driver runs stable, as long as you do not insert or remove the card while the driver is loaded. | ||
+ | driver version 0.1 for fonera | ||
+ | * seg fault on rmmod -- fixed | ||
+ | * seg fault when atomic | ||
+ | * dev nodes do not get allocated automatically yet | ||
+ | * no detailed howto yet | ||
+ | Package and sourcecode of MMC Beta Driver can be downloaded here: http://phrozen.org/fonera.html | ||
+ | |||
===SDIO Pinout=== | ===SDIO Pinout=== |
Revision as of 22:07, 9 May 2007
You are here: DD-WRT wiki mainpage / LaFonera / Hardware / SD-Card
Contents |
LaFonera SD Card Hack
Caution
JFFS is enabled in 0403 and later builds.
Purpose
It would be nice to be able to attach a SD Card to the LaFonera for storage.
MMC driver for the LaFonera
A kernel module is required in order to use the MMC hack. Using Rob Wentworth MMC drivers for OpenWRT or compile these using the toolchain on your LaFonera.
MMC BETA driver for the LaFonera
A beta MMC Driver for kernel 2.6 is avaible. It uses gpio bitbanging, the code is currently being reworked a bit to make it look nicer. Known issues: These issues will be fixed within the next days. the driver runs stable, as long as you do not insert or remove the card while the driver is loaded. driver version 0.1 for fonera
* seg fault on rmmod -- fixed * seg fault when atomic * dev nodes do not get allocated automatically yet * no detailed howto yet
Package and sourcecode of MMC Beta Driver can be downloaded here: http://phrozen.org/fonera.html
SDIO Pinout
Pinout of the LaFonera according to http://kwzs.be/~kevin/ar531x/gpio%20pinout.txt
GPIO Pin on LaFonera 0 TP3 1 pin 5 of SW1 2 WLAN LED 3 pin 1 of SW1 4 pin 2 of SW1 5 RESET (!) 6 RESET button 7 pin 6 of SW1
Cheap SD Card "reader" (floppy cable)
http://uanr.com/sdfloppy/ describes how to build a SD card reader from an old 5.25 floppy drive connector. The description is for WRT but maybe this could be used with LaFonera too.
Bastard Sons of Dial-Up Episode 8 (http://BSoDtv.org/episodes.php) explains how to make an SD Card PCB.
There is a video on making a Floppy Drive SD Card Connector for embeded devices here: http://bsodtv.wiihost.net/Simple%20SD%20Card%20Connector.avi
Existing SD Card hacks for other devices
- Maybe this helps: http://forum.openwrt.org/viewtopic.php?id=8543
- And this: http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/MMC
- And this: http://wiki.openwrt.org/PackagesOnExternalMediaHowTo
- Also, there is a SDIO stack from Atheros http://source.mvista.com/~dsingleton/sdio … SDIO-linux which besdes SD cards also intends to support "SDIO USB" which sounds even more interesting :-)