Hardware

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:56, 27 July 2006 (edit)
Erniecars (Talk | contribs)
m (WRT54G/GL/GS versions)
← Previous diff
Revision as of 18:49, 5 August 2006 (edit) (undo)
Jcollake (Talk | contribs)
(Overclocking)
Next diff →
Line 63: Line 63:
==Overclocking== ==Overclocking==
-The standard clock speed of a WRT54G is 200 MHz. DD-WRT allows overclocking the device to up to 300 MHz in various steps. It is also possible to underclock the WRT54G to 192 MHz, for example for troubleshooting crashes which may be caused by overheating. Also, newer Linksys firmware overclocks some models of the WRT54GS to 216 MHz, to prevent instability issues inherent in the 2.x versions.+The standard clock speed of a WRT54G(S) v2-v6 is 200 MHz. DD-WRT allows overclocking the device to up to 300 MHz for v2-v3 and up to 250mhz for v4-v6. It is also possible to underclock, which may be useful for troubleshooting crashes which may be caused by overheating. Newer Linksys firmware overclocks some models of the WRT54GS to 216 MHz, to prevent instability issues inherent in the 2.x versions.
-The WRT54Gv4 and WRT54Gv5 have a processor that has a slightly different set of valid clock frequencies. Its highest available frequency is 252mhz (sbclock of 125mhz). Note that even though the box will boot at frequencies higher than this, the CPU will actually be running at its last known good speed, or default speed of 200mhz.+The WRT54G(S) v4-v6 and WRT54GL v1.x have a BCM3302 v0.8 processor instead of a BCM3303 v0.7 with previous models.
-As of DD-WRT v23 SP1, this is mis-reported in the web UI since it reads from the nvram variables instead of checking the actual clock frequency. If you have a v4 or greater and think you are running at anything above 250mhz just because the web UI reports such, you are NOT.+BCM3303 v0.7 clock freuqnecies:
 +(todo...)
-To check your clock frequency, execute 'cat /proc/cpuinfo'. This will show you what frequency your processor is actually running at. 
-Additionally, although DD-WRT sets the nvram clkfreq variable so that it includes the sbclock, the sbclock variable is ignored. In example, clkfreq=240,126 ends up only running at 240mhz and 120mhz, because 120mhz is the sbclock frequency that matches the ratio for a 240mhz clock frequency.+{| border=1 cellspacing=0 cellpadding=5
 +| '''MIPS/CPU'''
 +| '''Backplane'''
 +| '''Comment'''
 +|-
 +|}
 + 
 + 
 + 
 + 
 +BCM3303 v0.8 clock frequencies:
 + 
 +{| border=1 cellspacing=0 cellpadding=5
 +| '''MIPS/CPU'''
 +| '''Backplane'''
 +| '''Comment'''
 +|-
 +| 183
 +| 91
 +|-
 +| 188
 +| 94
 +|-
 +| 197
 +| 98
 +|-
 +| 200
 +| 100
 +|-
 +| 206
 +| 103
 +|-
 +|-
 +| 212
 +| 106
 +|-
 +| 216
 +| 108
 +|-
 +| 217
 +| 109
 +|-
 +| 225
 +| 113
 +|-
 +| 238
 +| 119
 +|-
 +| 240
 +| 120
 +|-
 +| 250
 +| 125
 +|-
 +|}
 + 
 + 
 + 
 +For information on running a v4 series greater than the CFE imposed maximum of 250mhz, please see [[http://www.bitsum.com/openwiking/owbase/ow.asp?WRT54G Increased overclocking through CFE modifications]] (technical).
==Hardware Modifications== ==Hardware Modifications==

Revision as of 18:49, 5 August 2006

Contents


Linksys WRT54Gx

WRT54G/GL/GS versions

The first 4 digits in the serial number (look on the box or the underside of the router) represent the hardware revision:

CDF0 = WRT54G v1.0
CDF1 = WRT54G v1.0
CDF2 = WRT54G v1.1
CDF3 = WRT54G v1.1
CDF5 = WRT54G v2.0
CDF7 = WRT54G v2.2
CDF8 = WRT54G v3.0
CDF9 = WRT54G v3.1
CDFA = WRT54G v4.0
CDFB = WRT54G v5.0
CDFC = WRT54G v5.1
CDFD = WRT54G v6.0
CDFE = WRT54G v7.0

CL7A = WRT54GL v1.0
CL7B = WRT54GL v1.1

CGN0 = WRT54GS v1.0
CGN1 = WRT54GS v1.0
CGN2 = WRT54GS v1.1
CGN3 = WRT54GS v2.0
CGN4 = WRT54GS v2.1
CGN5 = WRT54GS v3.0
CGN6 = WRT54GS v4.0
CGN7 = WRT54GS v5.0
CGN8 = WRT54GS v5.1

CJK0 = WRTSL54GS v1.0

See more information on the LinksysInfo Autopsy page.

DD-WRT supports versions 1 to 4 of the WRT54G, WRT54GL and WRT54GS hardware. WRT54G v5 and WRT54GS v5 are (un)oficially supported in the newest v23 SP1 beta "micro" version, but you need a JTAG cable to flash them (for now). These new routers have limited ram (2/8) and run on VxWorks and not Linux. DD-WRT does not currently support the WRT-54GX, Linksys's MiMo version router. DD-WRT is also reported to work on the WAP54G, but your mileage may vary.

WARNING: v22 isnt compatible with v4 and newer routers and GL. They are different. Only v23 and newer will run on this model. You would otherwise have to 'un-brick' your router (Revival Guide method)

NOTE: Additionally the stock firmware from Linksys on the WRT54G v4 and WRT54GL won't accept a firmware image over 3MB in size (you will get the error: "Upgrade are failed!"(sic) if you try) so you will need to flash the mini version of DD-WRT onto the router BEFORE flashing the std or voip versions. (Remember to hold reset button for 30 sec after flashing mini version.)

The WRT54Gx Boot Process

NVRAM

NVRAM (non-volatile RAM) is the place where the permanent settings are stored. On the command line you can view the NVRAM's content with

nvram show

A variable is stored/changed by issuing

nvram set <variable_name>="<value>"
nvram commit

You'll need to reboot to get the (changed) NVRAM executed.

Overclocking

The standard clock speed of a WRT54G(S) v2-v6 is 200 MHz. DD-WRT allows overclocking the device to up to 300 MHz for v2-v3 and up to 250mhz for v4-v6. It is also possible to underclock, which may be useful for troubleshooting crashes which may be caused by overheating. Newer Linksys firmware overclocks some models of the WRT54GS to 216 MHz, to prevent instability issues inherent in the 2.x versions.

The WRT54G(S) v4-v6 and WRT54GL v1.x have a BCM3302 v0.8 processor instead of a BCM3303 v0.7 with previous models.

BCM3303 v0.7 clock freuqnecies: (todo...)


MIPS/CPU Backplane Comment



BCM3303 v0.8 clock frequencies:

MIPS/CPU Backplane Comment
183 91
188 94
197 98
200 100
206 103
212 106
216 108
217 109
225 113
238 119
240 120
250 125


For information on running a v4 series greater than the CFE imposed maximum of 250mhz, please see [Increased overclocking through CFE modifications] (technical).

Hardware Modifications

Hardware Modifications (mods) are not necessarily DD-WRT specific or compatible.

Serial Port
Additional external SMA-R connector
Dual Serial Port
SD-Card
Temperature sensor for WRT54G 2.x and WRT54GS with DS1820