aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/base-files
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2019-12-14 00:24:19 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-13 19:43:47 +0100
commit1b7199c90c7128e3f81cc4abc6d80ab76a820b12 (patch)
tree74ec71602f5aee46c6f542ea9652037e9d8989f1 /target/linux/ramips/mt7621/base-files
parent0bf4d681d4f2e4bd3c3a61e7fe5dca2a40b1902f (diff)
downloadupstream-1b7199c90c7128e3f81cc4abc6d80ab76a820b12.tar.gz
upstream-1b7199c90c7128e3f81cc4abc6d80ab76a820b12.tar.bz2
upstream-1b7199c90c7128e3f81cc4abc6d80ab76a820b12.zip
ramips: add support for JCG JHR-AC876M
JCG JHR-AC876M is an AC2600M router Hardware specs: SoC: MT7621AT 2.4GHz: MT7615N 4x4 @ PCIe0 5GHz: MT7615N 4x4 @ PCIe1 Flash: Winbond W25Q128JVSQ 16MiB RAM: Nanya NT5CB128M16 256MiB USB 2.0 and 3.0 ports 6 LEDs, 3 of which are connected to SoC GPIO Reset and WPS buttons Flash instructions: Stock to OpenWrt: Upload factory.bin in stock firmware's upgrade page, do not preserve settings OpenWrt to stock: Push and hold the reset button for 5s while power cycling to enter recovery mode; Visit 192.168.1.1 and upload stock firmware MAC addresses map: 0x0004 *:1c wlan2g/wan/label 0x8004 *:20 wlan5g 0xe000 *:1b lan 0xe006 *:1a not used in stock fw Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network5
1 files changed, 5 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 bae7f41f1c..5c6b5659cb 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
@@ -14,6 +14,7 @@ ramips_setup_interfaces()
d-team,pbr-m1|\
firefly,firewrt|\
hiwifi,hc5962|\
+ jcg,jhr-ac876m|\
mediatek,ap-mt7621a-v60|\
mediatek,mt7621-eval-board|\
mqmaker,witi|\
@@ -222,6 +223,10 @@ ramips_setup_macs()
iptime,a6ns-m)
wan_mac=$(mtd_get_mac_binary u-boot 0x1fc40)
;;
+ jcg,jhr-ac876m)
+ label_mac=$(mtd_get_mac_binary factory 0x4)
+ wan_mac=$label_mac
+ ;;
mediatek,ap-mt7621a-v60)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x5)" 1)
;;