From 083ef3fefecd024b2b9cdc496e1f7811c225041e Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 9 Sep 2016 00:57:31 +0200 Subject: ramips: add support for Mercury MAC1200R v2 MT7628AN + MT7612E, 8MB SPI flash, 64MB DDR RAM reset button GPIO is still missing (anyone?) bootloader password is 'slp' Signed-off-by: Daniel Golle --- target/linux/ramips/base-files/etc/board.d/02_network | 5 +++++ target/linux/ramips/base-files/etc/diag.sh | 1 + 2 files changed, 6 insertions(+) (limited to 'target/linux/ramips/base-files/etc') 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 32bfa77f70..e9df34524b 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -72,6 +72,7 @@ ramips_setup_interfaces() dir-615-h1|\ firewrt|\ hlk-rm04|\ + mac1200rv2|\ miwifi-mini|\ miwifi-nano|\ mt7621|\ @@ -313,6 +314,10 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary factory 4) lan_mac=$(mtd_get_mac_binary factory 46) ;; + mac1200rv2) + lan_mac=$(mtd_get_mac_binary factory_info 13) + wan_mac=$(macaddr_add "$lan_mac" 1) + ;; m3|\ m4|\ x5|\ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 5693f6307e..969594d8a6 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -65,6 +65,7 @@ get_status_led() { dir-620-d1|\ hpm|\ hw550-3g|\ + mac1200rv2|\ miniembwifi|\ mofi3500-3gn|\ rut5xx|\ -- cgit v1.2.3