From a972b1fb5f5d5c159b0310b3623cfd5442a5c322 Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Tue, 12 Nov 2019 01:25:31 +0900 Subject: 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 --- target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/ramips/mt7621') 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) ;; -- cgit v1.2.3