Mercury MW4530R

Cheap clone of http://wiki.openwrt.org/toh/tp-link/tl-wdr4310 TP-Link TL-WDR4310.

Some very short description about the model. If you have nothing substantial → leave blank, omit marketing bla, bla.

This is a template Create a new page in /toh/vendor_x/device-y and copy the content of this page there. Then edit there.

Supported Versions

Version/Model Launch Date S/N OpenWrt Version
Supported
Model Specific Notes
v1 ? - r37570, r37571 hardware similar to TL-WDR4310

Hardware Highlights

CPU Ram Flash Network USB Serial JTag
Atheros 128MiB 8MiB 4LAN + 2WIFI Yes Yes ?

Manufacturer's site: http://mercurycom.com.cn/Product/detail?pd=89 and its Google Translation.

Forum: https://forum.openwrt.org/viewtopic.php?id=45495

Price: AliExpress - about 61 USD

Keep the articles modular

Please include only model specific information, omit bla,bla and put everything generic into separate articles
generic.overview if you have no time to write certain stuff link to this
basic.config should lead the way, do not explain this again
DO NOT provide a complete howto here! Instead groom the general HowTos.

Installation

  1. »»»»here»»»»Latest OpenWrt release««««here«««« DO NOT PROVIDE OWN LINKS to http://downloads.openwrt.org/

Flash Layout

Please check out the article Flash Layout. It contains an example and a couple of explanations.

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.

OEM installation using the TFTP method

Specific values you need

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain "tftp")
TFTP Transfer Window FILL-IN seconds
TFTP Window Start approximately FILL-IN seconds after power on
TFTP Client Required IP Address FILL-IN

Upgrading OpenWrt

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

Terminal Upgrade Process

  • Login as root via SSH on 192.168.1.1
  • Use the following commands to upgrade.

cd /tmp/
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

  • If sysupgrade does not support this router, use the following commands.

cd /tmp/
wget http://http://downloads.openwrt.org/snapshots/trunk/ar71xx/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Basic configuration

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

Buttons

hardware.button on howto use and configure the hardware button(s).

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

Instruction set: MIPS / ARM / PowerPC / SPARC / Ubicom32 / x86 /AVR32 / ETRAX CRIS / …
Vendor: Qualcomm Atheros
Bootloader: U-Boot
System-On-Chip: QCA9558-AT4A Rev 2
CPU @Frq MIPS 24Kc V7.4 @400MHz / MIPS 34Kc V x.y @540MHz / MIPS 74Kc Vers. ?.? @720MHz
Flash size: 8192 KiB
Flash Chip: ST 25P64V6P
RAM size: 128 MiB
RAM Chip:
Wireless No1: SoC-integrated: QCA9558-AT4A w/ 3x3 MIMO for 2.4GHz 802.11b/g/n
Wireless No2: separate Chip: AR9580-AR1A w/ 3x3 MIMO for 5GHz 802.11a/n/ac
Switch: RealTek RTL8366RB Gigabit w/ vlan support
Modem: n/a
USB: Yes 1 x 2.0 / 3.0
Serial: Yes
JTAG: ?

Photos

Model Number

Front:

Photo of front of the casing

Back:

Photo of back of the casing

Opening the case

Note: This will void your warranty!

  • To remove the cover do a/b/c

Main PCB

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:

Photo of PCB with markings

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

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

Photo of PCB with markings

Debricking

Bootloader Mods

  1. you could read about bootloader in general

Hardware mods

  1. as a beginner, you really should inform yourself about soldering in general and then obtain some practical experience!

I²C GPIO Mod

Bootlogs

OEM bootlog

HELO CPUI L1CI DRAM ---- PHYS PHYE DINT LSYN USYN MSYN LMBE PASS ---- ZBSS CODE DATA L12F MAIN CFE version 1.0.37-106.5 for BCM96328 (32bit,SP,BE) Build Date: Tue Nov 1 17:30:26 CST 2011 (wanghuaijia@txcpyjeb) Copyright (C) 2000-2009 Broadcom Corporation. spi_flash_init find device_id spi_flash_get_device_id device_id =c815 HS Serial flash device: name GD25Q32, id 0xc815 size 4096KB Total Flash size: 4096K with 1024 sectors FLASH_BASE = 0xb8000000 fInfo->flash_rootfs_start_offset = 0x00010000 fInfo->flash_meta_start_blk = 1010 fInfo->flash_syslog_start_blk = 0 fInfo->flash_syslog_number_blk = 0 fInfo->flash_syslog_length = 0x0 fInfo->flash_backup_psi_start_blk = 1010 fInfo->flash_backup_psi_number_blk = 6 sp startAddr = 0xb83f8000 fInfo->flash_scratch_pad_start_blk = 1016 fInfo->flash_scratch_pad_number_blk = 2 fInfo->flash_scratch_pad_length = 0x2000 fInfo->flash_scratch_pad_blk_offset = 0x0 psi startAddr = b83fa000 fInfo->flash_persistent_start_blk = 1018 fInfo->flash_persistent_number_blk = 6 fInfo->flash_persistent_length = 0x6000 fInfo->flash_persistent_blk_offset = 0x0 Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz Main Thread: TP0 Memory Test Passed Total Memory: 67108864 bytes (64MB) Boot Address: 0xb8000000 Board IP address : 192.168.1.1:ffffff00 Host IP address : 192.168.1.100 Gateway IP address : Run from flash/host (f/h) : f Default host run file name : vmlinux Default host flash file name : bcm963xx_fs_kernel Boot delay (0-9 seconds) : 1 Board Id (0-4) : 96328A600 Number of MAC Addresses (1-32) : 11 Base MAC Address : 14:14:4b:0f:b1:97 PSI Size (1-64) KBytes : 24 Enable Backup PSI [0|1] : 1 System Log Size (0-256) KBytes : 0 Main Thread Number [0|1] : 0 User's PSI Size (0-64) KBytes : 0 Voice Board Configuration (0-4) : *** Press 'j' or 'J' to stop auto run (1 seconds) *** Auto run second count down: 1 web info: Waiting for connection on socket 0.

Notes

Tags

For some Help with the Tags, please have a look here: tags

Back to top

toh/mercury/mw4530r.txt · Last modified: 2013/08/12 19:11 by jmac928