projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Added Onion Omega2 and Omega2+
[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 3c1fb4168cd23fb21bdf7d4b288c3427a53d6a38..0f2510c4bd81e5c4a2d35cd54db91e2fc44ca69f 100755
(executable)
--- a/
target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ramips/base-files/lib/upgrade/platform.sh
@@
-43,7
+43,6
@@
platform_check_image() {
dir-300-b7|\
dir-320-b1|\
dir-600-b1|\
dir-300-b7|\
dir-320-b1|\
dir-600-b1|\
- dir-600-b2|\
dir-615-d|\
dir-615-h1|\
dir-620-a1|\
dir-615-d|\
dir-615-h1|\
dir-620-a1|\
@@
-71,6
+70,8
@@
platform_check_image() {
jhr-n805r|\
jhr-n825r|\
jhr-n926r|\
jhr-n805r|\
jhr-n825r|\
jhr-n926r|\
+ kn_rc|\
+ kn_rf|\
kng_rc|\
linkits7688|\
linkits7688d|\
kng_rc|\
linkits7688|\
linkits7688d|\
@@
-101,6
+102,8
@@
platform_check_image() {
newifi-d1|\
nixcore|\
nw718|\
newifi-d1|\
nixcore|\
nw718|\
+ omega2|\
+ omega2p|\
oy-0001|\
pbr-d1|\
pbr-m1|\
oy-0001|\
pbr-d1|\
pbr-m1|\
@@
-132,6
+135,7
@@
platform_check_image() {
ur-336un|\
v22rw-2x2|\
vocore|\
ur-336un|\
v22rw-2x2|\
vocore|\
+ vocore2|\
vr500|\
w150m|\
w2914nsv2|\
vr500|\
w150m|\
w2914nsv2|\
@@
-202,7
+206,8
@@
platform_check_image() {
return 0
;;
c20i|\
return 0
;;
c20i|\
- c50)
+ c50|\
+ mr200)
[ "$magic" != "03000000" ] && {
echo "Invalid image type."
return 1
[ "$magic" != "03000000" ] && {
echo "Invalid image type."
return 1