Discussion in 'Modding Forum' started by jagboy, May 14, 2005.

  1. jagboy

    jagboy Network Guru Member

  2. XCOM7

    XCOM7 Network Guru Member

    These is my next project.
    Thanks for the find.
  3. jagboy

    jagboy Network Guru Member

    i would do this too but i dont know how to compile a kernal i dont get to play with linux that much
  4. XCOM7

    XCOM7 Network Guru Member

    It would be awesome if DD-WRT kernel would be ready to support the file system...
  5. Lazybones

    Lazybones Network Guru Member

    It's probably a performance / throughput issue. Those SD cards don't have very high requirements, thats why they are used in so many portable devices.
  6. Pismire

    Pismire Network Guru Member

    I don't feel this way. Ever heard of bloatware. The more that is compiled in the bigger the end product becomes and the more resources it consumes for those that don't want it. Adding it to the source would be ok though then you could compile it in if you wanted. Compiling a source really only takes a little bit of reading and doing it. Not that hard really. Open source in a way is really all about compiling it the way YOU want it. I for one am glad that I researched on how to compile the source. Sorry getting off topic now. The SD Card looks cool.
  7. g412b

    g412b Network Guru Member

    anyone tried this / has some more info, on hardware versions other then 2.0 ?
  8. craxelburger

    craxelburger Network Guru Member


    Does anybody know where i can buy this sd-card-slot shown on the pictures?

  9. XCOM7

    XCOM7 Network Guru Member

    I bought a cheap one from Fry's Electronic I had to take it a part and just use the reader.
    They about 10 Dollars.
  10. Anonymous

    Anonymous Guest

    Just Curious... Any way to get the .bin file from the (author?) so I don't have to compile the kernel... I only have BSD computers and I'm not in the mood at taking down one of my servers to compile a kernel...

    Thanks in advance

  11. jagboy

    jagboy Network Guru Member

  12. craxelburger

    craxelburger Network Guru Member

  13. Jeffrccar

    Jeffrccar Network Guru Member

    Sorry double post :oops:
  14. Jeffrccar

    Jeffrccar Network Guru Member

    It's too bad that the WRT54G 1.1 doesn't work with the SD becuase i would do it.

    It seems Brainslayer is the Man!
    He intergraded the SD Reader to work with his newest Firmware.
    dnsmasq fixed
    pppoe module updated (2.4.3 with some mods)
    MMC/SD Card support added ( look at for HW mod)
    afterburner selection fixed...
    Download the DD-WRT Pre5 firmware
  15. jagboy

    jagboy Network Guru Member

    that is coooooooool brainslyer works fast!!!!!!

    that is crazy sd card support in dd-wrt
  16. Morpheus

    Morpheus Network Guru Member

    He is a good programmer for shore =D> =D> =D>
  17. Anonymous

    Anonymous Guest

  18. richiev

    richiev Guest

    I think it is possible to do this mod on the v2.2 hardware (from what I can tell looking at the board), but I haven't done it myself. Has anyone done this on the v2.2 hardware? If so, I would like to see pics of the solder points, as these are slightly different on the v2.2 than the one in the mentioned tutorial.

  19. Anonymous

    Anonymous Guest

    I just did this on my v3.. it took awhile but i got it.. since theres no mac chip, and hence no data lines to use after boot...

    but after a few days i got it figured out.. took more changes then i thought, but not a lot.

    im working n getting a page up with intructions..
  20. TheJake

    TheJake Network Guru Member

    GPIO 5 in a v3 WRT54G

    After working on this a bit tonight, I realized that the SD hack uses GPIO 3,4,5 and 7 (duh) Not 2,3,4 and 7.

    This is unfortunate for v3 routers... because 2 and 3 are readily accessible at the "Cisco LEDs" as is 4, the "Cisco Button". 7 is still the DMZ LED.

    Anyway, I may just recompile mmc.o to use pin 2,3,4, since it's easier than probing with my scope all night to find GPIO 5.

    Can someone post their solder points for a v3 router on the SD hack? If someone's found GPIO 5 already, it would save me some effort.

  21. TheJake

    TheJake Network Guru Member

    Fully hacked WRT54G v3 (SD & Serial Ports)

    I found the solder points for the v3 hardware myself.

    You can find some photos here.

    The photos are really bad, so I recommend you double check your solder points using the GPIO utility before soldering. Use a volt meter or o-scope.

  22. saphox

    saphox Network Guru Member

    i'm looking for the soldering points in a wrt54g....
  23. jagboy

    jagboy Network Guru Member

  24. Anonymous

    Anonymous Guest


    Hey, the platine-layout is different to the other 2(.X)-Versions.

    I have a v2.2-router and didn't know, where the gpios are located :((
  25. saphox

    saphox Network Guru Member

    yup, same problem as me.
    does anyone has some pictures of a working v2.2 sd-card mod?
  26. Anonymous

    Anonymous Guest


    It would be very nice :x

    If sb got the position of the gpios on the v2.2 layout - please post it here !!
  27. jagboy

    jagboy Network Guru Member

    try looking @ the bsr forums
  28. Anonymous

    Anonymous Guest

    What's bsr ??

    In Germany (Berlin) it's BERLINER STADTREINIGUNG *gg*
  29. u3gyxap

    u3gyxap Network Guru Member

  30. XCOM7

    XCOM7 Network Guru Member

  31. Anonymous

    Anonymous Guest

    Thanks for the links.

    On the openwrt-page, the picture(s) show the layout of the 2.0-version :x

    The v3-artivle isn't writtten yet :x :x :x
  32. Anonymous

    Anonymous Guest

    Hey, i found out the most gpios - only one is missing :x

    I can't find GPIO 3

    The homepage posted above says it's there ADM_EESK, but my wrt54g v2.2 didn't have a ADM-Chip anymore :(

    On the wrt54g v3 it should be the AMBRA LED, but my wrt54g v2.2 didn't have a AMBER LED :((

    Thanks for your great help,

  33. Anonymous

    Anonymous Guest

    no idea?

    Does nobody know, where the third gpio is located at the wrt54g v2.2 ??
  34. Anonymous

    Anonymous Guest

    I followed the discussion searching myself for the proper GPIO's. Now I had the time to find them. Here my result on a 2.2 Version:

    GPIO 3: found on Pin 3 of RP4 (near the BCM switch IC)
    GPIO 4: found near the RA13 Text label
    GPIO 5: found near the RA10 Text label
    GPIO 7: the DMZ LED (next to the LEDC7 label)

    hope this would help all of you guys. Did not test the SD card so far.

    Another idea would be to use GPIO1 (power LED) for the CS function.
    This can be found on one side of the resistor RG6. The flashing LED
    is produced through some hardware around, if GPIO1 is low, the power
    LED is flashing automatically, if it is high, then it is solid on. For the
    chip_select line I expect GPIO nearly all the time high, so it should not
    effect the Power indication too much.

    Would be interested if somebody can test this.
  35. Anonymous

    Anonymous Guest

    MEMO - I love you :)

    Thanks a lot !!! :D
  36. Anonymous

    Anonymous Guest

    Here is a picture: [​IMG]
  37. Anonymous

    Anonymous Guest

  38. jagboy

    jagboy Network Guru Member

    is there a english version of the directions on how to install a lcd screen.
  39. Anonymous

    Anonymous Guest

    Looks OK so far, but if you want to use SD-card and Display in one WRT
    then you need to use different CS signals. There is still the Power LED
    which can be used. Default ON signla is logic high, so this would be
    exactly what you need for a chip select (assumed it is active low).

    By the way, the SD card works with the GPIOs I mentioned earlier.
  40. Anonymous

    Anonymous Guest

    There is no English-Version available yet...
    If someone will translate - I'm up for it and will post it on this page.

    Yes, you have to choose between a SD-Card-Mod or a Display-Mod yet.

    I meant, you can use this howto in the way, that the gpio's are the same ones - only the description of that is different (cs, clk, etc.).

    It would be fine, if you can document with a few pictures/keywords the use of the first (Power-LED) GPIO as another CS-Output...

    But... are you sure, that it is possible to use it as CS ??
  41. Anonymous

    Anonymous Guest

    Yes I am quite shure that this will work. I have the wrt54g hw 2.2 and there the GPIO 1 is used to activate the Power LED. As I have no camera here I have to describe it:
    The GPio1 is available at the resistor RG6, where it is disabling the blink-generator when it is in the high state. You can easy verify it with the GPIO tool. As long as it is 0, the Power LED is blinking. If it is 1 the LED is solid on.
    All the wrt software does after a reset is, to set the GPIO line to 1 (high), which should be be default (inactive) state of the CS signal for the LCD.

    All other lines (clk, d_in, d_out) can be shared with the SD-card interface, especially if you don't have or use the Data_out of the LCD. All you have to do is to prevent any CS active for the LCD if there is access to the SD card and vica versa. Best would be to extend the mmc.c source by a LCD part(?) to prevent access to the Lines at the same time?

    This is a software issue but I'm hardware guy, no idea how to do this best, specially to keep the sources clean.

    Hope this gives some clarification.
  42. heezer7

    heezer7 Network Guru Member

    I have been trying to get the SD Card mod to work on my 2.2 this evening but I am left with card init errors. Here is what I did. Can you tell em if it is correct or not.

    gpoi 3 -> card pin 5
    gpoi 5 -> card pin 2

    JP2 pin 10 -> card pin 3 & 6
    JP2 pin 1 -> card pin 4

    That pin even though i do not have a switch on my 2.2 -> Card pin 7

    Finally, DMZ Led pin closest to the wifi led to Card pin 1

    Can anyone please help me figure out why it is not working?


  43. Anonymous

    Anonymous Guest

    Hey, it looks right for me. On some versions (e.g. mine v2.2) there seems to be no GND at the serial port. I used the antenna-box as ground.
    Maybe you should use a Voltmeter to proof the voltage of ~3 - 3.3 V.
  44. Anonymous

    Anonymous Guest

    Because you dont have a switch, you also dont have a resistor RA13.
    The GPIO4 signal is reaching the resistor, but not the switch solder

    Solution: either jumper the RA13 location or solder the wire on that side
    of RA13 which is facing to the processor (not to the switch. Follow the
    traces on the PCB).

    I made it on Monday and it works immediately without problems (128 MB)

  45. Anonymous

    Anonymous Guest


    I wrote the idea to use sd and lcd both to the howto-writers of the sd-card-mod.


    I don't have a sd-card nore the reader. I can't test it at this moment :x
    I only have the lcd which is not working yet.
  46. Anonymous

    Anonymous Guest

    A reader is not really required. In principle it is only a socket, where
    you can plug in the MMC / SD card. So you can also solder the wires
    directly to the MMC card, if you dont want to buy the socket. (By the
    way, this socket is nearly as expensive as a 64MB card. You can get
    them quite cheap in nearly any electronic shop or shops selling digital
    camera memory cards or other general electronics.

    If you can solve the software issue, I can help getting the harware
    running. My idea was, to have a generic SPI-Bus driver (which is
    nearly completely ready in mmc.c) which handles all traffic to the bus.
    This generic are then used to access MMC, LCD, others if later more
    devices would be added to this bus.)

    The first thing is to get the LCD running. I dont have the LCD, but the
    MMC running...

  47. jagboy

    jagboy Network Guru Member

    btw i justed wanted to sneak a question in, what soldering iorn do you guys use. and will cold heat do the trick.
  48. Anonymous

    Anonymous Guest

    what do you mean with "cold heat"

    I am using an ERSA MS6000, an older electronic solder station, with pencil type solder tip. What you need in addition is a lot of training and some calm fingers (and good eyes). With enough training you can do it even with not so professional equipment (as always in life).
    So: any temperature controlled solder tool should be OK. If possible use it
    with antistatic option (grounding via 100k resistor). Otherwise it can happen that you damage the integrated circuits.

  49. jagboy

    jagboy Network Guru Member

  50. heezer7

    heezer7 Network Guru Member

    Well, I spent an hour or two last night trying to get this to work again. NO luck. I still get card init errors. I moved the front wire to be before where the resistor would be if I had a switch. After following the traces it makes sense :) I also tested my ground and it was ok, but I tried moving it around anyway. I also tried switching which side of the dmz led I was attaching to. No luck thus far. Any more advice from out there?

    Oh, and I solder directly to the card. It is a bit hard to get the wires to stick at first, but eventually they will stay.
  51. Anonymous

    Anonymous Guest

    What you should do next is to use the GPIO utility (see and set the different GPIO lines enabled and disabled, test with a multimeter the logic levels AT THE SD CARD PADs. If all signals are reaching the correct pads, the software has to work as well (assumed you used the proper "#defines ..." for the signals in mmc.c) but the default defines are OK if you solder the wires as discussed here or in openwrt.

    If it still does not work then your card is damaged. Soldering to the card directly without temperature controlled solder tools is critical from my point of view, but of course possible.

    jagboy: I had a look to the coldheat tool. Nice for mobile use, but personally I would not use it for such precise solder task as it is required with the SD-card installation, even if it would be possible with enough experiance.

  52. jagboy

    jagboy Network Guru Member

    thanks, this looks way to complicated. i am not even going to bother. and plus i dont even i have a sd card to begin with. [/quote]
  53. Anonymous

    Anonymous Guest

    this cold heat solder thing is total crap. it's too heavy and too big for soldering smd-components...

    ERSA rules! ;)
  54. Anonymous

    Anonymous Guest

    For me the sw-part is way too complicated!

    By the way - "buying a card": if you can get a MMC card, then it is cheaper to buy this one instead getting a SD card. The physical dimensions are the same, but the SD card has some more pins and also has more functionality (secure data mode). The nice thing is, that the SD card can be operated in the so calle SPI mode, where it looks electrically exactly like an ordinary MMC card.
    In the wrt implementation only this common mode is implemented, which gives us the choice to select any of them.

  55. jagboy

    jagboy Network Guru Member


    btw what do you guys put on the sd card or mmc card?.mp3 files? [/quote]
  56. Anonymous

    Anonymous Guest

    Has anyone seen the pin diagrams to perform this mod on a wrt54gs v1.1 ?

    MEMO: Could I use a multimeter to test the GPIO circuits using the photo of the points for the wrt54gs v2 boards?
  57. Anonymous

    Anonymous Guest

    Yes of course you can. But if the board hardware is much different, you may need to search a long time to find the proper solder points.

    I used a script, setting and resetting one GPIO once per second. So all you have to do then is to find that point, where the signal is toggling between 3.3 and 0 Volts once per second.

    Using an oscilloscope is faster, because it is able to detect the signal even if you hold the probe tip only directly close to PCB track without directly peeking to a solder point. Of course the proper voltage settings and deflection have to be experimented. (Use a known pin like DMZ LED, where you can see also the changes directly)
    But if you found a proper setting, you can slowly "scan" with the probe all pcb-tracks and you will find the signal you are searching for. When you found the track, then just search for the next solder pad -> Voila!

  58. XCOM7

    XCOM7 Network Guru Member

    mp3 files?

    Most people use it to run ipkg's like Asterik or SIPatH.
  59. jagboy

    jagboy Network Guru Member

    ahh i thought people might use it as a nslu2 or somthing
  60. XCOM7

    XCOM7 Network Guru Member

    Dont get me wrong you could but is not worth it...

    One of my mainprojects now is Hacking a NAS and Making SIPatH work in the NAS.. But it it will be hard to do since the NAS even though it runs Linux its not open source :(
  61. heezer7

    heezer7 Network Guru Member

    Can you post this script and tell where you downloaded the GPIO program from. I still have cannot get mine to work. Any help would be awesome!
  62. RcNorth

    RcNorth Network Guru Member

    On the OpenWrtDocs site there is the following sentence

    "They created this mod for the wrt54g version 2, then I (INH) ported it to version 3. If you have another version, you are going to have to figure out how to port it.. but it shouldn't be too hard."

    Does anyone know if theSD card mod can be done to the wrt54g version 1.0?

  63. tuskan

    tuskan Network Guru Member


    does someone did that mod vith wrt54gs HV 1.0?

    is it possible to set up software side with Hyper WRT i using?

    i am friendly with solder station (have air station) but not so good with linux, so i might have some troubles with compiling ....

    please report.
  64. beakmyn

    beakmyn Network Guru Member

  65. jbassett

    jbassett Guest

    mmc\sd usage

    I too have not got this to work but am still trying. My plan is to use one com port for gps and the other will hook to the computer port under the dash of my work truck. I have one of those Davise ind. CARCHIPs in there now and do my mileage report off of the dump from the chip to excel. This works OK but I would like to add GPS to it. After the SD card, I will be trying to get GPSD working so I can also use gpsDrive on my laptop and still be dataloging. If I use copper to my laptop, the wireless will be free to be a client to my haoe or work network.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice