From 71ae0792bad1b0eeb476513e15b326409f15ccb0 Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Sat, 16 Jun 2018 13:37:55 +0300 Subject: ath79: add tl-wr1043nd-v4 support everything is working tplink-safeloader: resize kernel partition kernel 4.14 is much bigger, resize the partition Signed-off-by: Lucian Cristian --- target/linux/ath79/image/generic-tp-link.mk | 36 ++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 11 deletions(-) (limited to 'target/linux/ath79/image') diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk index 0b4659abea..c946970818 100644 --- a/target/linux/ath79/image/generic-tp-link.mk +++ b/target/linux/ath79/image/generic-tp-link.mk @@ -1,16 +1,5 @@ include ./common-tp-link.mk - -define Device/tl-wr1043nd-v1 - $(Device/tplink-8m) - ATH_SOC := ar9132 - DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport - TPLINK_HWID := 0x10430001 - SUPPORTED_DEVICES := tplink,tl-wr1043nd-v1 tl-wr1043nd -endef -TARGET_DEVICES += tl-wr1043nd-v1 - define Device/tl-wdr3600 $(Device/tplink-8mlzma) ATH_SOC := ar9344 @@ -28,3 +17,28 @@ define Device/tl-wdr4300 SUPPORTED_DEVICES := tplink,tl-wdr4300 tl-wdr4300 endef TARGET_DEVICES += tl-wdr4300 + +define Device/tl-wr1043nd-v1 + $(Device/tplink-8m) + ATH_SOC := ar9132 + DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport + TPLINK_HWID := 0x10430001 + SUPPORTED_DEVICES := tplink,tl-wr1043nd-v1 tl-wr1043nd +endef +TARGET_DEVICES += tl-wr1043nd-v1 + +define Device/tl-wr1043nd-v4 + $(Device/tplink) + ATH_SOC := qca9563 + IMAGE_SIZE := 15552k + DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport + TPLINK_HWID := 0x10430004 + TPLINK_BOARD_ID := TLWR1043NDV4 + KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header + IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade + IMAGE/factory.bin := append-rootfs | tplink-safeloader factory + SUPPORTED_DEVICES := tplink,tl-wr1043nd-v4 tl-wr1043nd-v4 +endef +TARGET_DEVICES += tl-wr1043nd-v4 -- cgit v1.2.3