2
0
forked from Ivasoft/openwrt

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>
This commit is contained in:
Sungbo Eo
2019-11-12 01:25:31 +09:00
committed by Adrian Schmutzler
parent 5cda133d99
commit a972b1fb5f
3 changed files with 156 additions and 0 deletions

View File

@@ -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)
;;