aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh6
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh4
2 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index e146d1c476..3eb66dc646 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -487,6 +487,12 @@ ramips_board_detect() {
*"Timecloud")
name="timecloud"
;;
+ *"TL-WR840N v4")
+ name="tl-wr840n-v4"
+ ;;
+ *"TL-WR841N v13")
+ name="tl-wr841n-v13"
+ ;;
*"UBNT-ERX")
name="ubnt-erx"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 07530837d6..9b5da57146 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -230,7 +230,9 @@ platform_check_image() {
;;
c20i|\
c50|\
- mr200)
+ mr200|\
+ tl-wr840n-v4|\
+ tl-wr841n-v13)
[ "$magic" != "03000000" ] && {
echo "Invalid image type."
return 1