LaFonera Hardware SD-Card

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:24, 22 May 2007 (edit)
Lyndon (Talk | contribs)
(Easy step-by-step instructions)
← Previous diff
Revision as of 11:37, 23 June 2007 (edit) (undo)
RfwM02 (Talk | contribs)
m
Next diff →
Line 31: Line 31:
Detailed Detailed
-Pinout of the LaFonera according to http://kwzs.be/~kevin/ar531x/gpio%20pinout.txt+Pinout of the LaFonera according to http://kwzs.be/~kevin/ar531x/gpio pinout.txt
GPIO Pin on LaFonera GPIO Pin on LaFonera
Line 51: Line 51:
Bastard Sons of Dial-Up Episode 8 (http://BSoDtv.org/episodes.php) explains how to make an SD Card PCB. 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+There is a video on making a Floppy Drive SD Card Connector for embeded devices here: http://bsodtv.wiihost.net/Simple SD Card Connector.avi
===Existing SD Card hacks for other devices=== ===Existing SD Card hacks for other devices===

Revision as of 11:37, 23 June 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 pinout.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 SD Card Connector.avi

Existing SD Card hacks for other devices