aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>2018-08-10 01:22:46 +0800
committerMathias Kresin <dev@kresin.me>2018-08-14 10:21:32 +0200
commitd20f4fc628e9e3c1e1d4063a0798e4097ffb3c4a (patch)
tree006e341d74b48dd3027c4352aaafb171536165b9 /target/linux/ramips/base-files/etc/board.d/01_leds
parent1213504750bf27b46fd958d236fcf56f33d2d8cd (diff)
downloadupstream-d20f4fc628e9e3c1e1d4063a0798e4097ffb3c4a.tar.gz
upstream-d20f4fc628e9e3c1e1d4063a0798e4097ffb3c4a.tar.bz2
upstream-d20f4fc628e9e3c1e1d4063a0798e4097ffb3c4a.zip
ramips: add support for HiWiFi HC5861Bold-master
HiWiFi "Gee Enjoy1200" HC5861B is a dual-band router based on MediaTek MT7628AN https://www.hiwifi.com/enjoy-view Specifications: - MediaTek MT7628AN 580MHz - 128 MB DDR2 RAM - 16 MB SPI Flash - 2.4G MT7628AN 802.11bgn 2T2R 300Mbps - 5G MT7612EN 802.11ac 2T2R 867Mbps - 5x 10/100 Mbps Ethernet Flash instruction: 1. Get SSH access to the router 2. SSH to router with `ssh -p 1022 root@192.168.199.1`, The SSH password is the same as the webconfig one 3. Upload OpenWrt sysupgrade firmware into the router's `/tmp` folder with SCP 4. Run `mtd write /tmp/<filename> firmware` 5. reboot Everything is working Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index b64e9d14c5..4e90efd4e6 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -240,6 +240,9 @@ hg255d)
set_usb_led "$boardname:green:usb"
ucidef_set_led_netdev "internet" "internet" "$boardname:green:internet" "eth0.2"
;;
+hiwifi,hc5861b)
+ set_wifi_led "$boardname:green:wlan2g"
+ ;;
hpm)
ucidef_set_led_default "power" "POWER" "$boardname:orange:power" "1"
ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0"