User Tools

Site Tools


toh:linksys:linksys_wrt1200ac

Linksys WRT1200AC

The WRT1200AC is the baby of the wrt_ac_series, with only 2 detachable antennas, and a slower processor. It is a dualband, 802.11ac wave 1 (80MHz) capable device.
Both revisions of the device are hardware identical, with changes made to the way wifi power tables are loaded into the device due to moves from Linksys in response to FCC changes.

WRT1200AC

Supported Versions

Experimental Versions

None at this time.

Hardware Highlights

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
WRT1200ACv1 (caiman), v2 (caiman)Marvell Armada 385 88F68201300128NAND512Marvell 88W8864b/g/na/n/ac-5-1x 2.0, 1x 3.0

Installation

Dual Firmware Flashing

The WRT AC series of routers uses a dual firmware flash layout. This means that two separate firmware partitions are included on the device and are flashed in an alternating fashion.

If booting from the primary partition, the secondary (or alternate) partition will be flashed on next sysupgrade. The reverse logic is also true. See the Flash Layout section for more details.

A Luci plugin has been developed for managing dual firmware flash devices called luci-app-advanced-reboot.

2016/05/18 13:26 · JW0914

Flash Layout

If booting from primary partition, mtd5 will be named ubi, with mtd7 as ubi if booting from alternate partition

Layer 0 raw flash
128 MiB
Layer 1 mtd0
u-boot
1 MiB
mtd1
u_env
256 KiB
mtd2
s_env
256 KiB
mtd3
devinfo
1 MiB
firmware
80 MiB
mtd8
syscfg
38 MiB
mtd9
unused_area
6656 KiB
Layer 2 mtd4
kernel1
40 MiB
mtd6
kernel2
40 MiB
Layer 3 primary
kernel image
6 MiB
mtd5
rootfs1 (ubi)
34 MiB
alternate
kernel image
6 MiB
mtd7
rootfs2 (ubi)
34 MiB

OEM easy installation

OEM install

  1. Login to Linksys WebUI (Default IP: 192.168.1.1; Password: admin)
  2. Connectivity Manual Update

  3. Select factory image [.img]
    1. Once flash completes, router will reboot

  4. If the image selected
    1. Has LuCI pre-installed:
    2. Does not have LuCI pre-installed:
        1. Linux/BSD: SSH client built in
        2. Windows: Download PuTTY
2016/05/18 13:26 · JW0914

Upgrading OpenWrt

Sysupgrade

LuCI

  1. Login to the OpenWrt WebUI (Default IP: 192.168.1.1)

  2. System Backup/Flash Firmware Flash New Firmware Image Choose File
    1. Select Sysupgrade bin file [.bin]

  3. Untick Keep Settings, then select Flash Image

CLI

  1. Login to OpenWrt via SSH (DropBear / OpenSSH)
    1. Linux/BSD: SSH client built in
    2. Windows: Download PuTTY
  2. Download/Upload firmware image to router
    1. Download via SSH Terminal:
      cd /tmp && opkg update && opkg install wget && wget <Image-Link>

      OR

    2. Upload via Client Machine Terminal:
      scp -r -i "C:\OpenWrt.ppk" -2 -scp -P 22 "D:\Path\To\Firmware.img" root@192.168.1.1:/tmp
      1. For PuTTY, change: scp to pscp -scp

      • -scp = force use of SCP protocol
      • -r = copy directories recursively
      • -i = private key file for user authentication
      • -2 = force use of particular SSH protocol version [2]
      • -p = connect to specified port

  3. Flash image
    1. SSH Terminal:
      cd /tmp && sysupgrade -n -v <image-name>
      • -n = do not save configuration over reflash
      • -v = more verbose
2016/05/18 13:26 · JW0914

Return to Stock Firmware

Return to OEM

LuCI

  1. Due to missing/incompatible metadata in OEM images, sysupgrade must be forced via the command line

CLI

  1. Login to OpenWrt via SSH (DropBear / OpenSSH)
    1. Linux/BSD: SSH client built in
    2. Windows: Download PuTTY
  2. Download/Upload firmware image to router
    1. Download via SSH Terminal:
      cd /tmp && opkg update && opkg install wget && wget <Image-Link>

      OR

    2. Upload via Client Machine Terminal:
      scp -r -i "C:\OpenWrt.ppk" -2 -scp -P 22 "D:\Path\To\Firmware.img" root@192.168.1.1:/tmp
      1. For PuTTY, change: scp to pscp -scp

      • -scp = force use of SCP protocol
      • -r = copy directories recursively
      • -i = private key file for user authentication
      • -2 = force use of particular SSH protocol version [2]
      • -p = connect to specified port

  3. Flash image
    1. SSH Terminal:
      cd /tmp && sysupgrade -F -n -v <image-name>
      • -F = force write, required to bypass metadata check
      • -n = do not save configuration over reflash
      • -v = more verbose
2016/05/18 13:26 · JW0914

Debricking

generic.debrick

If the U-Boot bootloader environment becomes corrupted, it can be reset
Reset Bootloader Environment

If the U-Boot bootloader becomes corrupted, it can be recovered
Recover Bootloader

Firmware Recovery

If the firmware has become unresponsive and won't boot, chances are you can recover it easily due to the Dual Firmware partition layout, by switching to the alternate firmware.
For this reason, it is recommended to always keep at least one known good version of the firmware on either partition.

Switch router from primary to alternate partition or vice versa using any of the 4 below methods:

LuCI

  1. Install luci-app-advanced-reboot:
    1. SSH:
      opkg update && opkg install luci-app-advanced-reboot
    2. WebUI:
      1. System Software
        1. Actions Update Lists
        2. Actions Filter
          1. luci-app-advanced-reboot Find Package
        3. Status: Available packages
          1. Install luci-app-advanced-reboot

  2. System Advanced Reboot

Serial

  1. Connect via Serial:
    reboot
  2. At 3 second autoboot interrupt delay, press any key
  3. Boot
    1. Primary Partition
      1. Armada XP
        run linksysnandboot
      2. Armada 385
        run nandboot
    2. Alternate Partition:
      1. Armada XP
        run linksysaltnandboot
      2. Armada 385
        run altnandboot

SSH

  1. Determine current partition:
    /usr/sbin/fw_printenv -n boot_part
  2. Boot
    1. Primary Partition:
      /usr/sbin/fw_setenv boot_part 1 && reboot
    2. Alternate Partition:
      /usr/sbin/fw_setenv boot_part 2 && reboot

Power Switch

  1. Power off router with power switch.

  2. Turn power back on and Power LED will light.
    1. As soon as all LEDs turn off (~2s), power off router with power switch

  3. Turn power back on and Power LED will light.
    1. As soon as all LEDs turn off (~2s), power off router with power switch

  4. Turn power back on and Power LED will light.
    1. As soon as all LEDs turn off (~2s), power off router with power switch

  5. Turn power back on and allow router to fully boot.
    • It should now be booted to the alternate firmware partition (partitions)
2016/05/18 13:26 · JW0914

Failsafe mode

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Switch Ports (for VLANs)

eth0/eth1: physical PCB connection LAN: physical LAN ports on router WAN: physical Internet port on router

Marvell 88E6176 (WRT1200AC)

sw.port 0 1 2 3 4 5 6 vlan ID
LAN 4 3 2 1 eth1 1
WAN Internet eth0 2

Buttons

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

BUTTON Event
Reset reset
WPS wps

Hardware

Info

General
Brand Linksys
Model WRT1200AC
Versions v1 (caiman), v2 (caiman)
Device Type WiFi Router
Availability Available 2017
Comments - general [Launch Date: 2015.04] OEM Firmware Name: caiman.img
OpenWrt Support
Supported Since Revision
Supported Since Release 15.05
Supported Current Release 18.06.2
Unsupported
Hardware
Instruction set ARM
Sub Instruction Set ARMv7
Bootloader U-Boot
Target mvebu
System-On-Chip
CPU MHz 1300
Flash MB 128NAND
RAM MB 512
Network
Ethernet 100M ports -
Ethernet Gbit ports 5
Switch Marvell 88E6176
Modem -
VLAN Yes
Comments - network ports
Wireless
WLAN 2.4GHz b/g/n
WLAN 5.0GHz a/n/ac
WLAN Hardware Marvell 88W8864
Detachable Antennas 2
Comments - WLAN
Interfaces
USB ports 1x 2.0, 1x 3.0
SATA ports 1
Serial Yes
JTAG Yes
Comments - USB & SATA ports eSATA <-> USB2
Misc
LED count 11
Button count 1
Power supply 12 VDC, 2.5 A
Links
Forum Topic URL
WikiDevi URL https://wikidevi.com/wiki/Linksys_WRT1200AC
OEM device homepage URL https://www.linksys.com/us/p/P-WRT1200AC/
Firmware OEM Stock URL https://www.linksys.com/us/support-article?articleNum=156197
Firmware OpenWrt Install URL http://downloads.openwrt.org/releases/18.06.2/targets/mvebu/cortexa9/openwrt-18.06.2-mvebu-cortexa9-linksys-wrt1200ac-squashfs-factory.img
Firmware OpenWrt Upgrade URL http://downloads.openwrt.org/releases/18.06.2/targets/mvebu/cortexa9/openwrt-18.06.2-mvebu-cortexa9-linksys-wrt1200ac-squashfs-sysupgrade.bin
Edit the underlying data View/Edit data

Photos

FIXME

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Opening the case

Note: This will void your warranty!

  1. Remove front foot screws
  2. Pull front blue cover straight forward slowly, but firmly
  3. Remove rear foot screws
  4. Gently pry up rear, black top cover using plastic spudgers/opening tool
    1. There are two plastic guides, one per side, which slide into the rear feet

Main PCB:
FIXME Insert photo of PCB

Serial

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:

Serial connection parameters 115200, 8N1

Serial Port

Synopsis

Serial Port is labeled J1 on the board, utilizing a JST PH 6 pin connector with a 2.0mm pitch, operating at 3.3v

  • The more common 2.54mm pitch will not fit properly.
    • In a pinch, removing the plastic casing from 2.54mm female connectors allows for a stable enough connection.
      • Ensure leads are insulated with electrical tape
  • If flashing regularly, you may wish to invest in a USB-TTL AJ cable
    • USB-TTL AJ cables require installation of a 3.5mm Jack (F) on the router
Serial Header
Pin Out
Pins 1 2 3 4 5 6
Function Gnd Tx n/a Rx n/a n/a
2016/05/18 13:26 · JW0914

Marvell Wifi

This device uses the Marvell Wifi mwlwifi driver. You can read more about it here: Marvell Wifi

Bootloader mods

Hardware mods

Bootlogs

OEM bootlog


OpenWrt bootlog


Community Builds

Community Build details for the WRT AC Series (including this router) can be found here.

Notes

Space for additional notes, links to forum threads or other resources.

  • The v1 and v2 devices are identical for flashing purposes.
  • The v2 was released at a later date after Linksys moved towards locking down the wifi power tables in the EEPROM
  • You may find additional/supplementary information at the wrt_ac_series page

Tags

toh/linksys/linksys_wrt1200ac.txt · Last modified: 2019/03/16 07:24 by lantis1008