ar71xx: add support for TP-Link TL-WDR6500 v2

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

This patch adds support for TP-Link TL-WDR6500 v2.

The firmware has a U-Boot header for kernel, and a TP-LINK v2 header for
the whole firmware, so I have to create a new firmware creation method.

SVN-Revision: 46663
This commit is contained in:
John Crispin
2015-08-17 06:24:04 +00:00
parent a2b38ebf77
commit af60c367b7
11 changed files with 258 additions and 1 deletions

View File

@@ -341,6 +341,7 @@ platform_check_image() {
tl-wdr3500 | \
tl-wdr4300 | \
tl-wdr4900-v2 | \
tl-wdr6500-v2 | \
tl-wr703n | \
tl-wr710n | \
tl-wr720n-v3 | \
@@ -358,7 +359,15 @@ platform_check_image() {
tl-wr1043nd | \
tl-wr1043nd-v2 | \
tl-wr2543n)
[ "$magic" != "0100" ] && {
local magic_ver="0100"
case "$board" in
tl-wdr6500-v2)
magic_ver="0200"
;;
esac
[ "$magic" != "$magic_ver" ] && {
echo "Invalid image type."
return 1
}