projects
/
15.05
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add LinkIt Smart7688 support
[15.05/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
lib
/
ramips.sh
diff --git
a/target/linux/ramips/base-files/lib/ramips.sh
b/target/linux/ramips/base-files/lib/ramips.sh
index
d2a1856
..
82a1f91
100755
(executable)
--- a/
target/linux/ramips/base-files/lib/ramips.sh
+++ b/
target/linux/ramips/base-files/lib/ramips.sh
@@
-418,6
+418,15
@@
ramips_board_detect() {
*"Mediatek MT7628AN evaluation board")
name="mt7628"
;;
*"Mediatek MT7628AN evaluation board")
name="mt7628"
;;
+ *"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
+ ;;
*)
name="generic"
;;
*)
name="generic"
;;