does dd-wrt support the sd mod

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
jag7720
DD-WRT Novice


Joined: 13 Feb 2008
Posts: 14

PostPosted: Mon Feb 25, 2008 17:26    Post subject: does dd-wrt support the sd mod Reply with quote
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)

I tried the GUI enable and the command line enable... both get the same results
http://www.dd-wrt.com/wiki/index.php/Journalling_Flash_File_System
Sponsor
RenRenRen
DD-WRT User


Joined: 24 Jan 2008
Posts: 212
Location: England

PostPosted: Mon Feb 25, 2008 17:59    Post subject: Reply with quote
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)
zikronix
DD-WRT User


Joined: 21 Feb 2008
Posts: 120

PostPosted: Mon Feb 25, 2008 18:35    Post subject: Reply with quote
Hey...if i do this mod to my gl...can u use the larger firmwares like mega when it comes out.?
RenRenRen
DD-WRT User


Joined: 24 Jan 2008
Posts: 212
Location: England

PostPosted: Mon Feb 25, 2008 19:00    Post subject: Reply with quote
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)
jag7720
DD-WRT Novice


Joined: 13 Feb 2008
Posts: 14

PostPosted: Mon Feb 25, 2008 19:21    Post subject: Reply with quote
Well, How do I know what my pins are?

I used this

http://www.melilla500.com/WRT54_KARIOTA.JPG

Is the "pin" selection in the GUI for the gpio or the actual "pin" on the card.... did that make sense?


This http://www.the-mesh.org/tiki-index.php?page=LinksysSDCard
says that pin 1 is gpio7

I tried the "auto" select and I only get a 2.7mb mount
RenRenRen
DD-WRT User


Joined: 24 Jan 2008
Posts: 212
Location: England

PostPosted: Mon Feb 25, 2008 21:50    Post subject: Reply with quote
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)
jag7720
DD-WRT Novice


Joined: 13 Feb 2008
Posts: 14

PostPosted: Tue Feb 26, 2008 5:19    Post subject: Reply with quote
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?
ctadvanced
DD-WRT Novice


Joined: 03 Feb 2008
Posts: 13
Location: Northern California

PostPosted: Tue Feb 26, 2008 7:16    Post subject: Reply with quote
slightly off topic but does anyone know what the bandwidth is when pulling data off the card?
jag7720
DD-WRT Novice


Joined: 13 Feb 2008
Posts: 14

PostPosted: Tue Feb 26, 2008 14:12    Post subject: Reply with quote
ctadvanced wrote:
slightly off topic but does anyone know what the bandwidth is when pulling data off the card?


Please don't hijack threads.
NeroMaverick
DD-WRT Novice


Joined: 05 Jan 2008
Posts: 9

PostPosted: Tue Feb 26, 2008 17:14    Post subject: Reply with quote
Having the same problem as jag, I'd like to know how this is fixed as well.
pureh@te
DD-WRT Novice


Joined: 08 Feb 2008
Posts: 12

PostPosted: Tue Feb 26, 2008 21:24    Post subject: Reply with quote
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.
NeroMaverick
DD-WRT Novice


Joined: 05 Jan 2008
Posts: 9

PostPosted: Wed Feb 27, 2008 1:38    Post subject: Reply with quote
I used dmesg using putty ssh and got this in regards to the mmc

mmc: starting module with: SD_DI=0x04, SD_DO=0x10, SD_CLK=0x8, SD_CS=0x80
mmc: this board has no MMC mod installed!
mmc: error in mmc_init (-1)

Looks like the GPIO points arent pointing to the right places, but i used the correct mappings in the web interface.

Edit: should have looked up the codes before posting, they seem right according to a post i found in a forum
NeroMaverick
DD-WRT Novice


Joined: 05 Jan 2008
Posts: 9

PostPosted: Wed Feb 27, 2008 3:00    Post subject: Reply with quote
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.

Hope this helps out Jag as well.
jag7720
DD-WRT Novice


Joined: 13 Feb 2008
Posts: 14

PostPosted: Fri Feb 29, 2008 16:34    Post subject: Reply with quote
Just read this post... I will try it tonight. Thanks
jag7720
DD-WRT Novice


Joined: 13 Feb 2008
Posts: 14

PostPosted: Sat Mar 01, 2008 20:24    Post subject: Reply with quote
That didn't work for me.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum