@ -56,17 +56,6 @@ define Build/mktplinkfw
$( if $( findstring sysupgrade,$1 ) ,-s) && mv $@ .new $@ || rm -f $@
e n d e f
d e f i n e B u i l d / m k t p l i n k f w - c h n - v 2
-$( STAGING_DIR_HOST) /bin/mktplinkfw \
-H $( TPLINK_HWID) -W $( TPLINK_HWREV) -F $( TPLINK_FLASHLAYOUT) -N OpenWrt -V $( REVISION) -m 2 \
-k $( word 1,$^) \
-r $@ \
-o $@ .new \
-j -X 0x40000 \
-a $( call rootfs_align,$( FILESYSTEM) ) \
$( if $( findstring sysupgrade,$1 ) ,-s) && mv $@ .new $@ || rm -f $@
e n d e f
# mktplinkfw-initramfs <optional extra arguments to mktplinkfw binary>
#
# -c combined image
@ -80,16 +69,6 @@ define Build/mktplinkfw-initramfs
@mv $@ .new $@
e n d e f
d e f i n e B u i l d / m k t p l i n k f w - i n i t r a m f s - c h n - v 2
$( STAGING_DIR_HOST) /bin/mktplinkfw \
-H $( TPLINK_HWID) -W $( TPLINK_HWREV) -F $( TPLINK_FLASHLAYOUT) -N OpenWrt -V $( REVISION) -m 2 \
-k $@ \
-o $@ .new \
-s -S \
-c
@mv $@ .new $@
e n d e f
d e f i n e B u i l d / l o a d e r - c o m m o n
rm -rf $@ .src
$( MAKE) -C lzma-loader \
@ -278,12 +257,9 @@ define Device/tplink
e n d e f
d e f i n e D e v i c e / t p l i n k - c h n - v 2
TPLINK_HWREV := 0x1
KERNEL := kernel-bin | patch-cmdline | lzma
KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | mktplinkfw-initramfs-chn-v2
IMAGES := sysupgrade.bin factory.bin
IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw-chn-v2 sysupgrade
IMAGE/factory.bin := append-rootfs | mktplinkfw-chn-v2 factory
$( Device /tplink )
IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade "-m 2"
IMAGE/factory.bin := append-rootfs | mktplinkfw factory "-m 2"
e n d e f
d e f i n e D e v i c e / t p l i n k - n o l z m a
@ -363,6 +339,7 @@ define Device/mw4530r-v1
$( Device /tl -wdr 4300-v 1)
TPLINK_HWID := 0x45300001
e n d e f
TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1
d e f i n e D e v i c e / t l - w d r 3 3 2 0 - v 2
$( Device /tplink -chn -v 2-4mlzma )
@ -370,8 +347,7 @@ $(Device/tplink-chn-v2-4mlzma)
DEVICE_PROFILE = TLWDR3320V2
TPLINK_HWID := 0x33200002
e n d e f
TARGET_DEVICES += tl-wdr3500-v1 tl-wdr3600-v1 tl-wdr4300-v1 tl-wdr4300-v1-il tl-wdr4310-v1 mw4530r-v1 tl-wdr3320-v2
TARGET_DEVICES += tl-wdr3320-v2
d e f i n e D e v i c e / a r c h e r - c 5
$( Device/tplink-16mlzma)