Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:mercury:mac1200r [2015/02/10 10:02] – [OpenWrt support] br1 | toh:mercury:mac1200r [2018/06/02 07:08] – Request for confirmation of support removed; datatables added tmomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Mercury MAC1200R v1 ====== | ||
| + | The Mercury MAC1200R v1 is a wireless router with dual wireless radio (802.11a/ | ||
| + | |||
| + | This device can be found at [[http:// | ||
| + | |||
| + | ===== Supported Versions ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid | ||
| + | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| + | align : c, | ||
| + | filter | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | Support for 802.11a/ | ||
| + | |||
| + | ===== Hardware Highlights ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Installation ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| + | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
| + | align : c,c,c | ||
| + | filter | ||
| + | filter | ||
| + | ---- | ||
| + | |||
| + | -> [[docs: | ||
| + | |||
| + | |||
| + | Installing OpenWrt from the factory firmware is not possible right now; TP-Link started to use a new firmware format with RSA signature in China. It is possible however to do it from U-Boot via TFTP. | ||
| + | |||
| + | ==== TFTP method ==== | ||
| + | |||
| + | To upload the firmware via TFTP you need a TFTP server running on your computer configured with the IP address 192.168.1.100/ | ||
| + | |||
| + | Connect your computer to the serial TTL port of the router and to one of the LAN (blue) ports. Power the router on and enter the bootloader menu by quickly typing " | ||
| + | |||
| + | Type the following commands to load the firmware file to the router' | ||
| + | |||
| + | < | ||
| + | tftpboot 0x81000000 openwrt-ar71xx-generic-mc-mac1200r-squashfs-factory.bin | ||
| + | erase 0x9f020000 +0x3c0000 | ||
| + | cp.b 0x81000000 0x9f020000 0x3c0000 | ||
| + | bootm 9f020000 | ||
| + | </ | ||
| + | |||
| + | You could also type '' | ||
| + | |||
| + | < | ||
| + | Autobooting in 1 seconds | ||
| + | db12x> | ||
| + | db12x> | ||
| + | db12x> tftpboot 0x81000000 openwrt-firmware-for-mac1200r.bin | ||
| + | eth1 link down | ||
| + | enet0 port1 up | ||
| + | dup 1 speed 1000 | ||
| + | Using eth0 device | ||
| + | TFTP from server 192.168.1.100; | ||
| + | Filename ' | ||
| + | Load address: 0x81000000 | ||
| + | Loading: ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ############################## | ||
| + | done | ||
| + | Bytes transferred = 3145732 (300004 hex) | ||
| + | db12x> erase 0x9f020000 +0x3c0000 | ||
| + | Erasing flash... ............................................................ | ||
| + | Erased 60 sectors | ||
| + | db12x> cp.b 0x81000000 0x9f020000 0x3c0000 | ||
| + | Copy to Flash... ............................................................done | ||
| + | db12x> bootm 9f020000 | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Hardware ===== | ||
| + | ==== Detailed hardware ==== | ||
| + | ^ [[wp> | ||
| + | ^ Vendor | ||
| + | ^ [[docs: | ||
| + | ^ [[docs: | ||
| + | ^ [[docs: | ||
| + | ^ Flash size | 8192 KiB | | ||
| + | ^ Flash Chip | [[http:// | ||
| + | ^ RAM size | 128 MiB | | ||
| + | ^ RAM Chip | ? | | ||
| + | ^ Wireless No1 | SoC-integrated: | ||
| + | ^ Wireless No2 | On-board chip: QCA9882 2x2 MIMO 802.11a/ | ||
| + | ^ [[docs: | ||
| + | ^ USB | No | | ||
| + | ^ [[docs: | ||
| + | |||
| + | ==== Serial connection ==== | ||
| + | The serial port of the MAC1200R can be accessed using the TTL pins shown in the image below. A voltage level converter (such as a CP2102 TTL-USB dongle) is required. | ||
| + | |||
| + | With the Atheros logo the right way up and the leds to the back, counting from the Atheros SOC left to right, the pinout is TX, RX, GND. Also see the image (which is upside down): | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The communication settings are: TTL voltage, 115200 bps, 8N1. | ||
| + | |||
| + | |||
| + | ===== Bootloader ===== | ||
| + | The device uses U-Boot as the bootloader. To access the bootloader menu via the serial TTL port, type " | ||
| + | |||
| + | ==== U-Boot bootlog ==== | ||
| + | < | ||
| + | U-Boot 1.1.4--LSDK-10.1.389 (Apr 9 2014 - 15:23:02) | ||
| + | |||
| + | U-Boot DB120 | ||
| + | Wasp 1.2 | ||
| + | |||
| + | DRAM: 64 MB | ||
| + | Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17 | ||
| + | flash size 8MB, sector count = 128 | ||
| + | Flash: | ||
| + | Using default environment | ||
| + | |||
| + | In: serial | ||
| + | Out: | ||
| + | Err: | ||
| + | Net: | ||
| + | No valid address in Flash. Using fixed address | ||
| + | No valid address in Flash. Using fixed address | ||
| + | | ||
| + | WASP ----> S27 PHY | ||
| + | s27 reg init | ||
| + | : cfg1 0x80000000 cfg2 0x7114 | ||
| + | eth0: ba: | ||
| + | athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000 | ||
| + | athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10 | ||
| + | eth0 up | ||
| + | WASP ----> S27 PHY | ||
| + | s27 reg init lan | ||
| + | ATHRS27: resetting s27 | ||
| + | ATHRS27: s27 reset done | ||
| + | : cfg1 0x800c0000 cfg2 0x7214 | ||
| + | eth1: ba: | ||
| + | athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000 | ||
| + | athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10 | ||
| + | athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000 | ||
| + | athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10 | ||
| + | athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000 | ||
| + | athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10 | ||
| + | athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000 | ||
| + | athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10 | ||
| + | eth1 up | ||
| + | eth0, eth1 | ||
| + | Setting 0xb8116290 to 0x28502d0f | ||
| + | Autobooting in 1 seconds | ||
| + | ## Booting image at 9f020000 ... | ||
| + | | ||
| + | |||
| + | Starting kernel ... | ||
| + | </ | ||
| + | |||
| + | ===== External links ===== | ||
| + | * Manufacturer' | ||
| + | * OpenWrt forum: [[https:// | ||
| + | * OpenWrt ticket including the original patch for Barrier Breaker 14.07: [[https:// | ||
| + | * Article at ComputerSolutions.cn: | ||
| + | |||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||