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 asiarf awapn2403 support
[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 d8098b2a6655a4b380d85669516edcd33929131f..a39c433e8f5b82bda7571c88d271debb97547a06 100755
(executable)
--- a/
target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ramips/base-files/lib/upgrade/platform.sh
@@
-11,7
+11,7
@@
platform_check_image() {
local board=$(ramips_board_name)
local magic="$(get_magic_long "$1")"
local board=$(ramips_board_name)
local magic="$(get_magic_long "$1")"
- [ "$
ARGC
" -gt 1 ] && return 1
+ [ "$
#
" -gt 1 ] && return 1
case "$board" in
3g-6200n | \
case "$board" in
3g-6200n | \
@@
-26,6
+26,7
@@
platform_check_image() {
ar725w | \
asl26555 | \
awm002-evb | \
ar725w | \
asl26555 | \
awm002-evb | \
+ awapn2403 | \
bc2 | \
broadway | \
carambola | \
bc2 | \
broadway | \
carambola | \
@@
-69,6
+70,7
@@
platform_check_image() {
rt-n14u | \
rt-n15 | \
rt-n56u | \
rt-n14u | \
rt-n15 | \
rt-n56u | \
+ rut5xx | \
sl-r7205 | \
tew-691gr | \
tew-692gr | \
sl-r7205 | \
tew-691gr | \
tew-692gr | \
@@
-96,6
+98,7
@@
platform_check_image() {
}
return 0
;;
}
return 0
;;
+ cy-swr1100 |\
dir-610-a1 |\
dir-645)
[ "$magic" != "5ea3a417" ] && {
dir-610-a1 |\
dir-645)
[ "$magic" != "5ea3a417" ] && {