projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: flush mii register writes
[openwrt.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
fb61db6
..
c4c56af
100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-5,6
+5,7
@@
. /lib/ar71xx.sh
PART_NAME=firmware
. /lib/ar71xx.sh
PART_NAME=firmware
+RAMFS_COPY_DATA=/lib/ar71xx.sh
platform_check_image() {
local board=$(ar71xx_board_name)
platform_check_image() {
local board=$(ar71xx_board_name)
@@
-20,13
+21,20
@@
platform_check_image() {
}
return 0
;;
}
return 0
;;
- tl-wr941nd)
+ tl-wr
741nd | tl-wr
941nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1
}
return 0
;;
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1
}
return 0
;;
+ wrt160nl)
+ [ "$magic" != "4e4c" ] && {
+ echo "Invalid image type."
+ return 1
+ }
+ return 0
+ ;;
esac
echo "Sysupgrade is not yet supported on $board."
esac
echo "Sysupgrade is not yet supported on $board."
@@
-42,4
+50,5
@@
disable_watchdog() {
return 1
}
}
return 1
}
}
+
append sysupgrade_pre_upgrade disable_watchdog
append sysupgrade_pre_upgrade disable_watchdog
This page took
0.022266 seconds
and
4
git commands to generate.