projects
/
openwrt
/
staging
/
lynxis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WIP] add basic support cpe210v2
[openwrt/staging/lynxis.git]
/
target
/
linux
/
ar71xx
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index adb920c393526b5382430c77763bfcb93e7d595a..36ee082e5e67dd32a8412713811cce673e477e18 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-549,6
+549,12
@@
platform_check_image() {
tplink_pharos_check_image "$1" "7f454c46" && return 0
return 1
;;
tplink_pharos_check_image "$1" "7f454c46" && return 0
return 1
;;
+ cpe210v2|\
+ cpe510v2)
+ # magic = mktplinkfw v1 header
+ tplink_pharos_check_image "$1" "01000000" && return 0
+ return 1
+ ;;
a40|\
a60|\
mr1750v2|\
a40|\
a60|\
mr1750v2|\