aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorOzgur Can Leonard <ozgurcan@gmail.com>2019-03-19 10:04:27 +0300
committerChristian Lamparter <chunkeey@gmail.com>2019-03-21 00:57:54 +0100
commit201d3d1a82e62bd139950571fc30f6b49d395378 (patch)
tree084a957c687db949de9939bb7603c024992cffd2 /target/linux/ramips/base-files/lib
parentf22c33b40cc7b542b3b31fa0d873d28d3a3482b5 (diff)
downloadupstream-201d3d1a82e62bd139950571fc30f6b49d395378.tar.gz
upstream-201d3d1a82e62bd139950571fc30f6b49d395378.tar.bz2
upstream-201d3d1a82e62bd139950571fc30f6b49d395378.zip
ramips: Xiaomi MIR3G: detect board name from DTS
- Former "mir3g" board name becomes "xiaomi,mir3g". - Reorder some entries to maintain alphabetical order. - Change DTS so status LEDs (yellow/red/blue) mimic Xiaomi stock firmware: (Section Indicator) <http://files.xiaomi-mi.co.uk/files/router_pro/router%20PRO%20EN.pdf> <http://files.xiaomi-mi.co.uk/files/Mi_WiFi_router_3/MiWiFi_router3_EN.pdf> |Yellow: Update (LED flickering), the launch of the system (steady light); |Blue: during normal operation (steady light); |Red: Safe mode (display flicker), system failure (steady light); Signed-off-by: Ozgur Can Leonard <ozgurcan@gmail.com> [Added link to similar Router 3 model] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
2 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index db93710ba7..093303892c 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -277,9 +277,6 @@ ramips_board_detect() {
*"Mercury MAC1200R v2")
name="mac1200rv2"
;;
- *"Mi Router 3G")
- name="mir3g"
- ;;
*"MicroWRT")
name="microwrt"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 67b0f3e7f4..7372a37939 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -37,11 +37,11 @@ platform_do_upgrade() {
case "$board" in
hc5962|\
- mir3g|\
r6220|\
netgear,r6350|\
ubnt-erx|\
ubnt-erx-sfp|\
+ xiaomi,mir3g|\
xiaomi,mir3p)
nand_do_upgrade "$ARGV"
;;