aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/upgrade/platform.sh
diff options
context:
space:
mode:
authorJackson Ming Hu <huming2207@gmail.com>2017-12-15 11:51:33 +0800
committerMathias Kresin <dev@kresin.me>2017-12-21 01:05:16 +0100
commitc0e131b4363dde16a1071131b7e762e36099f780 (patch)
tree180ee78c232b121b8d461ed6f131f71d6d83b19e /target/linux/ramips/base-files/lib/upgrade/platform.sh
parentfe6f298b07941758a759354c6751188c825c5ffb (diff)
downloadupstream-c0e131b4363dde16a1071131b7e762e36099f780.tar.gz
upstream-c0e131b4363dde16a1071131b7e762e36099f780.tar.bz2
upstream-c0e131b4363dde16a1071131b7e762e36099f780.zip
ramips: add support for newifi d2
Previously Newifi D2 could only use PandoraBox M1's firmware. It works fine, but LED GPIO is different. As a result, a separated DTS file for this device should be implemented. Hardware spec: * CPU: MTK MT7621A * RAM: 512MB * ROM: 32MB SPI Flash * WiFi: MTK MT7603+MT7612 * Button: 2 buttons (reset, wps) * LED: 3 single-color LEDs (USB, WiFi 2.4GHz, WiFi 5GHz) & 2 dual-color LEDs (Power, Internet) * Ethernet: 5 ports, 4 LAN + 1 WAN Installation method: Same as Newifi D1, users may need to request unlock code from the device manufacturer. Otherwise, a SPI flash programmer may be necessary to get the firmware flashed. After the device is unlocked, press and hold reset button before power cable plugs in. Then go to http://192.168.1.1 to upload and flash the firmware package. Signed-off-by: Jackson Ming Hu <huming2207@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index d95dcfe17a..68b47eeba0 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -107,6 +107,7 @@ platform_check_image() {
nbg-419n|\
nbg-419n2|\
newifi-d1|\
+ d-team,newifi-d2|\
nixcore-x1-8M|\
nixcore-x1-16M|\
nw718|\