Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Results 1 to 12 of 12
  1. #1
    Târnacopist Expert
    Join Date
    Dec 2005
    Location
    /home/satwien/
    Posts
    6,001
    Posts Thanks / Likes

    Default Mai multa memorie pentru WRT54GL

    Intr-un alt topic, mai multi ne-am blocat la aceeasi problema. Cum sa-i dam mai multa memorie routerului nostru drag?
    Variantele identificare de mine pana acum nu le-am putut pune in practica, se pare ca mai am de invatat destul Linux.

    Deci ... CIFS, Mount, CF/SD cards cam astea cred ca ar fi subiectele.

  2. #2
    Gold Member Expert
    RDI - Board Default Avatar

    Join Date
    Sep 2005
    Location
    Tr. Severin
    Posts
    3,273
    Posts Thanks / Likes

    Default

    -Fizic : inlocuiesti chipul sdram cu unul mai capabil ( dificil dar posibil ) .
    -Fizic : montezi un sdcard ( aproape banal )
    -Psihic : montezi logic un director dintr un server NFS .
    -Metafizic :rulezi debian

  3. #3
    Târnacopist Expert
    Join Date
    Dec 2005
    Location
    /home/satwien/
    Posts
    6,001
    Posts Thanks / Likes

    Default

    Quote Originally Posted by smv167 View Post
    -Fizic : inlocuiesti chipul sdram cu unul mai capabil ( dificil dar posibil ) .
    -Fizic : montezi un sdcard ( aproape banal )
    -Psihic : montezi logic un director dintr un server NFS .
    -Metafizic :rulezi debian
    Pentru ca fizicul si metafizicul nu sunt punctele mele forte, iti propun sa ramanem la server-ul NFS. Dreamul poate constitui un astfel de suport psihic, cu un folder deschis pe CF-ul mariminos . Din pacate, figura asta am incercat-o mai de mult, fara succes, din pacate. Am incercat-o din Flash Wizard, necunoscuta fiindu-mi calea cea dreapta (adica comenzile Linux, in limbajul muritorilor).
    Care ar fi comenzile pentru "sharuirea" unui folder dintr-un server NFS?

  4. #4
    Junior Member Teacher
    Join Date
    Oct 2004
    Location
    Iasi
    Posts
    372
    Posts Thanks / Likes

    Default

    Cel mai usor e sa pui un mini-SD card.Ca sa nu mai cauti un socket pentru el folosesti un adaptor microSD care vine acum impreuna cu toate telefoanele mobile prevazute cu miniSD card. Pe microSD adaptor se poate lipi foarte usor si la fel de simplu e sa gasesti un loc pentru el in routerul Lynksys WRT54 Gxx.
    VU+duo/VU+Ultimo/DM800/AL Offset 1,95/toroidal 90 16lnb/;

  5. #5
    Târnacopist Expert
    Join Date
    Dec 2005
    Location
    /home/satwien/
    Posts
    6,001
    Posts Thanks / Likes

    Default

    Quote Originally Posted by vasilel View Post
    Cel mai usor e sa pui un mini-SD card.Ca sa nu mai cauti un socket pentru el folosesti un adaptor microSD care vine acum impreuna cu toate telefoanele mobile prevazute cu miniSD card. Pe microSD adaptor se poate lipi foarte usor si la fel de simplu e sa gasesti un loc pentru el in routerul Lynksys WRT54 Gxx.
    Ai un link sau mai multe detalii?

  6. #6
    Banned
    RDI - Board Banned Avatar

    Join Date
    Apr 2003
    Posts
    28
    Posts Thanks / Likes

    Default

    Ai incercat sa iti deblochezi memoria si din 16 Mb sa o faci 32 Mb ?

  7. #7
    Junior Member Teacher
    Join Date
    Oct 2004
    Location
    Iasi
    Posts
    372
    Posts Thanks / Likes

    Default

    Quote Originally Posted by SatWien View Post
    Ai un link sau mai multe detalii?
    Acum ma ocup de asta.Imediat ce termin o sa postez detalii.
    VU+duo/VU+Ultimo/DM800/AL Offset 1,95/toroidal 90 16lnb/;

  8. #8
    Gold Member Expert
    RDI - Board Default Avatar

    Join Date
    Sep 2005
    Location
    Tr. Severin
    Posts
    3,273
    Posts Thanks / Likes

    Default

    Quote Originally Posted by ********* View Post
    Ai incercat sa iti deblochezi memoria si din 16 Mb sa o faci 32 Mb ?
    Asta se face la Asus wl500g d/p dupa flashuire cu openwrt/ddwrt care sint croite pt linksys care fizic au 16MB.

  9. #9
    Junior Member Teacher
    Join Date
    Oct 2004
    Location
    Iasi
    Posts
    372
    Posts Thanks / Likes

    Default

    Installing an SD card to a Linksys WRT54GL
    So your after more space on your Linksys? well who isn't!, all the credit goes to http://kiel.kool.dk/ and OpenWRT website for all the wealth of information they all have provided.



    What is needed
    Soldering iron with some soldering skill
    some thin wire
    SD card (max 2gig; we tested with 256meg)
    SD card reader board (unless you solder the card)
    Linksys WRT54GL V1 and V1.1



    Extra parts
    We picked up some extra things from jaycar for this like the sd card reader for about $3.45 for a box of 10 (CAT. NO. PS0024 from jaycar.com.au)
    we also grabbed a bag of hookup wire for a few dollars for an assortment of coloured wire to use, which is again all at jaycar.


    Starting off

    Click-for-larger-image


    Description GPIO
    Pin 1 - CS, Chip select GPIO 7
    Pin 2 - DI, Data in GPIO2
    Pin 3 - VSS, Ground GND
    Pin 4 - VDD, 3.3v 3.3v
    Pin 5 - CLK, Clock GPIO3
    Pin 6 - VSS2, Ground GND
    Pin 7 - DO, Data out GPIO4



    Solder points
    First things first, I would suggest downloading the GPIO program from OpenWRT, the package contains a compiled version of GPIO program and the source code to compile it your self if need be, the package is located at: http://downloads.openwrt.org/utils/gpio.tar.gz

    If you downloaded and installed the GPIO and installed to /bin/ you can now check all your points with a multimeter to see if the GPIO is turning on and off, you can run a script that will turn it on and off: I did this with a small command I found on the OpenWRT website.

    OpenWRT GPIO
    while true; do gpio enable 2; sleep 1; gpio disable25; sleep 1; done



    You will need to solder some small wires to each point and attach them to the correct pin on the SD/MMC card. The first 2 solder points are located at the front near the Cisco button.



    Click-for-larger-image



    The 3rd and 4th solder points are located underneath the the board under the Cisco switch and on the bottom of the DMZ LED.



    Click-for-larger-image



    The 5th and 6th solder points are located near the JP2.



    Click-for-larger-image



    After these wires are all soldered on and checked for connectivity, we need to match them to the correct pin on the SD/MMC card.

    Follow the table at the top of the page to match the GPIO to the pins on the back of the SD/MMC holder or card.

    Pin 6 is a ground as well (on the sd card holder), I found it easier to make a very short bridge wire and bridge it over to pin 2 (on the sd card holder) which is also needs to be a ground.




    Installing the driver
    After that is all done, its time to get the driver for the SD/MMC mod on your Linksys, I have found one of the easiest ways to get the mmc and all the correct settings is to install freifunk-sdcard and freifunk-sdinit,
    as the package freifunk-sdcard is for the original sdcard mod after this is install we will need to overwrite the module it installs.

    To install the packages make sure you have the Freifunk source added to your ipkg.conf.

    ipkg.conf
    src freifunk http://styx.commando.de/sven-ola/ipkg/packages



    after thats been added to your /etc/ipkg.conf
    run ipkg update after that runs with no problems you can install the packages mentioned with:

    ipkg
    ipkg install freifunk-sdcard freifunk-sdinit


    note: the mmc.o that Freifunk provides doesn't work with the WRT54GL SD mod but it gives us everything else, but the following shows how and where to put the one made for WRT54GL to get this mod working

    after the packages are installed we can move on to installing the correct driver for the SD card on the WRT54GL.


    There are two ways to get this done, you can either download the driver for OpenWRT RC5 based firmwares, or you can build the driver your self which is much more fun .


    Option A

    The first way we will go through downloading the module. You can grab the binary from here



    Option B
    Now the second way is compiling the module which is pretty easy if you have Linux, but if you are using windows it involves slightly more steps and will involve you having Linux in a VMware session, the steps of creating a build environment for OpenWRT found here for a windows user, otherwise if you have a normal Linux install the steps are the same as the above but which can be found here as well.

    You will need to grab a copy of the Makefile which can be found here, and a copy of the mmc.c source file, which can be found here.

    After you have the files you will need to edit the make file to point the required sections at your installed build environment, change the following CC and Include sections to match your own setup, here is an example of the Makefile

    Makefile Example
    TARGET := mmc
    WARN := -W -Wall -Wstrict-prototypes -Wmissing-prototypes -fno-strict-aliasing -mips32
    INCLUDE := -isystem /home/themesh/openwrtbuild/whiterussian/build_mipsel/linux/include
    CFLAGS := -O2 -DMODULE -D__KERNEL__ ${WARN} ${INCLUDE} -fno-pic -mno-abicalls -mlong-calls
    CC := /home/themesh/openwrtbuild/whiterussian/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc

    ${TARGET}.o: ${TARGET}.c



    After that is done a quick command of make should spit out a file called mmc.o keep this file as you will need to upload it to your linksys.




    Finishing off
    After you have downloaded or compiled the module and installed the Freifunk packages, you can now overwrite the module Freifunk installed as its for the original mod of the sd card for the linksys.

    You will need to copy the file over how ever you see fit to the folder
    /lib/modules/2.4.30/ and over write the old mmc.o (this mmc.o was installed from the Freifunk packages we installed earlier and is the file that doesn't work for the WRT54GL Sd mod)

    You can now reboot the router with the command reboot.



    All finished, now what?
    After you have everything running fine what can you do now?
    Well you can use it to install more packages on to the linksys and OpenWRT have a good guide on how to do this.

    http://wiki.openwrt.org/PackagesOnExternalMediaHowTo

    If you are having problems with configuration in OpenWrt? and X-Wrt? firmware you can go to: http://www.digitalincursion.net/wrt54gl.html


    Links

    http://kiel.kool.dk/
    http://wiki.openwrt.org/OpenWrtDocs/...g/Hardware/MMC
    http://uanr.com/sdfloppy/
    http://www.digitalincursion.net/wrt54gl.html
    http://www.frontiernet.net/~beakmyn/...t%20Server.htm
    VU+duo/VU+Ultimo/DM800/AL Offset 1,95/toroidal 90 16lnb/;

  10. #10
    Târnacopist Expert
    Join Date
    Dec 2005
    Location
    /home/satwien/
    Posts
    6,001
    Posts Thanks / Likes

    Default

    Merci mult, pare foarte interesant

  11. #11
    Junior Member Teacher
    Join Date
    Oct 2004
    Location
    Iasi
    Posts
    372
    Posts Thanks / Likes

    Default

    Dupa ce am montat SD card-ul:

    MMC/SD Card SupportMMC DeviceEnable Disable
    GPIO pins selectAuto Manual
    GPIO pinsDI: D0: CLK: CS:
    Total / Free Size116.19 MB / 116.18 MB

    cu :
    Firmware: DD-WRT v24 RC-4 (10/10/07) std

    il vede fara sa pui drivere sau alte minuni.
    VU+duo/VU+Ultimo/DM800/AL Offset 1,95/toroidal 90 16lnb/;

  12. #12
    Junior Member Teacher
    Join Date
    Oct 2004
    Location
    Iasi
    Posts
    372
    Posts Thanks / Likes

    Default

    Am mai gasit un card prin casa:
    JFFS264.00 KB / 0 MMC472.89 MB / 472
    VU+duo/VU+Ultimo/DM800/AL Offset 1,95/toroidal 90 16lnb/;

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top