Skip to content

Commit

Permalink
ath79-generic: (re)add support for tl-wr1043nd-v4
Browse files Browse the repository at this point in the history
Gone due to
commit 45c84a1 ("ar71xx: drop target")
  • Loading branch information
AiyionPrime committed Mar 25, 2022
1 parent 9751744 commit 5f286e1
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user/supported_devices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
From 389235bd920214daf171ec4eda3ee187bdaa742c Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <[email protected]>
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 <[email protected]>
---
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

3 changes: 3 additions & 0 deletions targets/ath79-generic
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
})

Expand Down

0 comments on commit 5f286e1

Please sign in to comment.