Flash your WRT54G or WRT54GS v5 series (v5, v5.1, v6)

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:18, 24 June 2006 (edit)
68.118.111.220 (Talk)
(added link to new method w/o hardware mods)
← Previous diff
Current revision (04:59, 14 June 2010) (edit) (undo)
Leangjia (Talk | contribs)

 
(43 intermediate revisions not shown.)
Line 1: Line 1:
-'''!!! IMPORTANT UPDATE !!!'''+{{languages|Flash your WRT54G or WRT54GS v5 series (v5, v5.1, v6)}}
 +__TOC__
-A new method to flash DD-WRT micro onto a WRT54G/GS v5 and v6 WITHOUT ANY HARDWARE MODIFICATIONS has recently been developed by Jeremy Collake. +===For the WRT54G v5, v5.1, and v6 ONLY===
-For instructions, see http: [www.bitsum.com/openwiking/owbase/ow.asp?WRT54G5%5FCFE]+http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX#v5_and_v6
 +===For the WRT54GS v5, v5.1 and v6 ONLY===
 +'''SERIOUS WARNING -- NO REVERSION TO VXWORKS ON THESE UNITS:''' At the moment for WRT54GS units this is a one way operation. No reversion back to VxWorks is available. I never got around to creating the GS reversion firmware. It could EASILY be created by someone using the tools I've written and the documentation here. A person once sent me a GS router hoping I might, but I didn't get to it and now no longer have that router. If someone would like to send me another GS unit, I will maybe get around to creating the reversion firmware. Also, if you'd like to donate other routers, feel free. Note that I make absolutely no guarantees that I'll complete anything though.
 +Copied from Bitsum
-----+http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX#v5_and_v6_2
 +=== Links to v5 and v6 Flash Instructions ===
-As of April 3, 2006, there is a "Micro" version of DD-WRT that fits onto a version 5 of the WRT54G or WRT54GS. The process to get the firmware onto the version 5 is complicated, however. Mainly, it involves using a [http://en.wikipedia.org/wiki/JTAG JTAG cable]. This [http://forums.hardwarezone.com/showthread.php?p=18118180#post18118180 link] may provide some other helpful guidance on performing the procedure below.+http://www.bitsum.com/openwiking/owbase/ow.asp?WRT54G5%5FCFE <br />
 +http://www.scorpiontek.org/portal/content/view/27/36
-The Micro version also works on routers with more than 2MB of flash space. It lacks some functionality of the Mini version (which also lacks some functionality of the full version.). Specifically it leaves out the following: chillispot, nocat, rflow, kaid, samba client, SNMP, IPv6, MMC/SD Card Support, SSH, PPTP/PPTP Client, UPnP and ? (please edit!) 
-'''Note: WRT54 v5 routers are officially supported by DD-WRT since v23 SP1 final. Flashing them is still not for the faint of heart, it is recommended that you get a router with more memory.''' 
-(Expanded directions based on instructions from Piotr Gozdur)+=== Enable 16 MB RAM ===
-<ol>+'''ATTENTION: WRT54gS ONLY!!!!!''' Doing this in your WRT54G will BRICK your router!
-<li>If you '''don't''' have both a JTAG cable and the most recent version (4.5) of the [http://downloads.openwrt.org/utils/ HairyDairyMaid's debricker tool] or [http://www.dd-wrt.com/dd-wrtv2/downloads/index.php?path=wrt54gv5+flashing/ HairyDairMaid debricker tool on DD-WRT],([http://froogle.google.com/froogle?q=jtag+cable&hl=en&hs=mw&lr=&client=firefox-a&rls=org.mozilla:en-US:official&pwst=1&sa=X&oi=froogle&ct=title Buying a JTAG Cable]) -- ([http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/JTAG_Cable Howto create JTAG Cable]).''+
-<li>Download the generic micro version of DD-WRT firmware (dd-wrt.v23_micro_generic.bin) from [http://www.dd-wrt.com/dd-wrtv2/downloads/index.php?path=dd-wrt.v23%20SP1%2Fmicro%2F&download=dd-wrt.v23_micro_generic.bin DD-WRT SP1 Micro].+See [[Enable_16MB_RAM_on_WRT54GS_v5]]
-<li>Download the cfe.bin file from this [http://www.dd-wrt.com/dd-wrtv2/downloads/index.php?path=wrt54gv5+flashing/ directory]. If you are on linux, rename CFE.bin to CFE.BIN.+[[Category:Linksys guides]]
- +
-<li>Prepare your JTAG flashing environment. +
-<br>'''Best practices:''' +
-<ol type=a>+
-<li>unplug router between commands. (Power off).+
-<li>If you're using Linux, you'll probably need to be root to have rights to the parallel port. +
-<li>Version 4.5 of HDM's debricker tool will auto-sense the flashchip. Explicit chip parameters like '/fc:01' are usually not necessary. If it does not auto-sense, '''triple-check''' the jtag connections before trying to force it!+
-<li>If the debricker freezes at any point then exit the executable (ctrl-C), power cycle your router, and try again. If the debricker refuses to go past the "Enabling Memory Writes" then you may need to use the /noemw option.+
-</ol>+
- +
-<li>Make a backup of your flash via JTAG with command 'wrt54g -backup:wholeflash'. This will take about 10 minutes.+
- +
-<li>Erase the flash (you did backup your :wholeflash, right?) with 'wrt54g -erase:wholeflash'. This will only take a minute.+
- +
-<li>Now your canvas is blank. From here on, you will need to append '/noreset' to your commands. It's time to flash the CFE.BIN you downloaded earlier (It's originally from a wap54g v3). Use the command 'wrt54g -flash:cfe /noreset'. This will also take about 10 minutes. Note that it is possible to flash the entire firmware to the flash using the debricker tool, but this will take '''a very long time''' (like 90 minutes). For this reason it is recommended to use the CFE.BIN then just tftp the whole image over after.+
- +
-<li>Ping 192.168.1.245 to make sure it's responding. If you have troubles you may need to force 10mb/half duplex connection. Either remember the location of the firmware, or copy it to 'c:\code.bin' for ease of use.+
- +
-<li>Upload example micro version of DD-WRT firmware via tftp using command. For example, under Windows use:<br><tt>tftp -i 192.168.1.245 PUT {path to firmware file; example: c:\code.bin}</tt>+
- +
-<li>After uploading via TFTP, just WAIT! Keep waiting. After a few minutes it'll come around on its own if you've done it right. The lights will stop blinking and it'll respond to pings on 192.168.1.1.+
- +
-<li>If your newly flashed v5 router is working properly, you may want to correctly set your MAC addresses. Using a command line, enter 'nvram set et0macaddr=xx:xx:xx:xx:xx:xx' where xx is the MAC address printed on the bottom of your router. Follow that with the commands 'nvram commit' and 'reboot'.+
-</ol>+
- +
- +
-[[Category:English documentation]]+

Current revision

Contents


[edit] For the WRT54G v5, v5.1, and v6 ONLY

http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX#v5_and_v6

[edit] For the WRT54GS v5, v5.1 and v6 ONLY

SERIOUS WARNING -- NO REVERSION TO VXWORKS ON THESE UNITS: At the moment for WRT54GS units this is a one way operation. No reversion back to VxWorks is available. I never got around to creating the GS reversion firmware. It could EASILY be created by someone using the tools I've written and the documentation here. A person once sent me a GS router hoping I might, but I didn't get to it and now no longer have that router. If someone would like to send me another GS unit, I will maybe get around to creating the reversion firmware. Also, if you'd like to donate other routers, feel free. Note that I make absolutely no guarantees that I'll complete anything though.

Copied from Bitsum

http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX#v5_and_v6_2

[edit] Links to v5 and v6 Flash Instructions

http://www.bitsum.com/openwiking/owbase/ow.asp?WRT54G5%5FCFE
http://www.scorpiontek.org/portal/content/view/27/36


[edit] Enable 16 MB RAM

ATTENTION: WRT54gS ONLY!!!!! Doing this in your WRT54G will BRICK your router!

See Enable_16MB_RAM_on_WRT54GS_v5