projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips:Add support for Aigale Ai-BR100
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ramips/base-files/lib/upgrade/platform.sh
b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 4fe0ef46fa7dd6ba10c7476998a98f96957ffb96..991d3b556e9c8d6766002a8be64aa1d7b0c021b5 100755
(executable)
--- a/
target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ramips/base-files/lib/upgrade/platform.sh
@@
-19,6
+19,7
@@
platform_check_image() {
3g300m | \
a5-v11 | \
air3gii | \
3g300m | \
a5-v11 | \
air3gii | \
+ ai-br100 |\
all0239-3g | \
all0256n | \
all5002 | \
all0239-3g | \
all0256n | \
all5002 | \
@@
-44,6
+45,7
@@
platform_check_image() {
dir-620-a1 | \
dir-620-d1 | \
dir-810l | \
dir-620-a1 | \
dir-620-d1 | \
dir-810l | \
+ e1700 | \
esr-9753 | \
f7c027 | \
fonera20n | \
esr-9753 | \
f7c027 | \
fonera20n | \
@@
-86,6
+88,10
@@
platform_check_image() {
w306r-v20 |\
w502u |\
whr-g300n |\
w306r-v20 |\
w502u |\
whr-g300n |\
+ whr-600d |\
+ whr-1166d |\
+ wsr-600 |\
+ wsr-1166 |\
wl-330n | \
wl-330n3g | \
wl-351 | \
wl-330n | \
wl-330n3g | \
wl-351 | \
@@
-110,6
+116,13
@@
platform_check_image() {
}
return 0
;;
}
return 0
;;
+ ar670w)
+ [ "$magic" != "6d000080" ] && {
+ echo "Invalid image type."
+ return 1
+ }
+ return 0
+ ;;
cy-swr1100 |\
dir-610-a1 |\
dir-645)
cy-swr1100 |\
dir-610-a1 |\
dir-645)