Posted: Mon Feb 25, 2008 17:26 Post subject: does dd-wrt support the sd mod
Does DD-WRT support the SD mod on its own or do I have to install something else to get it to work?
I have a fresh WRT54gL v. 1.1 and I installed the mini flash. I did a 30 second reset and all was well.
I then upgraded to DD-WRT v23 SP2 VOIP and enabled SD/MMC
When I telnet to the router and do df -h I only get
/dev/root size = 2.8M used = 2.8M mounted on /
/dev/mtdblock/4 size = 384.0k used 324.0k on /jffs
Is there a tutorial ( I can't seem to find one) on enabling the software side of the SD mod (not the physical side) on a wrt54gl with DD-WRT (not openwrt)
You just need to enable the SD/MMC option, and set the gpio values of DI, DO, CLK and CS. After that you just have to hit Save (and Apply?) and it should format the SD card if all went well, nothing extra is needed. Are you sure all the connections are good?
There is a tutorial, but not specific to the WRT54GL. _________________ Netgear R7800, 46885 (05/06/2021)
Linksys WRT1900ACS, 46885 (05/06/2021)
You won't be able to install the mega pack, but you could install extra software on the SD card to give it near enough the same functionality. _________________ Netgear R7800, 46885 (05/06/2021)
Linksys WRT1900ACS, 46885 (05/06/2021)
The SD card pin numbers are only needed for soldering it up, the router just needs to know the which gpio numbers relate to them.
So based off their instructions,
CS = GPIO 7
DI = GPIO 2
CLK = GPIO 3
DO = GPIO 4
If you're getting around 2-3Mb space reported, then something has gone wrong (It will show that much even when an SD card isn't present). _________________ Netgear R7800, 46885 (05/06/2021)
Linksys WRT1900ACS, 46885 (05/06/2021)
Well, I don't know what I am doing wrong. I have checked and rechecked my solder joints and the correct pins. I have even used two separate routers and two separate cards. It just won't see the sd card.
Anyone know what might be going on? I have tried v23 and v24RC6... both have the same results.
I tried switching the DI and DO pins around and the system reboots over and over.... but both white and orange LEDs flash... when the DI and DO are soldered to the correct pins only the orange LED works and it has a dim mode and a bright mode.
Has anyone successfully installed the SD mod to a WRT54GL with DD-WRT? How?
I have done it and it was fairly simple. I used dd-wrt v24 beta not a rc. You have to enable /jffs as well not sure if you did that. heres my steps if it will help.
soldered card
reboot
enable jffs
save
clean jffs
apply
enable mmc
enter pins #'s (auto pin worked for me to)
reboot and it works
You can also enable ssh and ssh in after boot and do a dmesg to see what went wrong. If it says there is no mmc mod here then its a hardware problem.
After I got it going I just mount --bind /mmc/jffs /jffs so now I don't have to fool with editing the path on startup and I have a 2 gig /jffs directory.
Got it working guys! turns out, the router likes it when you format the card for it.
isnt dd-wrt supposed to format the card with ext2 automatically??
if thats true, then i suggest that whoever has this problem, get a linux live cd, run qtparted/gparted, or whatever your comfortable with and format the card to ext2.
Formatting the card to ext2 did the trick!
Thanks for all the help guys, and btw... there really needs to be some more info or details in the wiki about this or in a sticky about how to troubleshoot this stuff, It's frustrating as hell. Especially when you're getting all kinds of mixed info from the fourms.