LaFonera Hardware SD-Card
From DD-WRT Wiki
Revision as of 03:23, 22 May 2007 (edit) Lyndon (Talk | contribs) (→SDIO Pinout) ← Previous diff |
Revision as of 03:24, 22 May 2007 (edit) (undo) Lyndon (Talk | contribs) (→Easy step-by-step instructions) Next diff → |
||
Line 43: | Line 43: | ||
7 pin 6 of SW1 | 7 pin 6 of SW1 | ||
====Easy step-by-step instructions==== | ====Easy step-by-step instructions==== | ||
- | For | + | For more detailed soldering instructions, please refer to |
[http://www.larsen-b.com/Article/262.html Fonera SD Card Hack] | [http://www.larsen-b.com/Article/262.html Fonera SD Card Hack] | ||
Revision as of 03:24, 22 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: (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
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.
Package and sourcecode of MMC Beta Driver can be downloaded here: http://phrozen.org/fonera.html
SDIO Pinout
Detailed 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
Easy step-by-step instructions
For more detailed soldering instructions, please refer to Fonera SD Card Hack
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 :-)