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 06:53, 19 April 2006 (edit)
210.184.113.235 (Talk)

← Previous diff
Current revision (04:59, 14 June 2010) (edit) (undo)
Leangjia (Talk | contribs)

 
(59 intermediate revisions not shown.)
Line 1: Line 1:
-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.+{{languages|Flash your WRT54G or WRT54GS v5 series (v5, v5.1, v6)}}
 +__TOC__
-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!)+===For the WRT54G v5, v5.1, and v6 ONLY===
-'''Note: WRT54 v5 routers are not officially supported by DD-WRT. Results are unstable and flashing is not recommended until DD-WRT compatibility improves.'''+http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX#v5_and_v6
-(Expanded directions based on instructions from Piotr Gozdur)+===For the WRT54GS v5, v5.1 and v6 ONLY===
-1. If you '''don't''' have a JTAG cable and the most recent version (4.5) of the [http://downloads.openwrt.org/utils/ HairyDairyMaid's JTAG tool], '''STOP HERE!'''+'''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.
-2. Download the generic micro version of DD-WRT firmware (dd-wrt.v23_micro_generic.bin) from [http://www.dd-wrt.com/dd-wrtv2/index.php?link=downloads DD-WRT SP1 Beta Page]. You should choose the most recent build.+Copied from Bitsum
-3. Download the cfe.bin file from this [http://www.dd-wrt.com/dd-wrtv2/downloads/index.php?path=wrt54gv5+flashing/ directory]. Rename CFE.bin to CFE.BIN.+http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX#v5_and_v6_2
-4. Prepare your JTAG flashing environment. '''Best practices:''' 1) unplug router between commands. 2) If you're using Linux, you'll probably need to be SU to have rights to the parallel port. 3) Version 4.5 of HDM's JTAG tool will auto-sense the flashchip. Explicit chip parameters like '/fc:01' are usually not necessary. 4) After flashing the CFE.BIN, you may want to perform 'wrt54g -erase:kernel /noreset' and 'wrt54g -erase:nvram /noreset'. This may not be necessary, but will ensure that there's nothing else but :cfe on the chip. 5) Your JTAG tool may freeze. Exit the executable, power cycle your router, and try again.+=== Links to v5 and v6 Flash Instructions ===
-5. Make a backup of your flash via JTAG with command 'wrt54g -backup:wholeflash'. This will take quite a while. Two hours or more.+http://www.bitsum.com/openwiking/owbase/ow.asp?WRT54G5%5FCFE <br />
 +http://www.scorpiontek.org/portal/content/view/27/36
-6. Erase the flash (you did backup your :wholeflash, right?) with 'wrt54g -erase:wholeflash'. 
-7. Now your canvas is blank. From here on, you'll 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'. 
-8. Ping 192.168.1.245--make sure it's responding. Also, force 10mb/half duplex connection is recommended. Rename the micro firmaware to 'code.bin' and copy to root of c: drive for ease of use.+=== Enable 16 MB RAM ===
-9. Upload example micro version of DD-WRT firmware via tftp using command (for Windows) 'tftp -i 192.168.1.245 PUT c:\code.bin'. (Path to code.bin will be different if it's not located at the root of your c: drive.)+'''ATTENTION: WRT54gS ONLY!!!!!''' Doing this in your WRT54G will BRICK your router!
-10. 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.+See [[Enable_16MB_RAM_on_WRT54GS_v5]]
-11. 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'.+[[Category:Linksys guides]]

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