From 1a4d07c2c534588cd7c8fb8bd479eb952c213dba Mon Sep 17 00:00:00 2001 From: Ludwig Thomeczek Date: Fri, 16 Dec 2016 12:50:34 +0100 Subject: ar71xx: add support for TP-LINK WR1043ND v4 Signed-off-by: Ludwig Thomeczek --- target/linux/ar71xx/image/tp-link.mk | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx/image') 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) -- cgit v1.2.3