Networking Forums

Networking Forums > Wireless Networking > Wireless Internet > Finding GPIO pins on motherboard

Reply
Thread Tools Display Modes

Finding GPIO pins on motherboard

 
 
fcache@gmail.com
Guest
Posts: n/a

 
      07-12-2007, 07:13 PM
Yo,

I've just started working with Linksys routers and loading open source
Linux on them for an enhanced feature set and I've found problem lies
with the limited amount of flash memory that these units have. To
increase the router's available flash, you have to hack the mother
board by finding the GPIO pins and running wires from them to an SD
slot. The instructions for this procedure for the WRT54G with a
BROADCOM BCM47are here: http://wiki.openwrt.org/OpenWrtDocs/...g/Hardware/MMC

My problem is that I have a newer WRT350N router with a BROADCOM 4705
cpu. What would be a generalized procedure for finding the GPIO pins
for this motherboard?

Thanx,
Ed

 
Reply With Quote
 
 
 
 
Jeff Liebermann
Guest
Posts: n/a

 
      07-12-2007, 07:24 PM
(E-Mail Removed) hath wroth:

>Yo,
>
>I've just started working with Linksys routers and loading open source
>Linux on them for an enhanced feature set and I've found problem lies
>with the limited amount of flash memory that these units have. To
>increase the router's available flash, you have to hack the mother
>board by finding the GPIO pins and running wires from them to an SD
>slot. The instructions for this procedure for the WRT54G with a
>BROADCOM BCM47are here: http://wiki.openwrt.org/OpenWrtDocs/...g/Hardware/MMC
>
>My problem is that I have a newer WRT350N router with a BROADCOM 4705
>cpu. What would be a generalized procedure for finding the GPIO pins
>for this motherboard?


From the above URL, I find:
A good way to test the pin allocations is with the gpio utility
and a script to toggle the GPIO pin periodically, then search for
the pin with a digital multimeter or oscilloscope probe. I toggled
the pins with the following single line in the shell (example for
GPIO 5):

while true
do
gpio enable 5
sleep 1
gpio disable 5
sleep 1
done

(Note that I fixe the shell script syntax slightly)

Basically, run the GPIO utility supplied, run the above script, get
out your oscillosocpe, and start testing pins. There's a chance that
the GPIP utility might not work, but you'll find out soon enough.

I think this is one case where trial and error might be more useful
than digging for the info. If all else fails, find someone with a
Broadcom 4705?? data sheet, that hasn't signed an NDA, and it should
show the pins on the pinout diagram.


--
Jeff Liebermann (E-Mail Removed)
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558
 
Reply With Quote
 
panteltje@yahoo.com
Guest
Posts: n/a

 
      07-12-2007, 09:24 PM
On 12 jul, 21:13, fca...@gmail.com wrote:
> Yo,
>
> I've just started working with Linksys routers and loading open source
> Linux on them for an enhanced feature set and I've found problem lies
> with the limited amount of flash memory that these units have. To
> increase the router's available flash, you have to hack the mother
> board by finding the GPIO pins and running wires from them to an SD
> slot. The instructions for this procedure for the WRT54G with a
> BROADCOM BCM47are here:http://wiki.openwrt.org/OpenWrtDocs/...g/Hardware/MMC
>
> My problem is that I have a newer WRT350N router with a BROADCOM 4705
> cpu. What would be a generalized procedure for finding the GPIO pins
> for this motherboard?
>
> Thanx,
> Ed


I did it on a WAP54G V31 (the link to my site is on the above link),
and
for the SDcard you need 4 basic signals, DI DO Clock and CE.
The obvious was to use the LEDs (2 are on a GPIO port) and switches.
Problem was there were only 2, SES and reset switch.
In this version Linksys polls the reset and SES switches!!
The polling routines (that are non-GPL anyways) need to be removed..
so
the GPIOs can be used.
Maybe that model of yours has more switches.
To find which GPIO is connected to what, you need to make a serial
port connection, or a telnet connection by uploading new firmware,
then
run gpio from that.
There is a gpio.c test routine C source you can download:
http://downloads.openwrt.org/people/nbd/tmp/gpio.c a gpio test
routine that you
Here you can read more about using it:
http://forum.openwrt.org/viewtopic.php?id=7839

Download the Linksys sources for your box from
http://www-au.linksys.com/servlet/Sa...n%2FVisitorWra

and make sure you can compile it, and have a backup of the firmware.
The best is if you can make a backup of the whole FLASH via JTAG,
but I dunno if there is JTAG soft for your box, I had to modify some
to make it
work on my processor, see my site.
Without the JTAG debrick I would have had to throw my box in the
trash....
It stopped working after downloading _others_ firmware from the web.
This because mine had only 2 MB FLASH,.
Be warned.
More here:
http://panteltje.com/panteltje/wap54g/index.html


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PCCard pins shorting PCMCIA port? thetao Wireless Internet 0 11-08-2007 06:50 PM
Motherboard and LAN interface mina@meilta.invalid Linux Networking 2 03-24-2006 07:47 AM
pins gone pong Phil Pykett Home Networking 10 07-03-2005 06:02 PM
P3 motherboard recommendation Scampi Home Networking 0 04-11-2004 09:45 AM
Motherboard Brendon Home Networking 2 07-12-2003 03:02 PM



1 2 3 4 5 6 7 8 9 10 11