Linksys WRT54GS2

Overview
"3763-14143002R" is silkscreened on the board.

Links of Interest

 * Listed on the WRT54G series page on Wikipedia
 * On the DD-WRT wiki
 * wrt54gs2 v.1 router - DD-WRT forums
 * Linksys WRT54G2 v1.3 & WRT54GS2 v1.0 Now Supported
 * Datasheet.pdf
 * Quick Install.pdf
 * User Guide.pdf

Flashing DD-WRT

 * Linksys WRT54GS2 v1.0
 * 1) Configure your computer's local lan ethernet address to 192.168.1.10, subnet 255.255.255.0, gateway 192.168.1.1 . Then connect an Ethernet cable to your computer and port 1 of your router. (Do Not Use Wireless)(Nothing else connected to router)
 * 2) Perform a Hard reset or 30/30/30.
 * 3) Open your browser to http://192.168.1.1.
 * 4) Use the firmware upgrade dialog to flash Vxworkskiller-GS2V1.bin.
 * 5) WAIT for at least five minutes before you continue! (longer is better) Give vxworks killer plenty of time to do its magic!
 * 6) You will not be able to browse the WRT54GS2v1 at this point, but you should be able to ping 192.168.1.1. If the router doesn't reply you haven't set your computer's network settings correctly (on step 1)
 * 7) Tftp the DD-WRT firmware to the router, use latest dd-wrt.v24_micro_generic.bin from the folder where you got these instructions; after sucessful tftp, wait 5 min for the router to finish writing new nvram deafults, etc... It should reboot on its own at least 2 times, so give it 5 min and then go to http://192.168.1.1 (If it not reboot on its own, wait another 2 min, and then power cycle it), you should see the password reset page. Don't worry about changing it at this point.
 * 8) Perform a Hard reset or 30/30/30.
 * 9) WAIT for at least 5 minutes before you continue! (longer is better) Give the router plenty of time to to boot.
 * 10) Browse 192.168.1.1, you should see the password reset page, change it! Then configure.
 * 11) Check for recommended builds here.

JTAG Pinouts
 nTRST 1o o2  GND TDI 3o o4  GND TDO 5o o6  GND TMS 7o o8  GND TCK 9o o10 GND nSRST 11o o12 N/C Using Universal JTAG Adapter  white 1o o2  black red 3o o4  GND blue 5o o6  GND green 7o o8  GND yellow 9o o10 GND orange 11o o12 N/C
 * /noreset switch required

DD-WRT JTAG Recovery
JTAG:


 * 1) Backup CFE x2 (Compare the files, they must match exactly or there is something wrong with your JTAG setup)
 * 2) Erase Wholeflash x2
 * 3) Flash CFE
 * 4) Unplug Power
 * 5) Unplug JTAG Cable

TFTP:


 * 1) Set Rig ip static 192.168.1.10
 * 2) Plug network cable from rig to port 1
 * 3) Get TFTP ready, server ip - 192.168.1.1, Password - blank, file - dd-wrt.v24_micro_generic.bin
 * 4) Plug in power
 * 5) As soon as windows says "connected" hit upgrade. May have to use a network hub to make sure windows is always connected.
 * 6) Hard Reset 30\30\30

Serial Pinouts
 VCC 1 o TX 3 o  RX 5 o N/C 7 o GND 9 o

DD-WRT Serial Recovery
Modified Redhawk0 instructions
 * 1) Connect Serial cable
 * 2) Start one of the programs from above
 * 3) Get TFTP ready with file selected
 * 4) Use dd-wrt.v24_micro_generic.bin
 * 5) Connect power to the router
 * 6) start a rapid fire Cntl-C as you plug the router to power
 * 7) type "nvram erase" w/o quotes, hit enter
 * 8) type "flash -noheader : flash1.trx" w/o quotes, this starts the tftp daemon, hit enter
 * 9) but have tftp.exe ready
 * 10) Click go or start on TFTP
 * 11) give it 5 minutes after it finishes
 * 12) then power cycle....hard reset...then config
 * 13) when it stops spitting out txt in the serial consol....hit the enter key...you should get a login prompt...at that point, power cycle it, Hard reset or 30/30/30...then config
 * 14) you'll see it boot up

Pictures
DarkShadow's Unit