SD Card Mod

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
Shadyman
DD-WRT Novice


Joined: 24 Jun 2006
Posts: 23

PostPosted: Sun Aug 13, 2006 23:27    Post subject: SD Card Mod Reply with quote
Hey all,

I did the SD Card mod at http://support.warwick.net/~ryan/wrt54g-v4/v4_sd_done.html since I have the WRT54G v5. My WRT is running DD-wrt Micro.

How do I compile the mmc.c or put the mmc.o onto the wrt?

_________________
WRTSL54GS v1.0 with DD-WRT v23 SP3
WRT54G v5.0 with DD-WRT v24 RC6.2 Micro
My Website: http://erroraccessdenied.com
My WRT Stuff: http://erroraccessdenied.com/wrt54
Sponsor
goldserve
DD-WRT User


Joined: 07 Jun 2006
Posts: 115

PostPosted: Sun Aug 13, 2006 23:54    Post subject: Reply with quote
No need. It is built into dd-wrt. Just enable MMC once you are done. Cheers!
Shadyman
DD-WRT Novice


Joined: 24 Jun 2006
Posts: 23

PostPosted: Mon Aug 14, 2006 1:32    Post subject: Reply with quote
Cool. I used slightly different GPIO ports for my WRT like it says in the article, because the board design is slightly different. Where do I enable, and where do I change the gpio ports? :oops:

Edit:

That is, with

#define SD_DI (1 << 2)
#define SD_DO (1 << 4)
#define SD_CLK (1 << 3)
#define SD_CS (1 << 7)

_________________
WRTSL54GS v1.0 with DD-WRT v23 SP3
WRT54G v5.0 with DD-WRT v24 RC6.2 Micro
My Website: http://erroraccessdenied.com
My WRT Stuff: http://erroraccessdenied.com/wrt54
Shadyman
DD-WRT Novice


Joined: 24 Jun 2006
Posts: 23

PostPosted: Mon Aug 28, 2006 1:19    Post subject: Reply with quote
But, is there an MMC option in the DD-WRT micro?
_________________
WRTSL54GS v1.0 with DD-WRT v23 SP3
WRT54G v5.0 with DD-WRT v24 RC6.2 Micro
My Website: http://erroraccessdenied.com
My WRT Stuff: http://erroraccessdenied.com/wrt54
Matthiaz
DD-WRT Guru


Joined: 12 Jun 2006
Posts: 634

PostPosted: Mon Aug 28, 2006 11:02    Post subject: Reply with quote
Shadyman wrote:
But, is there an MMC option in the DD-WRT micro?

Nope, I dont think so. It was a waste of time... Wink
Shadyman
DD-WRT Novice


Joined: 24 Jun 2006
Posts: 23

PostPosted: Mon Aug 28, 2006 16:45    Post subject: Reply with quote
Embarassed

What about in v24?

_________________
WRTSL54GS v1.0 with DD-WRT v23 SP3
WRT54G v5.0 with DD-WRT v24 RC6.2 Micro
My Website: http://erroraccessdenied.com
My WRT Stuff: http://erroraccessdenied.com/wrt54
anectine17
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1535
Location: Idaho

PostPosted: Tue Aug 29, 2006 15:06    Post subject: Reply with quote
There's simply no room for it in the micro build given the VERY small flash in the v.5. Guess ya shoulda checked first, huh? Idea
_________________
Clear 4G Wimax.
Linksys WRT54G-TM w/14929 std-nokaid, fan-cooled, 2 GB SD mod, Primary Router.
Linksys WRT54G v.3 w/15230 std-nokaid, Client Bridge.
Linksys E2000 w/15200 "Big"
Linksys WRT54G v.4
La Fonera 2100, fan-cooled
Linksys WRT54G v.3.1
Linksys WRT54G v.1.1
Linksys WRT54GS v.1
2x Linksys WRT54G v.2.2

Peacock Thread - READ THOROUGHLY
Shadyman
DD-WRT Novice


Joined: 24 Jun 2006
Posts: 23

PostPosted: Tue Aug 29, 2006 17:44    Post subject: Reply with quote
Nothing else we could take out to make room? I mean, there isn't much point to hacking a V5 if you can't give it more room Laughing

Could I put in the JFFS Question

_________________
WRTSL54GS v1.0 with DD-WRT v23 SP3
WRT54G v5.0 with DD-WRT v24 RC6.2 Micro
My Website: http://erroraccessdenied.com
My WRT Stuff: http://erroraccessdenied.com/wrt54
GrumpY54gsv4
DD-WRT User


Joined: 07 Jun 2006
Posts: 286

PostPosted: Tue Aug 29, 2006 17:49    Post subject: Reply with quote
the jffs is a part of the flash.

you will not have access to it because you don't have enought room. You have a 2MB flash and the jffs filesystem itself, with nothing on it is 300 KB !!!!!.

_________________
- WRT54gs v4 @ 225 Mhz - DD-WRT V24 vpn -
- SD/MMC Mod 128 MB - Serial port & JTAG -
- Diversity switch removed -
Shadyman
DD-WRT Novice


Joined: 24 Jun 2006
Posts: 23

PostPosted: Tue Aug 29, 2006 17:56    Post subject: Reply with quote
Fair enough.

*stabs his v5* Rolling Eyes

_________________
WRTSL54GS v1.0 with DD-WRT v23 SP3
WRT54G v5.0 with DD-WRT v24 RC6.2 Micro
My Website: http://erroraccessdenied.com
My WRT Stuff: http://erroraccessdenied.com/wrt54
Shadyman
DD-WRT Novice


Joined: 24 Jun 2006
Posts: 23

PostPosted: Tue Aug 29, 2006 18:03    Post subject: Reply with quote
Any way to put it into memory? :?

As far as making space in the distro, the Filters.asp is 25kB, QoS.asp is 25kB... and the mmc driver is 12.2 kB. Barring any kind of installation that needs doing, I, personally, could forego the Filters and/or QoS (since I don't need them for what I'm doing) for the extra room.

Am I just talking crazy talk, or is there a way that I could package the mmc driver in (along with fat.o and msdos.o), and take out Filters.asp Confused:

fat.o is 51.8k... Again with the problems. Yeesh. *digs*

_________________
WRTSL54GS v1.0 with DD-WRT v23 SP3
WRT54G v5.0 with DD-WRT v24 RC6.2 Micro
My Website: http://erroraccessdenied.com
My WRT Stuff: http://erroraccessdenied.com/wrt54


Last edited by Shadyman on Tue Aug 29, 2006 18:19; edited 3 times in total
-RanZ-
DD-WRT Novice


Joined: 17 Jul 2006
Posts: 48

PostPosted: Tue Aug 29, 2006 18:09    Post subject: Reply with quote
What are the benefits to adding an SD card to the router?
Shadyman
DD-WRT Novice


Joined: 24 Jun 2006
Posts: 23

PostPosted: Tue Aug 29, 2006 18:12    Post subject: Reply with quote
-RanZ- wrote:
What are the benefits to adding an SD card to the router?


Usually, it's "extra storage", but in this case, it's "storage". on the v5, there is no room to do anything, so if I wanted to, say, add a feature or something, I can't. But, if I could get the SD card put in, theoretically, I could do more stuff.

_________________
WRTSL54GS v1.0 with DD-WRT v23 SP3
WRT54G v5.0 with DD-WRT v24 RC6.2 Micro
My Website: http://erroraccessdenied.com
My WRT Stuff: http://erroraccessdenied.com/wrt54
Display posts from previous:    Page 1 of 1
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