Linksys WRT54GX v2

OEM Askey RT3105W, like the WRT54GX2

On the OpenWrt wiki

"RTA3105W", "28-000311", "REV:1.1", "2/18/2005", and "3028-001751" is silkscreened on the main board.
 * A sticker with "RT3105W-D40", "6156A022587 F06" is printed on a label affixed to the top of the board (along with two separate MAC labels).
 * "3017-004541" and "17-000861" is silkscreened on the wireless module.

Pinout
The serial header is the (populated) JP1.

JP1 [ (RxD) (TxD) (GND) (...) ]

| |  |  v

to RTL8651B

cat /proc/version
Linux version 2.4.26-uc0 (shixiang@compile-server) (gcc version 3.3.3) #367 Wed Mar 28 13:35:07 CST 2007
 * 1) cat /proc/version

cat /proc/cpuinfo
system type            : Philips Nino processor              : 0 cpu model              : R3000 V0.0 BogoMIPS               : 199.06 wait instruction       : no microsecond timers      : no tlb_entries             : 16 extra interrupt vector : no hardware watchpoint     : no VCED exceptions         : not available VCEI exceptions        : not available
 * 1) cat /proc/cpuinfo

cat /proc/mtd
dev:   size   erasesize  name mtd0: 00006000 00002000 "boot1" mtd1: 00010000 00010000 "boot2" mtd2: 00800000 00010000 "boot3" mtd3: 00100000 00010000 "kernel" mtd4: 006e0000 00010000 "rootfs"
 * 1) cat mtd

cat /proc/pci
PCI devices found: Bus 0, device   0, function  0: Class 0200: PCI device 17cb:0001 (rev 3). IRQ 5. Master Capable. Latency=128. Min Gnt=24.Max Lat=255. Non-prefetchable 32 bit memory at 0x1bf80000 [0x1bf9ffff]. Non-prefetchable 32 bit memory at 0x1bf00000 [0x1bf7ffff].

lsmod
Module                 Size  Used by pol_nosdram          1297896   1 wns_mod               34108   0 [pol_nosdram] ccd                    3232   0 [pol_nosdram wns_mod] led                    1696   0
 * 1) lsmod

cat /proc/meminfo
total:   used:    free:  shared: buffers:  cached: Mem: 30269440 12865536 17403904        0  2019328  4894720 Swap:       0        0        0 MemTotal:       29560 kB MemFree:         16996 kB MemShared:           0 kB Buffers:          1972 kB Cached:           4780 kB SwapCached:          0 kB Active:           2260 kB Inactive:         5224 kB HighTotal:           0 kB HighFree:            0 kB LowTotal:        29560 kB LowFree:         16996 kB SwapTotal:           0 kB SwapFree:            0 kB
 * 1) cat /proc/meminfo

cat /etc/version
Realtek/RTL865XB Version 3.4.0 -- Wed Mar 28 13:36:17 CST 2007

ps aux
PID Uid     VmSize Stat Command 1 root      3328 S   /sbin/init 2 root           SW  [keventd] 3 root           SWN [ksoftirqd_CPU0] 4 root           SW  [kswapd] 5 root           SW  [bdflush] 6 root           SW  [kupdated] 18 root     15936 S   /bin/webs start 19 root      6848 S   /bin/sh 25 root      4864 S   /bin/udhcpc 47 root      6464 S   /bin/ani8021x_aa 52 root      8064 S   /bin/wsm 58 root      4928 S   /bin/udhcpd 110 root      4608 R   ps aux
 * 1) ps aux

Airgo (Polaris) module info dump (/proc/net/drivers/wlan0/*)
{{SCollapse|cat eeprom
 * 1) cat eeprom
 * 1) cat eeprom

=
======= Radio SEEPROM Info ================ [PCI Configuration] [Power Capabilities] dev_spec_init  : 1 d1_support     : 0 d2_support     : 1 disconnect     : 0 key            : 14 latency_timer          : f8        min_gnt                 : 18 max_lat                : ff        cardbus_cis_pointer     : 0 subsystem_vendor_id    : 17cb subsystem_id           : 0001 power_data             : 0 0 0 0 0 0 0 0

[Power Scale] PMSCR Data Select 0    : 0 PMSCR Data Select 1    : 0 PMSCR Data Select 2    : 0 PMSCR Data Select 3    : 0 PMSCR Data Select 4    : 0 PMSCR Data Select 5    : 0 PMSCR Data Select 6    : 0 PMSCR Data Select 7    : 0 EEPROM version         : 1

[CIS]

[000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [016] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [032] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [048] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [064] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [080] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [096] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [112] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [128] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [144] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [160] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [176] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [192] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [208] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [224] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [240] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [256] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [272] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [288] 00 00 00 00 00 00 00 00 00 00 00 00

[System Parameters]

Product ID             :20 Product Revision       :1 MAC Address            :00:13:10:b1:c3:04 Board Revision         :0x5003 Country Code           :[U][S][I] SDRAM Info - Vendor         :[0] DataWidth      :[0] Size           :[0] LO Type                :1 Num TX & RX Chains     :0x23 tpcFlags               : 34 eepTypeFlags           : 1

[TPC Configuration Parameters] numFreq : 3

[Per Channel Data] [0] freq : 2412 numPoints : 20 [Power Measurements]: [txGain, chain0Power, chain1Power]

[08, 0fb6, 0f10] [0c, 1022, 0f7c] [10, 108f, 0fe7] [14, 10f7, 104f] [18, 115f, 10b5] [1c, 11c8, 1121] [20, 122f, 118c] [24, 1291, 11f1] [28, 12f3, 1257] [2c, 1347, 12bb] [30, 139c, 131e] [34, 13e0, 136d] [38, 1425, 13be] [3c, 1466, 1407] [40, 14a7, 144e] [44, 14e2, 1490] [48, 151c, 14d2] [4c, 1547, 1504] [50, 1574, 1535] [57, 159a, 1564]

[1] freq : 2447 numPoints : 20 [Power Measurements]: [txGain, chain0Power, chain1Power]

[08, 0f63, 0f04] [0c, 0fcc, 0f6c] [10, 1037, 0fd4] [14, 109d, 1039] [18, 1104, 109f] [1c, 116b, 1108] [20, 11d0, 1170] [24, 1234, 11d5] [28, 1298, 123c] [2c, 12f2, 129d] [30, 134b, 12ff] [34, 1395, 1350] [38, 13df, 13a1] [3c, 1428, 13e9] [40, 146f, 1432] [44, 14b1, 1477] [48, 14f2, 14be] [4c, 1523, 14ef] [50, 1553, 1521] [57, 157f, 154f]

[2] freq : 2484 numPoints : 20 [Power Measurements]: [txGain, chain0Power, chain1Power]

[08, 107f, 0fd8] [0c, 10e6, 1040] [10, 114b, 10a7] [14, 11ad, 1108] [18, 120d, 1168] [1c, 1268, 11c9] [20, 12c4, 122b] [24, 1317, 1283] [28, 136a, 12dc] [2c, 13ae, 132e] [30, 13f2, 1380] [34, 142a, 13bf] [38, 1461, 1400] [3c, 1491, 1438] [40, 14c2, 146f] [44, 14ef, 14a1] [48, 151a, 14d3] [4c, 1537, 14f7] [50, 1555, 1519] [57, 1571, 153d]

[tpcGainVsTempSlopes: 0]

[00] 17 [01] 17 [02] 17 [03] 17 [04] 17 [05] 17 [06] 17 [07] 17 [08] 17 [09] 17 [10] 17 [11] 17 [12] 17 [13] 17 [14] 19 [15] 19 [16] 19 [17] 19 [18] 19 [19] 1e [20] 1e [21] 1e [22] 20 [23] 20 [24] 20 [25] 20 [26] 20 [27] 20 [28] 23 [29] 23 [30] 23 [31] 23 [32] 23 [33] 23 [34] 23 [35] 23 [36] 21 [37] 21 [38] 21 [39] 21 [40] 21 [41] 21 [42] 23 [43] 23 [44] 23 [45] 23 [46] 23 [47] 23

[tpcGainVsTempSlopes: 1]

[00] 17 [01] 17 [02] 17 [03] 17 [04] 17 [05] 17 [06] 17 [07] 17 [08] 17 [09] 17 [10] 17 [11] 17 [12] 17 [13] 17 [14] 19 [15] 19 [16] 19 [17] 19 [18] 19 [19] 1e [20] 1e [21] 1e [22] 20 [23] 20 [24] 20 [25] 20 [26] 20 [27] 20 [28] 23 [29] 23 [30] 23 [31] 23 [32] 23 [33] 23 [34] 23 [35] 23 [36] 24 [37] 24 [38] 24 [39] 24 [40] 24 [41] 24 [42] 23 [43] 23 [44] 23 [45] 23 [46] 23 [47] 23

Ambient Temperature    : 010e Ambient Temperature (Adc0 Value)       : 80 Ambient Temperature (Adc1 Value)       : 86

}}

{{SCollapse|cat hif_regs
 * 1) cat hif_regs
 * 1) cat hif_regs

=
================================== HIF REGISTERS for Device wlan0

=
================================== hif_control:            0x8E00 hif_window:             0x0 hif_endian:             0xB3B2B1B0 --- hif_rx_config:          0x33 hif_rx_gof:             0x17890E0 hif_rx_address:         0x17EB8C6 hif_rx_state:           0x1 hif_rx_control:         0x8B hif_rx_start:           0x1789000 hif_rx_end:             0x1789400 hif_rx_first:           0x17890E0 --- hif_tx_config:          0x10 hif_tx_gof:             0x1789C90 hif_tx_address:         0x1125EB9 hif_tx_state:           0x1 hif_tm_control:         0x86 hif_tm_start:           0x1789C00 hif_tm_end:             0x178A000 hif_tm_first:           0x1789C90 hif_td_control:         0x82 hif_td_start:           0x1789400 hif_td_end:             0x1789C00 hif_td_first:           0x1789400 ---            Debug Registers --- Transmit DMA            0x25428411 Recieve DMA             0x22C2A511 Recieve DMA             0x80423191 DMA FIFOs               0x40

=
================================== }}

{{SCollapse|cat debug
 * 1) cat dbg
 * 1) cat dbg

=
================================= Current value of np->msg_enable = 0x3F00C0

=
================================= 0x80000000     Dump the RX/TX msg 0x40000000     MAC Msgs rcvd 0x20000000     MAC Msgs sent 0x10000000     Msgs rcvd on Rx Mbx 0x08000000     Msgs sent on TX Mbx 0x04000000     Messages rcvd from Apps 0x02000000     Messages sent to Apps 0x01000000     Disp RX/TX Frame Info 0x00800000     Disp Netlink msgs 0x00400000     Dump Rx MAC mgmt/ctl msgs -- Debugs msgs from MAC SW -- 0x00200000     Disp dbg msgs from CFG 0x00100000     Disp dbg msgs from SYS 0x00080000     Disp dbg msgs from LIM 0x00040000     Disp dbg msgs from DPH 0x00020000     Disp dbg msgs from SCH 0x00010000     Disp all the other MAC dbg msgs -- Standard Linux debug bits for the net device -- 0x00004000     NETIF_MSG_WOL 0x00002000     NETIF_MSG_HW 0x00001000     NETIF_MSG_PKTDATA 0x00000800     NETIF_MSG_RX_STATUS 0x00000400     NETIF_MSG_TX_DONE 0x00000200     NETIF_MSG_INTR 0x00000100     NETIF_MSG_TX_QUEUED 0x00000080     NETIF_MSG_TX_ERR 0x00000040     NETIF_MSG_RX_ERR 0x00000020     NETIF_MSG_IFUP 0x00000010     NETIF_MSG_IFDOWN 0x00000008     NETIF_MSG_TIMER 0x00000004     NETIF_MSG_LINK 0x00000002     NETIF_MSG_PROBE 0x00000001     NETIF_MSG_DRV

=
================================= }}

{{SCollapse|cat bypass
 * 1) cat bypass
 * 1) cat bypass

=
================================= Current value of np->bypass = 0x20

=
================================= 01     Bypass Inbound Filters 02     Bypass Outbound Filters 04     Bypass for setting the driver in DVT mode 08     Dump the BD in the transfered frame 10     Enable UT code for TD Enable/Disable 20     Enable default DSCP to TCID mapping

=
================================= }}

{{SCollapse|cat stats =*=================================================== Admin State up:5 min 44 sec    dev->state :0x6 TotalIntr :47834       packets-per-int :0 TX-frees in xmit               :0 TX-queue stop/starts           :0/0
 * 1) cat stats
 * 1) cat stats

=
=========================================                  IRQ Stats -- Rx/Tx(Td/Tm)                           0/0(0/0) Polaris/Error                                  0/0 Interface TX Mode                      Polled Global TX Mode                         Polled Global RX Mode                         Polled

=
=========================================                Polling Stats

=
========================================= poll: quota/weight                             0/32 Poll start start/pkts                          0/0 Rx Tasklet Schedule Count                      0 Alloc SKB Failures                             0 Poll exit: done/not_done/oom                   0/0/0 Poll done w. rx pending                        0 Poll done w. zero receive                      0 MAC skb list 0 peak 9 Memory allocation failure (small skb)          0 Data Frames forwarded to MAC SW in Learn Mode  64 Mgmt/Ctl Frames forwarded to MAC SW            10044 TD Dummy Pkts received by the HDD              0 TM Dummy Pkts received by the HDD              0 Dummy Pkts enqueued to the TD Ring by the HDD  0 Dummy Pkts Re-queued by the HDD                0 Pkts passed on to the HDD for TD ring by MAC SW 0 Dummy Pkts passed on to the HDD by MAC SW      0 DataNull Frames passed on to HDD by MAC SW     0 Data Frames passed on to the HDD by MAC SW     0 Frames Enqueued to TD ring by WNS for L2 update 0 Frames Enqueued to TD ring by Applications     0 Number of times the TD Ring Flush was called   0 Number of times the HIF TD Engine Enable called 0 Number of times the HIF TD Engine Disable called0 HIF RX Length Errors                           0 HIF Other Errors                               0

=
=========================================                MAC SW Reset Stats

=
========================================= Number of times the Reset Req Timer expired    0 Total number of MAC SW Resets issued           0 Resets Counts: EOF/SOF MISMATCH                       0 BMU EXCEPTION                          0 PDU COUNT LOW                          0 User Triggered                         0 NETDEV Watchdog triggered              0 Unspecified                            0 Number of Radio Enable cmd rcvd                2 Number of Radio Disable cmd rcvd               1 Number of NETDEV Watchdog timeouts             0

=
=========================================              DPH Error Stats

=
========================================= DPH TX_PUSH_ERR CNT                            0 DPH TX_INVLD_ERR CNT                           0 DPH TX_STA_INVLD CNT                           0 DPH TX_UNINIT_ERR CNT                          0 DPH TX HASH_LOOKUP_MISS CNT                    0

=
=========================================              MBX Msg Stats

=
========================================= Total Number of MBX msgs rcvd from MAC SW      128 Number of MBX msgs from MAC SW sent to apps    128 Number of MBX msgs from MAC SW that were dropped 0

}}