aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2019-11-12 01:25:31 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-13 19:42:48 +0100
commita972b1fb5f5d5c159b0310b3623cfd5442a5c322 (patch)
tree1f745a868728166c15235a31fa9fd4eab5c93fb5 /target/linux/ramips/mt7621/base-files/etc/board.d/02_network
parent5cda133d99f25ac85fcc4ef9ae092f9c4fb90739 (diff)
downloadupstream-a972b1fb5f5d5c159b0310b3623cfd5442a5c322.tar.gz
upstream-a972b1fb5f5d5c159b0310b3623cfd5442a5c322.tar.bz2
upstream-a972b1fb5f5d5c159b0310b3623cfd5442a5c322.zip
ramips: add support for ipTIME A6ns-M
ipTIME A6ns-M is a 2.4/5GHz band AC1900 router, based on MediaTek MT7621A. Specifications: - SoC: MT7621AT - RAM: DDR3 128MB - Flash: SPI NOR 16MB - WiFi: - 2.4GHz: MT7615 - 5GHz: MT7615 - Ethernet: 5x 10/100/1000Mbps - Switch: SoC internal - UART: - J4: 3.3V, TX, RX, GND (3.3V is the square pad) / 57600 8N1 Installation via web interface: 1. Flash **initramfs** image through the stock web interface. 2. Boot into OpenWrt and perform sysupgrade with sysupgrade image. Revert to stock firmware: 1. Perform sysupgrade with stock image. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index c9e3cbb984..bae7f41f1c 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -59,6 +59,7 @@ ramips_setup_interfaces()
asus,rt-ac65p|\
asus,rt-ac57u|\
asus,rt-ac85p|\
+ iptime,a6ns-m|\
mikrotik,rb750gr3|\
ubiquiti,edgerouterx|\
ubiquiti,edgerouterx-sfp|\
@@ -218,6 +219,9 @@ ramips_setup_macs()
wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr)
label_mac=$wan_mac
;;
+ iptime,a6ns-m)
+ wan_mac=$(mtd_get_mac_binary u-boot 0x1fc40)
+ ;;
mediatek,ap-mt7621a-v60)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x5)" 1)
;;