User Tools

Site Tools


toh:linksys:wrt610n

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:wrt610n [2013/10/17 06:27]
codyps
toh:linksys:wrt610n [2016/06/16 17:40] (current)
thetuber [Obtaining an image] Fix link to v2 image.
Line 1: Line 1:
 +====== Linksys WRT610N ======
  
 +The WRT610N v1.0 is based on the [[doc/​hardware/​soc/​soc.broadcom.bcm47xx|Broadcom 4705]] cpu running at 300MHz. It has 8 MB flash and 64 MB SDRAM (2x HY5DU561622FTP).
 +The WNICs are a dual BCM4322 Chipset, one for 5GHz A and N and one for 2.4GHz B,G and N. The switch is a BCM53115 chip.
 +The WRT610N runs 802.11 A, B, G, and Draft N wireless protocols. It provides 4 gigabit LAN ports, 1 WAN port and a USB 2.0 port. 
 +
 +===== Supported Versions =====
 +
 +^ Version/​Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
 +| WRT610N v0 | ? | same as v1 | same as v1 |
 +| WRT610N v1.0 | CTG01 | 10.03.1 ([[https://​dev.openwrt.org/​changeset/​22840|r22840]]),​ trunk (added [[https://​dev.openwrt.org/​changeset/​36099|r36099]],​ r36461 tested) | b43 works with 2.4GHz radio, wl with both |
 +| WRT610N v2.0 | CTG11 | trunk (added in [[https://​dev.openwrt.org/​changeset/​36099|r36099]],​ r36342 tested) | same hardware as [[.:​E3000|Linksys E3000]] |
 +
 +===== Known issues =====
 +
 +  * Fixed in trunk: <​del>​The switch'​s first ethernet port is stuck in a slow mode: https://​dev.openwrt.org/​ticket/​13315</​del>​
 +  * The b43 wireless driver doesn'​t support 11n modes (HT) or 5Ghz. The closed-source wl can be used for both.
 +
 +
 +===== Hardware Highlights =====
 +^ Ver   ^ CPU              ^ Ram     ^ Flash   ^ Network ​      ^ Wireless ​  ^ Antenna ​               ^ USB         ^ Serial ​  ^ JTag   ^
 +| 1     | BCM4705@300MHz ​  | 64MiB   | 8MiB    | 1+4 x 1000M   | 2.4+5Ghz ​  ​| ​                       | Yes (2.0)   | Yes      | ?      |
 +| 2     | BCM4718@480MHz ​  | 64MiB   | 8MiB    | 1+4 x 1000M   | 2.4+5Ghz ​  | Internal, 3 per band   | Yes (2.0)   | Yes      | ?      |
 +
 +===== Installation =====
 +
 +==== Obtaining an image ====
 +
 +Download [[https://​downloads.openwrt.org/​snapshots/​trunk/​brcm47xx/​generic/​openwrt-brcm47xx-generic-linksys-wrt610n-v2-squashfs.bin|trunk snapshot openwrt-wrt610n_v2-squashfs.bin]] or [[https://​downloads.openwrt.org/​snapshots/​trunk/​brcm47xx/​generic/​openwrt-brcm47xx-generic-linksys-wrt610n-v1-squashfs.bin|trunk snapshot openwrt-wrt610n_v1-squashfs.bin]] depending on your hardware version. These snapshots ship with b43, so 5GHz wireless will not work and only BG rates will be available.
 +
 +Alternately,​ see [[:​doc:​start#​building.openwrt|instructions for building openwrt from source]] and set the following configuration (in 'make menuconfig'​)
 +<​code>​
 +Target System (Broadcom BCM947xx/​953xx) --->
 +Target Profile (Broadcom SoC, all Ethernet, BCM43xx WiFi (wl, proprietary)) ​ --->
 +</​code>​
 +
 +==== Recovery Web Interface ====
 +From [[http://​www.dd-wrt.com/​wiki/​index.php/​Linksys_WRT610N#​Recovery_.28Unbricking.29|dd-wrt Linksys WRT610N documentation]]
 +  - unplug all ethernet ports (Important!)
 +  - unplug power
 +  - plug power in
 +  - wait 2-2.5 seconds
 +  - press the reset button and keep it pressed for 5 seconds, then release it
 +  - reconnect ethernet (DHCP shoud give IP address to computer)
 +  - point your browser at http://​192.168.1.1.
 +  - You should see a "​Management Firmware update"​ screen. Give it the ''​openwrt-wrt610n_v1-squashfs.bin''​ or ''​openwrt-wrt610n_v2-squashfs.bin''​ file depending on hardware version.
 +
 +If you have a serial console and the above isn't working you can press ctrl-c while the router is booting to get to a CFE prompt, then either:
 +  - nvram set safe_mode_upgrade=on
 +  - nvram commit
 +  - reboot
 +Or
 +  - flash -ctheader -https : flash1.trx
 +
 +FIXME even though CFE says it's doing that last bit, it appears some setup is missing. Running the command manually from a canceled boot and then browsing to the upgrade page shows an immediate "​Update Success"​ and the router reboots (CFE reports that it has run the "​reboot"​ command).
 +
 +==== OEM installation using the TFTP method ====
 +
 +Upload the ''​openwrt-wrt610n_v1-squashfs.bin''​ or ''​openwrt-wrt610n_v2-squashfs.bin''​ image with TFTP.
 +
 +FIXME describe actual method
 +
 +Based on the CFE boot logs, it appears that the router attempts to load something via tftp with a max size of 0x32000 bytes (3.625MiB) into ram. This would limit our image size quite a bit.
 +
 +===== Upgrading OpenWrt =====
 +
 +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 TRX file 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/​latest/​brcm-2.4/​openwrt-brcm-2.4-squashfs.trx
 +sysupgrade /​tmp/​openwrt-brcm-2.4-squashfs.trx</​code>​
 +
 +  * If sysupgrade does not support this router, use the following commands.
 +
 +<​code>​
 +cd /tmp/
 +wget http://​downloads.openwrt.org/​latest/​brcm-2.4/​openwrt-brcm-2.4-squashfs.trx
 +mtd write /​tmp/​openwrt-brcm-2.4-squashfs.trx linux && reboot</​code>​
 +
 +===== Hardware =====
 +
 +==== Info (v1, for v2 see E3000 page) ====
 +| **Architecture:​** ​   | MIPS               |
 +| **Vendor:​** ​         | Broadcom ​          |
 +| **Bootloader:​** ​     | CFE                |
 +| **System-On-Chip:​** ​ | Broadcom BCM4705 ​  |
 +| **CPU Speed:​** ​  | 300 MHz  |
 +| **Flash-Chip:​** ​ | EON EN29LV640B-90TIP - 64 Megabit (8M x 8-bit / 4M x 16-bit) ​  |
 +| **Flash size:​** ​ | 8 MiB    |
 +| **RAM:​** ​        | 64 MiB   |
 +| **Wireless:​** ​   | 2x Broadcom BCM4322 802.11a/​b/​g/​n (integrated) ​  |
 +| **Ethernet:​** ​   | Broadcom BCM53115 Gigabit Switch ​                |
 +| **USB:​** ​        | 1x USB2.0 Host    |
 +| **Serial:​** ​     | [[#​Serial|Yes]] ​  |
 +| **JTAG:​** ​       | ?                 |
 +
 +==== Opening the case ====
 +
 +**Note:** This will void your warranty!
 +
 +The case parts are hold together by plastic claws, use a screwdriver to release them.
 +
 +See [[https://​forum.openwrt.org/​viewtopic.php?​pid=76343#​p76343|this form post]] for details.
 +
 +//PCB (front side)://\\
 +**Insert picture of PCB front side**
 +
 +//PCB (back side)://\\
 +{{media:​linksys:​wrt610n_pcb_back.jpg?​600}}
 +
 +===== Serial =====
 +
 +There are 5 solder pads near the rim on the backside of the PCB, see image above.
 +Serial port settings are 115000@8N1.
 +
 +
 +===== 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)   | Static ​                 |
 +| vlan1 (eth0.1) ​  | WAN port             | DHCP                    |
 +| wl0              | WiFi                 | Disabled ​               |
 +
 +===== Switch Ports (for VLANs) =====
 +
 +Switch port numbers are currently unknown.
 +
 +===== Failsafe mode =====
 +
 +If you forgot your password, broken one of the startup scripts, firewalled yourself or corrupted the JFFS2 partition, you can get back in by using OpenWrt'​s failsafe mode.
 +
 +==== Boot into failsafe mode ====
 +
 +  * Unplug the router'​s power cord.
 +  * Connect the router'​s LAN1 port directly to your PC.
 +  * Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. E. g. 192.168.1.2 (gateway and DNS is not required).
 +  * Plug the power on and wait for the DMZ LED to light up.
 +  * While the DMZ LED is on immediately press any button (Reset and Secure Easy Setup will work) a few times .
 +  * If done right the DMZ LED will quickly flash 3 times every second.
 +  * You should be able to telnet to the router at 192.168.1.1 now (no username and password)
 +
 +===== Buttons =====
 +
 +Available buttons are currently not known.
 +
 +===== Basic configuration =====
 +Since this part is identical for all devices, see [[doc:​howto:​basic.config|Basic configuration]].
 +
 +===== Connect stuff to the USB port =====
 +To connect stuff to the USB port, please see [[doc:​howto:​usb.overview|Connect stuff to the USB port]].
 +
 +===== Hardware Mods =====
 +
 +===== Bootlogs =====
 +==== OEM Bootlog ====
 +
 +See [[.:​wrt610n:​bootlog]].
 +
 +==== OpenWrt Bootlog ====
 +
 +
 +===== Other Info =====
 +
 +**Bug Tracking Ticket**
 +
 +[[https://​dev.openwrt.org/​ticket/​3857]]
 +
 +**Forum Thread**
 +
 +[[https://​forum.openwrt.org/​viewtopic.php?​id=16733]]
 +
 +**Vendor Source**
 +
 +[[ftp://​ftp.linksys.com/​opensourcecode/​wrt610n/​]]
 +
 +**OpenWrt System Information**
 +
 +See [[.:​wrt610n:​sysinfo]].
 +
 +**OpenWrt SoC Status**
 +
 +See [[doc:​hardware:​soc:​soc.broadcom.bcm47xx]]
 +
 +**For WIFI config with wl**
 +
 +Consult https://​dev.openwrt.org/​ticket/​5788 (don't choose an unsupported mode)
 +
 +===== Tags =====
 +{{tag>​bcm47xx bcm4705 GigabitEthernet 5Port 1USB 802.11abgn_simultan b43 64RAM 8Flash MIPS MIPS32}}