diff options
author | ValentÃn Kivachuk <vk18496@gmail.com> | 2018-11-30 00:13:53 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-11-30 00:20:28 +0100 |
commit | 30a7ab8f61c8a5f1a4428f8c7cf9a1d6a12b096b (patch) | |
tree | ff4467e70ae014c1257c8b737ef0df6c1d8ec090 /target/linux/ramips/base-files | |
parent | 493c1d17663dbfdaf23304994e71280400493fc2 (diff) | |
download | upstream-30a7ab8f61c8a5f1a4428f8c7cf9a1d6a12b096b.tar.gz upstream-30a7ab8f61c8a5f1a4428f8c7cf9a1d6a12b096b.tar.bz2 upstream-30a7ab8f61c8a5f1a4428f8c7cf9a1d6a12b096b.zip |
ramips: add support for MTC Wireless Router WR1201
MTC Wireless Router WR1201 is the OEM name of the board. It is also sold
rebranded as STRONG Dual Band Gigabit Router 1200.
Specification:
- SoC: MediaTek MT7621A (880 MHz)
- Flash: 16 MiB
- RAM: 128 MiB
- Wireless: 2.4Ghz(MT7602EN) and 5Ghz (MT7612EN)
- Ethernet speed: 10/100/1000
- Ethernet ports: 4+1
- 1x USB 3.0
- 1x microSD reader
- Serial baud rate of Bootloader and factory firmware: 57600
The OEM webinterface writes only as much bytes as listed in the
uImage header field to the flash. Also, the OEM webinterface
evaluates the name field of uImage header before flashing (the
string "WR1201_8_128")
To flash via webinterface, is mandatory to use first initramfs.bin
and after (from the OpenWrt) the sysupgrade.bin
Some notes:
- Some microSD will not work:
mtk-sd 1e130000.sdhci: no support for card's volts
mmc0: error -22 whilst initialising SDIO card
mtk-sd 1e130000.sdhci: no support for card's volts
mmc0: error -22 whilst initialising MMC card
mtk-sd 1e130000.sdhci: no support for card's volts
mmc0: error -22 whilst initialising SDIO card
mtk-sd 1e130000.sdhci: card claims to support voltages below defined range
mtk-sd 1e130000.sdhci: no support for card's volts
mmc0: error -22 whilst initialising MMC card
mtk-sd 1e130000.sdhci: no support for card's volts
mmc0: error -22 whilst initialising SDIO card
mtk-sd 1e130000.sdhci: no support for card's volts
mmc0: error -22 whilst initialising MMC card
Signed-off-by: ValentÃn Kivachuk <vk18496@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 1 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 4330254c8f..b2c69d4b59 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -236,6 +236,9 @@ mr200) ucidef_set_led_netdev "wan" "wan" "$boardname:white:wan" "usb0" set_wifi_led "$boardname:white:wlan" ;; +mtc,wr1201) + ucidef_set_led_switch "eth_link" "LAN link" "$boardname:green:eth_link" "switch0" "0x0f" + ;; mzk-ex750np) set_wifi_led "$boardname:red:wifi" ;; diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 0d8855c324..3af836a6f3 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -102,6 +102,7 @@ ramips_setup_interfaces() miwifi-nano|\ mt7621|\ mt7628|\ + mtc,wr1201|\ mzk-750dhp|\ mzk-w300nh2|\ netgear,r6120|\ diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index e28f066658..120cf8322a 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -110,6 +110,7 @@ platform_check_image() { mpr-a2|\ mr-102n|\ mt7628|\ + mtc,wr1201|\ mzk-750dhp|\ mzk-dp150n|\ mzk-ex300np|\ |