User Tools

Site Tools


toh:linksys:e3200

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:linksys:e3200 [2013/04/13 10:15]
laibsch fix URL
toh:linksys:e3200 [2015/10/18 17:23] (current)
tmomas ↷ Links adapted because of a move operation
Line 1: Line 1:
 +====== Linksys E3200 ======
 +A simultaneous dual-band gigabit model with USB storage link.
 +
 +| {{:​meta:​icons:​tango:​48px-dialog-warning.svg.png?​nolink}} | **Trunk currently does not offer WiFi functionality (?)** |
 +
 +===== Supported Versions =====
 +^ Version/​Model ​  ^ Launch Date   ^ S/N    ^ OpenWrt Version Supported ​                                 ^ Model Specific Notes   ^
 +| v1              |    2011-05 ​   | 10B1   | [[https://​dev.openwrt.org/​changeset/​33003/​trunk|r33003]] ​  | -                      |
 +
 +===== Hardware Highlights =====
 +
 +FIXME Technical data here and below in [[.:​e3200#​info]] differ. You can help improving this page by checking / correcting / consolidating the information and deleting what's double.
 +
 +^ CPU                         ^ Ram     ^ Flash   ^ Network ​  ^ USB      ^ Serial ​  ^ JTag   ^
 +| Broadcom BCM47186 @500MHz ​  | 64MiB   | 16MiB   | 5 gigE    | 1x 2.0   | Yes      | Yes    |
 +
 +| Processor ​        | BCM5357 @ 500mhz ​                                 |
 +| Wireless Radio    | Broadcom BCM47186 (SoC) 2.4ghz IEEE 802.11b/​g/​n ​  |
 +| Wireless Radio2 ​  | Broadcom BCM43236 5ghz radio IEEE 802.11a/​n ​      |
 +| Flash             | 16mb serial flash / Winbond 25Q128BUFG ​           |
 +| Ram               | 64mb EtronTech EM6AB160TSC-5G 32M x 16 bit        |
 +| Switch ​           | 10/100/1000 BCM53125SKMMLG under cover. ​          |
 +
 +==== Keep the articles modular ====
 +| Please include only model specific information,​ omit bla,bla and put everything generic into separate articles ​ |
 +| [[doc/​howto/​generic.overview]] if you have no time to write certain stuff link to this |
 +| [[doc/​howto/​basic.config]] should lead the way, do not explain this again  |
 +| DO NOT provide a complete howto here! Instead //groom// the general HowTos. ​ |
 +
 +
 +===== Installation =====
 +  - -> [[doc:​howto:​obtain.firmware]]
 +  - -> [[doc:​howto:​generic.flashing|Install OpenWrt]]
 +
 +==== Flash Layout ====
 +Please check out the article [[doc:​techref:​Flash.Layout]]. It contains an example and a couple of explanations.
 +
 +4 MTD partitions on "​sflash": ​
 +| Addresses ​              | Name     |
 +| 0x00000000-0x00040000 ​  | boot     |
 +| 0x00040000-0x00ff0000 ​  | linux    |
 +| 0x001b9800-0x00ff0000 ​  | rootfs ​  |
 +| 0x00ff0000-0x01000000 ​  | nvram    |
 + 
 +<​code>​
 +cat /proc/mtd
 +dev:    size   ​erasesize ​ name
 +mtd0: 00040000 00010000 "​cfe"​
 +mtd1: 00fb0000 00010000 "​linux"​
 +mtd2: 00ec9000 00010000 "​rootfs"​
 +mtd3: 00b90000 00010000 "​rootfs_data"​
 +mtd4: 00010000 00010000 "​nvram"​
 +</​code>​
 +
 +==== OEM easy installation ====
 +
 +| FIXME The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device! |
 +
 +This section deals with how you install OpenWrt from a device freshly opened. ​ Plus the steps required such as reset to factory defaults if the device has already been configured
 +
 +**Note:** Reset router to factory defaults if it has been previously configured.
 +  *Browse to http://​192.168.1.1/​Upgrade.asp
 +  *Upload .bin file to router
 +  *Wait for it to reboot
 +  *Telnet to 192.168.1.1 and set a root password, or browse to http://​192.168.1.1 if LuCI is installed.
 +
 +==== OEM installation using the TFTP method ====
 +
 +If you want to upgrade using TFTP you follow these steps (as an alternative to the above install process.
 +
 +==== Upgrading OpenWrt ====
 +->  [[doc:​howto:​generic.sysupgrade]]
 +
 +If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
 +
 +=== LuCI Web Upgrade Process ===
 +
 +  * Browse to http://​192.168.1.1/​cgi-bin/​luci/​mini/​system/​upgrade/​ LuCI Upgrade URL
 +  * Upload image file for sysupgrade to LuCI
 +  * Wait for reboot
 +
 +=== Terminal Upgrade Process ===
 +
 +  * Login as root via SSH on 192.168.1.1
 +  * Use the following commands to upgrade.
 +
 +<​code>​
 +cd /tmp/
 +wget http://​downloads.openwrt.org/​snapshots/​trunk/​XXX/​xxx.abc
 +sysupgrade /​tmp/​xxx.abc
 +</​code>​
 +
 +  * If sysupgrade does not support this router, use the following commands.
 +
 +<​code>​
 +cd /tmp/
 +wget http://​downloads.openwrt.org/​snapshots/​trunk/​XXX/​xxx.abc
 +mtd write /​tmp/​xxx.abc linux && reboot</​code>​
 +
 +===== Basic configuration =====
 +-> [[doc:​howto:​basic.config|Basic configuration]] After flashing, proceed with this.\\
 +Set up your Internet connection, configure wireless, configure USB port, etc.
 +
 +
 +===== Specific Configuration =====
 +==== Interfaces ====
 +
 +The default network configuration is:
 +
 +^ Interface Name   ^ Description ​         ^ Default configuration ​  ^
 +| br-lan ​          | LAN & WiFi           | 192.168.1.1/​24 ​         |
 +| vlan0 (eth0.0) ​  | LAN ports (1 to 4)   | None                    |
 +| vlan1 (eth0.1) ​  | WAN port             | DHCP                    |
 +| wl0              | WiFi                 | Disabled ​               |
 +
 +==== Switch Ports (for VLANs) ====
 +Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.
 +
 +^ Port             ^ Switch port   ^
 +| Internet (WAN)   | 4             |
 +| LAN 1            | 3             |
 +| LAN 2            | 2             |
 +| LAN 3            | 1             |
 +| LAN 4            | 0             |
 +
 +==== Failsafe mode ====
 +-> [[doc:​howto:​generic.failsafe]]
 +
 +| FIXME TODO |
 +
 +==== Buttons ====
 +-> [[doc:​howto:​hardware.button]] on howto use and configure the hardware button(s).
 +
 +| FIXME TODO |
 +
 +The Linksys WRT54GL has two buttons. They are Reset and Secure Easy Setup. Here, we merely name the buttons, so we can use them in the above Howto:
 +^ BUTTON ​             ^ Event   ^
 +| Reset               | reset   |
 +| Secure Easy Setup   | ses     |
 +
 +
 +===== Hardware =====
 +==== Info ====
 +| **[[wp>​Instruction set|Architecture]]:​** ​   | [[wp>​MIPS architecture|MIPS]] ​ |
 +| **Vendor:​** ​         | [[wp>​Broadcom]] |
 +| **[[doc:​techref:​Bootloader]]:​** ​    | [[doc:​techref:​bootloader:​CFE|CFE]] |
 +| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | Broadcom BCM5357 chip rev 1 (MIPS 74K V4.9) |
 +| **[[doc:​hardware:​cpu|CPU]]/​Speed** ​       | 500 MHz |
 +| **Flash-Chip:​** ​     | Winbond 25Q128BUFG |
 +| **Flash size:​** ​     | 16 MiB |
 +| **RAM:​** ​            | 64 MiB   |
 +| **Wireless:​** ​       | Broadcom BCM5357 on chip 2.4ghz 802.11bgn |
 +| **Wireless:​** ​       | Broadcom BCM43236 5ghz 802.11a |
 +| **Switch:​** ​         | 10/100/1000 BCM53125SKMMLG |
 +| **Ethernet:​** ​       | RealTek RTL8366RB Gigabit w/ vlan support [[doc:​techref:​swconfig]] |
 +| **Internet:​** ​       | n/a  |
 +| **USB:​** ​            | Yes 1 x 2.0     |
 +| **[[doc:​hardware:​port.serial|Serial]]:​** ​  | [[#​Serial|Yes]] ​  |
 +| **[[doc:​hardware:​port.jtag|JTAG]]:​** ​      | [[#​JTAG|Yes]] ​    |
 +
 +==== Serial ====
 +-> [[doc:​hardware:​port.serial]] general information about the serial port, serial port cable, etc.
 +
 +How to connect to the Serial Port of this specific device:\\
 +{{media:​linksys:​e3200_serial.jpg?​400}}
 +
 +3.3v TTL Serial console (red circle) for Processor (DJ2)
 +^ Pad 1 ^ 3.3v ^ Pad 2 ^ TX ^ Pad 3 ^ RX ^ Pad 4 ^ Not Connected ^ Pad 5 ^ GND ^
 +
 +Pad one (square pad) is VCC !
 +|<​code>​
 +CFE version 1.0.37 for BCM947XX (32bit,​SP,​LE)
 +Build Date: Thu Apr 21 02:03:27 HKT 2011 (zhaoguang@sw1)
 +Copyright (C) 2000-2008 Broadcom Corporation.
 +</​code>​|
 +
 +3.3v TTL Serial console for Radio Device (DJ9)
 +^ Pad 1 ^ 3.3v ^ Pad 2 ^ TX ^ Pad 3 ^ RX ^ Pad 4 ^ Not Connected ^ Pad 5 ^ GND ^ 
 +
 +Pad one (square pad) is VCC !
 +|<​code>​
 +RTE (usbrdl) v5.100 (TOB) running on BCM43236 r2 @ 20/120/120 MHz.
 +rdl0: Broadcom USB Remote Download Adapter
 +ei 1, ebi 2, ebo 1
 +</​code>​|
 +
 +
 +==== JTAG ====
 +-> [[doc:​hardware:​port.jtag]] general information about the JTAG port, JTAG cable, etc.
 +
 +How to connect to the JTAG Port of this specific device:\\
 +{{media:​linksys:​e3200_jtag.jpg?​400|}}
 +
 +Above Processor Serial Port is Processor JTAG (DJ1)
 +
 +| 2 | 4 | 6 | 8 | 10 | 12 |
 +^ GND ^ GND ^ GND ^ GND ^ GND ^ GND |
 +^ nTRST ^ TDI ^ TDO ^ TMS ^ TCK ^ nSRST |
 +| 1 | 3 | 5 | 7 | 9 | 11 |
 +FIXME not tested yet but seems to be linksys default
 +
 +Above Radio Serial Port is Radio JTAG (DJ8)
 +
 +| 2       | 4     | 6     | 8     | 10    | 12      |
 +^ GND     ^ GND   ^ GND   ^ GND   ^ GND   ^ GND     |
 +^ nTRST   ^ TDI   ^ TDO   ^ TMS   ^ TCK   ^ nSRST   |
 +| 1       | 3     | 5     | 7     | 9     | 11      |
 +FIXME not tested yet but seems to be linksys default
 +
 +===== Debricking =====
 +-> [[doc:​howto:​generic.debrick]]
 +
 +send firmware (.bin) as "​code.bin"​ with tftp to 192.168.1.1
 +<​code>​
 +flash -ctheader : flash1.trx
 +
 +CFE> flash -ctheader : flash1.trx
 +CODE Pattern is CORRECT!
 +upgrade_ver[v1.0.4] upgrade_ver[10004] 4712_ver[0]
 +Done. 10679296 bytes read
 +fname=flash1.trx
 +CODE Pattern is correct! (3200)
 +Programming...done. 10679264 bytes written
 +*** command status = 0
 +
 +CFE> go
 +</​code>​
 +
 +===== Bootloader Mods =====
 +  - you could read about [[doc:​techref:​bootloader]] in general
 +
 +===== Hardware mods =====
 +  - as a beginner, you really should inform yourself about [[doc:​hardware:​soldering]] in general and then obtain some practical experience!
 +
 +
 +===== Notes =====
 +
 +  * [[http://​pastebin.com/​GcGg0QFR|Stock output from serial terminal.]]
 +  * [[http://​pastebin.com/​SJQst6WJ|Stock dmesg output from serial terminal.]]
 +  * [[http://​pastebin.com/​ZVGwnkAA|"​find /sys" output]]
 + 
 +
 +===== Tags =====
 +{{tag>​bcm47xx bcm47186 802.11bgn 802.11abgn 802.11abgn simultan GigabitEthernet FastEthernet 5Port 2NIC USB 2USB DetachableAntenna 64RAM 16Flash}}