Electronics Repair (sci.electronics.repair) Discussion of repairing electronic equipment. Topics include requests for assistance, where to obtain servicing information and parts, techniques for diagnosis and repair, and annecdotes about success, failures and problems.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to sci.electronics.repair,alt.internet.wireless,comp.os.linux.hardware,sci.electronics.design,sci.electronics.misc
external usenet poster
 
Posts: 1
Default Finding GPIO pins on motherboard

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 he 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

  #2   Report Post  
Posted to sci.electronics.repair,alt.internet.wireless,comp.os.linux.hardware,sci.electronics.design,sci.electronics.misc
external usenet poster
 
Posts: 4,045
Default Finding GPIO pins on motherboard

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 he
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
150 Felker St #D
http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558
  #3   Report Post  
Posted to sci.electronics.repair,alt.internet.wireless,comp.os.linux.hardware,sci.electronics.design,sci.electronics.misc
external usenet poster
 
Posts: 2
Default Finding GPIO pins on motherboard

On 12 jul, 21:13, 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 hehttp://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...2FVis itorWra

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 he
http://panteltje.com/panteltje/wap54g/index.html


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Roll Pins Dave Plowman (News) UK diy 1 September 19th 06 10:49 PM
Why would pins 3 & 100 on a DDR DIMM fry? Unregistered Electronics Repair 14 August 31st 06 03:11 AM
finding the radio power pins netvoy Electronics Repair 10 December 7th 05 11:26 PM
acrow pins. [email protected] UK diy 8 November 29th 05 11:00 PM
Finding dowel pins in ground surface? Tom Gardner Metalworking 9 January 27th 05 02:26 AM


All times are GMT +1. The time now is 03:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"