diff options
author | Daniel Golle <daniel@makrotopia.org> | 2016-09-09 00:57:31 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2016-09-09 02:38:06 +0200 |
commit | 083ef3fefecd024b2b9cdc496e1f7811c225041e (patch) | |
tree | d118da4d8e914c0bd0dc1ee4721fb797a9c6d55c /target/linux/ramips/base-files/etc | |
parent | 943cf08fb72ab87b8a5ccb7752d36b6b452ac09f (diff) | |
download | upstream-083ef3fefecd024b2b9cdc496e1f7811c225041e.tar.gz upstream-083ef3fefecd024b2b9cdc496e1f7811c225041e.tar.bz2 upstream-083ef3fefecd024b2b9cdc496e1f7811c225041e.zip |
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 <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 5 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 1 |
2 files changed, 6 insertions, 0 deletions
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|\ |