[OpenWrt-Devel] [ar71xx] Mercury MW150R board support

Andrew 'Necromant' Andrianov andrew at ncrmnt.org
Mon Jul 23 18:06:21 CEST 2012


Mercury MW150R is sold for ~20$ in several flavors, sometimes locally-rebranded.
Some of the flavors can run OpenWRT. Some (from taobao) even have OpenWRT
preinstalled. They come with flash ranging from 2MiB to 8MiB. The worst case
are the routers that have only 2MiB flash and 8MiB DDR RAM shipped with VxWorks
preinstalled.
These worst-case boards can only run OpenWRT after a DDR and flash upgrade.
This patchset was tested against one of those (worst-case boards) I got.
All the proper leds, buttons and sysupgrade tweaks inside.
My resulting hardware upgrade was:
8MiB DDR RAM -> 64 MiB DDR RAM
2MiB SPI Flash -> 16MiB SPI Flash
I used uboot dumped from WR703N, which is a dirty hack at the moment.
I will be adding detailed hardware upgrade instructions to the OpenWRT wiki
shortly.

 .../linux/ar71xx/base-files/etc/uci-defaults/leds  |    9 ++
 target/linux/ar71xx/base-files/lib/ar71xx.sh       |    3 +
 .../ar71xx/base-files/lib/upgrade/platform.sh      |    3 +-
 target/linux/ar71xx/config-3.3                     |    1 +
 .../files/arch/mips/ath79/mach-mercury-mw150r.c    |  119 ++++++++++++++++++++
 target/linux/ar71xx/generic/profiles/mercury.mk    |   15 +++
 target/linux/ar71xx/image/Makefile                 |    9 ++
 .../610-MIPS-ath79-openwrt-machines.patch          |   49 ++++++---
 tools/firmware-utils/src/mktplinkfw.c              |   13 ++
 9 files changed, 206 insertions(+), 15 deletions(-)

Regards,
Andrew




More information about the openwrt-devel mailing list