Hardware

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:30, 9 February 2009 (edit)
Jjj206 (Talk | contribs)
m (Hardware Modifications)
← Previous diff
Revision as of 12:10, 4 August 2009 (edit) (undo)
Fjs (Talk | contribs)
m (Boardflags)
Next diff →
Line 31: Line 31:
/* boardflags */ /* boardflags */
-#define BFL_BTCOEXIST 0x0001 /* This board implements Bluetooth coexistance */+#define BFL_BTCOEXIST 0x0001 /* This board implements Bluetooth coexistence */
#define BFL_PACTRL 0x0002 /* This board has gpio 9 controlling the PA */ #define BFL_PACTRL 0x0002 /* This board has gpio 9 controlling the PA */
#define BFL_AIRLINEMODE 0x0004 /* This board implements gpio13 radio disable indication */ #define BFL_AIRLINEMODE 0x0004 /* This board implements gpio13 radio disable indication */
Line 44: Line 44:
#define BFL_HGPA 0x2000 /* This board has a high gain PA */ #define BFL_HGPA 0x2000 /* This board has a high gain PA */
#define BFL_BTCMOD 0x4000 /* This board' BTCOEXIST is in the alternate gpios */ #define BFL_BTCMOD 0x4000 /* This board' BTCOEXIST is in the alternate gpios */
- 
==Overclocking== ==Overclocking==

Revision as of 12:10, 4 August 2009

Contents


NVRAM

NVRAM (non-volatile RAM) is the place where the permanent settings are stored. This includes

You can run the following commands using Command Line:

  • Show the whole NVRAM content:
nvram show
  • Show NVRAM content containing the pattern <search_pattern> (useful for quickly finding things in NVRAM):
nvram show | grep <search_pattern>
Replace <replace_pattern> with what you are actually looking for. This can simply be a word or a regular expression
  • Show value of a certain variable:
nvram get <variable_name>
  • Change variable value in RAM only:
nvram set <variable_name>="<value>"
Now you can play with the new settings or test user scripts but this new value will be lost after reboot unless you do nvram commit.
  • Save all changed variables to NVRAM:
nvram commit


Reboot the router for new settings in NVRAM to go into effect.

Boardflags

/* boardflags */

  1. define BFL_BTCOEXIST 0x0001 /* This board implements Bluetooth coexistence */
  2. define BFL_PACTRL 0x0002 /* This board has gpio 9 controlling the PA */
  3. define BFL_AIRLINEMODE 0x0004 /* This board implements gpio13 radio disable indication */
  4. define BFL_ENETROBO 0x0010 /* This board has robo switch or core */
  5. define BFL_CCKHIPWR 0x0040 /* Can do high-power CCK transmission */
  6. define BFL_ENETADM 0x0080 /* This board has ADMtek switch */
  7. define BFL_ENETVLAN 0x0100 /* This board has vlan capability */
  8. define BFL_AFTERBURNER 0x0200 /* This board supports Afterburner mode */
  9. define BFL_NOPCI 0x0400 /* This board leaves PCI floating */
  10. define BFL_FEM 0x0800 /* This board supports the Front End Module */
  11. define BFL_EXTLNA 0x1000 /* This board has an external LNA */
  12. define BFL_HGPA 0x2000 /* This board has a high gain PA */
  13. define BFL_BTCMOD 0x4000 /* This board' BTCOEXIST is in the alternate gpios */

Overclocking

BCM3303 v0.7 clock frequencies: (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

Hardware Modifications 硬件改造

Hardware Modifications (mods) are not necessarily DD-WRT specific or compatible.
硬件改造不需要特殊或兼容的DD-WRT'

Serial Port 串口
Additional external SMA-R connector 添加外置SMA-R连接器
Dual Serial Port 双串口
SD-Card 添加SD卡
Temperature sensor for WRT54G 2.x and WRT54GS with DS1820 往WRT54G 2.x 或 WRT54GS添加温度传感器DS1820