diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 003cdf8b0c0..926684b2bb9 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -79,7 +79,7 @@ ath79-generic - EAP225-Outdoor (v1) - TL-WDR3600 (v1) - TL-WDR4300 (v1) - - TL-WR1043N/ND (v3) + - TL-WR1043N/ND (v3, v4) - WBS210 (v2.0) * Ubiquiti diff --git a/patches/openwrt/0011-ath79-fix-TPLINK_HWREV-field-for-TL-WR1043ND-v4.patch b/patches/openwrt/0011-ath79-fix-TPLINK_HWREV-field-for-TL-WR1043ND-v4.patch new file mode 100644 index 00000000000..32058ab8986 --- /dev/null +++ b/patches/openwrt/0011-ath79-fix-TPLINK_HWREV-field-for-TL-WR1043ND-v4.patch @@ -0,0 +1,30 @@ +From 389235bd920214daf171ec4eda3ee187bdaa742c Mon Sep 17 00:00:00 2001 +From: Matthias Schiffer +Date: Fri, 25 Mar 2022 17:32:24 +0100 +Subject: [PATCH] ath79: fix TPLINK_HWREV field for TL-WR1043ND v4 + +Required to allow sysupgrades from OpenWrt 19.07. + +Closes #7071 + +Fixes: 98fbf2edc021 ("ath79: move TPLINK_HWID/_HWREV to parent for tplink-safeloader") +Signed-off-by: Matthias Schiffer +--- + target/linux/ath79/image/generic-tp-link.mk | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk +index d6f7e7655d..37a0fcc169 100644 +--- a/target/linux/ath79/image/generic-tp-link.mk ++++ b/target/linux/ath79/image/generic-tp-link.mk +@@ -711,6 +711,7 @@ define Device/tplink_tl-wr1043nd-v4 + DEVICE_VARIANT := v4 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport + TPLINK_HWID := 0x10430004 ++ TPLINK_HWREV := 0x1 + TPLINK_BOARD_ID := TLWR1043NDV4 + SUPPORTED_DEVICES += tl-wr1043nd-v4 + endef +-- +2.35.1 + diff --git a/targets/ath79-generic b/targets/ath79-generic index 74ed2273643..fdc1e4a5424 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -297,6 +297,9 @@ device('tp-link-tl-wdr4300-v1', 'tplink_tl-wdr4300-v1') device('tp-link-tl-wr1043nd-v3', 'tplink_tl-wr1043nd-v3', { manifest_aliases = { 'tp-link-tl-wr1043n-nd-v3', -- upgrade from OpenWrt 19.07 +device('tp-link-tl-wr1043nd-v4', 'tplink_tl-wr1043nd-v4', { + manifest_aliases = { + 'tp-link-tl-wr1043n-nd-v4', -- upgrade from OpenWrt 19.07 }, })