Need help with a MMC/SD Mod on a WRT54GL v1.1 Mod

Discussion in 'DD-WRT Firmware' started by AmyGrrl, Jan 4, 2007.

  1. AmyGrrl

    AmyGrrl Network Guru Member

    I was looking at running a TFTP Server on my WRT54GL v1.1. So I switched from HyperWRT/Thibor15c to DD-WRT v23 SP2. I learned that my flash space on my router is too small to run JFFS. Then I learned I could do a MMC/SD Mod to my WRT54GL v1.1 and use it to install IPKG Packages so I could run atftpd. The problem is that I have searched for a few hours now.. and have yet to find schematics on how to do this for my version of router... could someone help me find the schematics... and what is the min/max size SD Card that can be used...

    I hope I posted this question in the right forum... if not please move it... all while I'm asking for help... how to I disable the Wireless setup button on the front of the router...
  2. tekunix

    tekunix LI Guru Member

  3. AmyGrrl

    AmyGrrl Network Guru Member

    Just looking for a little clarifaction. Just want to make sure this is correct... so I understand GPO5 gets soldered to GPO2... The only thing I was wondering about was GND... do I solder both GND on the SD Card to the Board?

    Ok, I'm a little fustrated now... I had it working.. then I put it all back together.. and it won't work.. I can't tell if its the solder points.. or the connecter that connects to the SD Card thats making it not work now...
  4. AmyGrrl

    AmyGrrl Network Guru Member

    Woot! I finally got it working! I just need to get the card to format in the ext2 file system now.. I'll save that for anther day....

    [​IMG] [​IMG]
  5. xabolcs

    xabolcs LI Guru Member


    wich schema did you use?
    the next one?
    • pin1 - gpio7
    • pin2 - gpio2
    • pin3 - ground
    • pin4 - +3.3V
    • pin5 - gpio3
    • pin6 - another gnd
    • pin7 - gpio4

    and wich mmc driver are you using??? dd-wrt's built-in?
    or simple edited by hand, and compiled?

    there are few hopeful words about a modified driver
    but it likes almost dead :(
    once again:
    great work!!
  6. AmyGrrl

    AmyGrrl Network Guru Member

    I'm just using the DD-WRT Driver... but from what I read.. is that DD-WRT should auto format the card with ext2... but I don't think it is...

    <0>mmc: Device does not use old GPIO layout, trying to use new GPIO layout
    <0>Size = 249856, hardsectsize = 512, sectors = 499712
    <6>Partition check:
    <6> mmca: p1
    <0>EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

    How do I format get the card?
  7. azeari

    azeari LI Guru Member

    from what i can see, the card is already formatted =P
  8. AmyGrrl

    AmyGrrl Network Guru Member

    ok.. I just wasn't sure about that warning line.. I just need to learn how to use the thing now.. lol
  9. azeari

    azeari LI Guru Member

    okie here goes.
    the warning line, which will state either unchecked, or unclean filesystem is what you'd get when you power on a linux system that wasn't properly shut down earlier. e2fsck is just a linux equavalant of chkdsk or scandsk
  10. AmyGrrl

    AmyGrrl Network Guru Member

    I've having troubles getting things working... I've been reading the Wiki.. but I can't find anything on MMC/SD use... like up to upload a file to the SD Card... I want to install a TFTP sever and so I have JFFS enabled because I need JFFS enabled so I can install a IPKG Package... I tried using 'ipkg -d mmc install URL'.. to install but I keep getting an error about not being able to download the file.... once I get the thing installed... is it always going to run even if the router reboots? do I need to have the ipkg package uploaded to the SD Card and have a startup script install the ipkg package to the SD Card?
  11. azeari

    azeari LI Guru Member

    hmmz i'm not sure of that cuz i don't use dd-wrt myself :p but u shouldn't need to reinstall it per reboot since the sd card is non-volitile.

    I'm guessing your problem is either the server being down or an inproperly typed url. try downloading the ipkg file onto your computer first. if it works, get it onto a windows/samba share and ipkg install from there.

    you might also wanna try these first

    ipkg update
    ipkg list <--if tftp's on the list, u can just "ipkg -d mmc tftp" or something. personally i'd use "ipkg -d /mmc tftp" instead though =)

    while i can guarentee the ipkg will remain installed, i don't know whether it'll create a startup script for you. Try rebooting after a successful ipkg installation. The wiki link below is your friend if u happen to need to write one.
  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