diff options
author | John Crispin <john@openwrt.org> | 2015-10-19 10:07:38 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-10-19 10:07:38 +0000 |
commit | 51dd991d3957a33f102c9887da379263599c395f (patch) | |
tree | fb3e9fdd2edcc6c2f42a385f7196b28fd6370f3c /target/linux/ramips/base-files/lib | |
parent | b792ea7ac045922ff287ed95c1a4d5961640f19f (diff) | |
download | upstream-51dd991d3957a33f102c9887da379263599c395f.tar.gz upstream-51dd991d3957a33f102c9887da379263599c395f.tar.bz2 upstream-51dd991d3957a33f102c9887da379263599c395f.zip |
ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47203
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 9 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index b89a88c27c..340bc4c3b3 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -202,6 +202,15 @@ ramips_board_detect() { *"M4") name="m4" ;; + *"MediaTek LinkIt Smart7688") + linkit="$(dd bs=1 skip=1024 count=12 if=/dev/mtd2 2> /dev/null)" + if [ "${linkit}" = "LINKITS7688D" ]; then + name="linkits7688d" + RAMIPS_MODEL="${machine} DUO" + else + name="linkits7688" + fi + ;; *"Memory 2 Move") name="m2m" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 44d41c1406..d3d9df3a0f 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -62,6 +62,8 @@ platform_check_image() { ht-tm02|\ hw550-3g|\ ip2202|\ + linkits7688|\ + linkits7688d|\ m2m|\ m3|\ m4|\ |