diff options
author | Yuan Chenmang <771992497@qq.com> | 2016-05-28 18:04:17 +0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-06-01 12:52:28 +0200 |
commit | b38296f2f6c362b81545b7e42eb25abe6ccebfb2 (patch) | |
tree | 8fdca73f8a7d64a92bdc6aa78c76b8fe6a0448b8 /target/linux/ramips/base-files | |
parent | 5770678122e76079debd6eeeb118f32e3fc78b84 (diff) | |
download | mtk-20170518-b38296f2f6c362b81545b7e42eb25abe6ccebfb2.zip mtk-20170518-b38296f2f6c362b81545b7e42eb25abe6ccebfb2.tar.gz mtk-20170518-b38296f2f6c362b81545b7e42eb25abe6ccebfb2.tar.bz2 |
ramips: add Widora-NEO board support
The Widora board is similar to the Linkit 7688 but features a larger flash
capacity.
Signed-off-by: Yuan Chenmang <771992497@qq.com>
[Jo-Philipp Wich: Reword commit message, cleanup initial PR]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index bf31c2a..4728c75 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -50,6 +50,7 @@ ramips_setup_interfaces() mpr-a2|\ ncs601w|\ w150m|\ + widora-neo|\ wnce2001|\ zte-q7) ucidef_add_switch "switch0" diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 2988cd9..7e56886 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -156,7 +156,8 @@ get_status_led() { re6500|\ whr-1166d|\ whr-300hp2|\ - whr-600d) + whr-600d|\ + widora-neo) status_led="$board:orange:wifi" ;; mzk-ex300np|\ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 9d5421b..cbe455d 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -436,6 +436,9 @@ ramips_board_detect() { *"WHR-G300N") name="whr-g300n" ;; + *"Widora-NEO") + name="widora-neo" + ;; *"WiTi") name="witi" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 6036f73..91c9997 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -129,6 +129,7 @@ platform_check_image() { whr-300hp2|\ whr-600d|\ whr-g300n|\ + widora-neo|\ witi|\ wizfi630a|\ wl-330n|\ |