aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
diff options
context:
space:
mode:
authorLudwig Thomeczek <ledesrc@wxorx.net>2016-12-16 12:50:34 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-12-20 14:38:48 +0100
commit1a4d07c2c534588cd7c8fb8bd479eb952c213dba (patch)
tree394d143191428cb1ad22aac2fe0324e50da7ce64 /target/linux/ar71xx/image
parent51740990cd1d5375a566454e692b479986cba958 (diff)
downloadupstream-1a4d07c2c534588cd7c8fb8bd479eb952c213dba.tar.gz
upstream-1a4d07c2c534588cd7c8fb8bd479eb952c213dba.tar.bz2
upstream-1a4d07c2c534588cd7c8fb8bd479eb952c213dba.zip
ar71xx: add support for TP-LINK WR1043ND v4
Signed-off-by: Ludwig Thomeczek <ledesrc@wxorx.net>
Diffstat (limited to 'target/linux/ar71xx/image')
-rw-r--r--target/linux/ar71xx/image/tp-link.mk19
1 files changed, 18 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk
index f6c1f5b193..394f2ecbc4 100644
--- a/target/linux/ar71xx/image/tp-link.mk
+++ b/target/linux/ar71xx/image/tp-link.mk
@@ -768,7 +768,24 @@ define Device/tl-wr1043nd-v3
DEVICE_PROFILE := TLWR1043
TPLINK_HWID := 0x10430003
endef
-TARGET_DEVICES += tl-wr1043nd-v1 tl-wr1043nd-v2 tl-wr1043nd-v3
+
+define Device/tl-wr1043nd-v4
+ $(Device/tplink)
+ DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
+ BOARDNAME := TL-WR1043ND-v4
+ DEVICE_PROFILE := TLWR1043
+ TPLINK_HWID := 0x10430004
+ TPLINK_FLASHLAYOUT := 16Msafeloader
+ MTDPARTS := spi0.0:128k(u-boot)ro,1536k(kernel),14016k(rootfs),128k(product-info)ro,320k(config)ro,64k(partition-table)ro,128k(logs)ro,64k(ART)ro,15552k@0x20000(firmware)
+ IMAGE_SIZE := 15552k
+ TPLINK_BOARD_NAME := TLWR1043NDV4
+ KERNEL := kernel-bin | patch-cmdline | lzma | mktplinkfw-combined -j
+ IMAGES := sysupgrade.bin factory.bin
+ IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
+ IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
+endef
+TARGET_DEVICES += tl-wr1043nd-v1 tl-wr1043nd-v2 tl-wr1043nd-v3 tl-wr1043nd-v4
define Device/tl-wr2543-v1
$(Device/tplink-8mlzma)