2018-05-30 13:18:50 +00:00
|
|
|
include ./common-tp-link.mk
|
2018-05-06 08:20:11 +00:00
|
|
|
|
2018-12-12 16:56:15 +00:00
|
|
|
define Device/tplink_archer-a7-v5
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
2018-12-12 16:56:15 +00:00
|
|
|
IMAGE_SIZE := 15104k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Archer A7
|
|
|
|
DEVICE_VARIANT := v5
|
2019-12-19 19:42:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
|
|
|
|
ath10k-firmware-qca988x-ct
|
2018-12-12 16:56:15 +00:00
|
|
|
TPLINK_BOARD_ID := ARCHER-A7-V5
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-a7-v5
|
|
|
|
|
ath79: add support for TP-Link Archer A9 v6
TP-Link Archer A9 v6 (FCCID: TE7A9V6) is an AC1900 Wave-2 gigabit home
router based on a combination of Qualcomm QCN5502 (most likely a 4x4:4
version of the QCA9563 WiSOC), QCA9984 and QCA8337N.
The vendor's firmware content reveals that the same device might be
available on the US market under name 'Archer C90 v6'. Due to lack of
access to such hardware, support introduced in this commit was tested
only on the EU version (sold under 'Archer A9 v6' name).
Based on the information on the PL version of the vendor website, this
device has been already phased out and is no longer available.
Specifications:
- Qualcomm QCN5502 (775 MHz)
- 128 MB of RAM (DDR2)
- 16 MB of flash (SPI NOR)
- 5x Gbps Ethernet (Qualcomm QCA8337N over SGMII)
- Wi-Fi:
- 802.11b/g/n on 2.4 GHz: Qualcomm QCN5502* in 4x4:4 mode
- 802.11a/n/ac on 5 GHz: Qualcomm QCA9984 in 3x3:3 mode
- 3x non-detachable, dual-band external antennas (~3.5 dBi for 5 GHz,
~2.2 dBi for 2.4 GHz, IPEX/U.FL connectors)
- 1x internal PCB antenna for 2.4 GHz (~1.8 dBi)
- 1x USB 2.0 Type-A
- 11x LED (4x connected to QCA8337N, 7x connected to QCN5502)
- 2x button (reset, WPS)
- UART (4-pin, 2.54 mm pitch) header on PCB (not populated)
- 1x mechanical power switch
- 1x DC jack (12 V)
*) unsupported due to missing support for QCN550x in ath9k
UART system serial console notice:
The RX signal of the main SOC's UART on this device is shared with the
WPS button's GPIO. The first-stage U-Boot by default disables the RX,
resulting in a non-functional UART input.
If you press and keep 'ENTER' on the serial console during early
boot-up, the first-stage U-Boot will enable RX input.
Vendor firmware allows password-less access to the system over serial.
Flash instruction (vendor GUI):
1. It is recommended to first upgrade vendor firmware to the latest
version (1.1.1 Build 20210315 rel.40637 at the time of writing).
2. Use the 'factory' image directly in the vendor's GUI.
Flash instruction (TFTP based recovery in second-stage U-Boot):
1. Rename 'factory' image to 'ArcherA9v6_tp_recovery.bin'
2. Setup a TFTP server on your PC with IP 192.168.0.66/24.
3. Press and hold the reset button for ~5 sec while turning on power.
4. The device will download image, flash it and reboot.
Flash instruction (web based recovery in first-stage U-Boot):
1. Use 'CTRL+C' during power-up to enable CLI in first-stage U-Boot.
2. Connect a PC with IP set to 192.168.0.1 to one of the LAN ports.
3. Issue 'httpd' command and visit http://192.168.0.1 in browser.
4. Use the 'factory' image.
If you would like to restore vendor's firmware, follow one of the
recovery methods described above.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-02-25 22:01:10 +00:00
|
|
|
define Device/tplink_archer-a9-v6
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
|
|
|
SOC := qcn5502
|
|
|
|
IMAGE_SIZE := 15360k
|
|
|
|
DEVICE_MODEL := Archer A9
|
|
|
|
DEVICE_VARIANT := v6
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
|
|
|
|
ath10k-firmware-qca9984-ct
|
|
|
|
TPLINK_BOARD_ID := ARCHER-A9-V6
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-a9-v6
|
|
|
|
|
2018-10-28 04:30:52 +00:00
|
|
|
define Device/tplink_archer-c2-v3
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
2018-10-28 04:30:52 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Archer C2
|
|
|
|
DEVICE_VARIANT := v3
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct
|
2018-10-28 04:30:52 +00:00
|
|
|
TPLINK_BOARD_ID := ARCHER-C2-V3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c2-v3
|
|
|
|
|
2019-05-09 12:55:16 +00:00
|
|
|
define Device/tplink_archer-c25-v1
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9561
|
2019-05-09 12:55:16 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Archer C25
|
|
|
|
DEVICE_VARIANT := v1
|
2019-05-09 12:55:16 +00:00
|
|
|
TPLINK_BOARD_ID := ARCHER-C25-V1
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct
|
2019-05-09 12:55:16 +00:00
|
|
|
SUPPORTED_DEVICES += archer-c25-v1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c25-v1
|
|
|
|
|
2019-08-22 12:34:45 +00:00
|
|
|
define Device/tplink_archer-c5-v1
|
|
|
|
$(Device/tplink-16mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9558
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := Archer C5
|
|
|
|
DEVICE_VARIANT := v1
|
2019-12-19 19:42:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
|
|
|
|
ath10k-firmware-qca988x-ct
|
2019-08-22 12:34:45 +00:00
|
|
|
TPLINK_HWID := 0xc5000001
|
|
|
|
SUPPORTED_DEVICES += archer-c5
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c5-v1
|
|
|
|
|
ath79: add support for Archer C58/C59 v1
This commit adds support for the Archer C58 v1 and C59 v1, previously
supported in the ar71xx target.
CPU: Qualcomm QCA9561
RAM: 64M (C58) / 128M (C59)
FLASH: 8M (C58) / 16M (C59)
WiFi: QCA9561 bgn 3x3:3
QCA9888 nac 2x2:2
LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS
Only C59: USB
BTN: WPS, WiFi, Reset
Installation
------------
Via Web-UI:
Update factory image via Web-UI.
Via TFTP:
Rename factory image to "tp_recovery.bin" and place it in the root-dir
of your tftp server. Configure to listen on 192.168.0.66. Power up the
router while holding down the reset-button. The router will flash itself
and reboot.
Note: For TFTP, you might need a switch between router and computer, as
link establishment might take to long.
Signed-off-by: David Bauer <mail@david-bauer.net>
2018-10-31 19:19:49 +00:00
|
|
|
define Device/tplink_archer-c58-v1
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9561
|
ath79: add support for Archer C58/C59 v1
This commit adds support for the Archer C58 v1 and C59 v1, previously
supported in the ar71xx target.
CPU: Qualcomm QCA9561
RAM: 64M (C58) / 128M (C59)
FLASH: 8M (C58) / 16M (C59)
WiFi: QCA9561 bgn 3x3:3
QCA9888 nac 2x2:2
LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS
Only C59: USB
BTN: WPS, WiFi, Reset
Installation
------------
Via Web-UI:
Update factory image via Web-UI.
Via TFTP:
Rename factory image to "tp_recovery.bin" and place it in the root-dir
of your tftp server. Configure to listen on 192.168.0.66. Power up the
router while holding down the reset-button. The router will flash itself
and reboot.
Note: For TFTP, you might need a switch between router and computer, as
link establishment might take to long.
Signed-off-by: David Bauer <mail@david-bauer.net>
2018-10-31 19:19:49 +00:00
|
|
|
IMAGE_SIZE := 7936k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Archer C58
|
|
|
|
DEVICE_VARIANT := v1
|
ath79: add support for Archer C58/C59 v1
This commit adds support for the Archer C58 v1 and C59 v1, previously
supported in the ar71xx target.
CPU: Qualcomm QCA9561
RAM: 64M (C58) / 128M (C59)
FLASH: 8M (C58) / 16M (C59)
WiFi: QCA9561 bgn 3x3:3
QCA9888 nac 2x2:2
LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS
Only C59: USB
BTN: WPS, WiFi, Reset
Installation
------------
Via Web-UI:
Update factory image via Web-UI.
Via TFTP:
Rename factory image to "tp_recovery.bin" and place it in the root-dir
of your tftp server. Configure to listen on 192.168.0.66. Power up the
router while holding down the reset-button. The router will flash itself
and reboot.
Note: For TFTP, you might need a switch between router and computer, as
link establishment might take to long.
Signed-off-by: David Bauer <mail@david-bauer.net>
2018-10-31 19:19:49 +00:00
|
|
|
TPLINK_BOARD_ID := ARCHER-C58-V1
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct
|
ath79: add support for Archer C58/C59 v1
This commit adds support for the Archer C58 v1 and C59 v1, previously
supported in the ar71xx target.
CPU: Qualcomm QCA9561
RAM: 64M (C58) / 128M (C59)
FLASH: 8M (C58) / 16M (C59)
WiFi: QCA9561 bgn 3x3:3
QCA9888 nac 2x2:2
LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS
Only C59: USB
BTN: WPS, WiFi, Reset
Installation
------------
Via Web-UI:
Update factory image via Web-UI.
Via TFTP:
Rename factory image to "tp_recovery.bin" and place it in the root-dir
of your tftp server. Configure to listen on 192.168.0.66. Power up the
router while holding down the reset-button. The router will flash itself
and reboot.
Note: For TFTP, you might need a switch between router and computer, as
link establishment might take to long.
Signed-off-by: David Bauer <mail@david-bauer.net>
2018-10-31 19:19:49 +00:00
|
|
|
SUPPORTED_DEVICES += archer-c58-v1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c58-v1
|
|
|
|
|
|
|
|
define Device/tplink_archer-c59-v1
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9561
|
ath79: add support for Archer C58/C59 v1
This commit adds support for the Archer C58 v1 and C59 v1, previously
supported in the ar71xx target.
CPU: Qualcomm QCA9561
RAM: 64M (C58) / 128M (C59)
FLASH: 8M (C58) / 16M (C59)
WiFi: QCA9561 bgn 3x3:3
QCA9888 nac 2x2:2
LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS
Only C59: USB
BTN: WPS, WiFi, Reset
Installation
------------
Via Web-UI:
Update factory image via Web-UI.
Via TFTP:
Rename factory image to "tp_recovery.bin" and place it in the root-dir
of your tftp server. Configure to listen on 192.168.0.66. Power up the
router while holding down the reset-button. The router will flash itself
and reboot.
Note: For TFTP, you might need a switch between router and computer, as
link establishment might take to long.
Signed-off-by: David Bauer <mail@david-bauer.net>
2018-10-31 19:19:49 +00:00
|
|
|
IMAGE_SIZE := 14528k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Archer C59
|
|
|
|
DEVICE_VARIANT := v1
|
ath79: add support for Archer C58/C59 v1
This commit adds support for the Archer C58 v1 and C59 v1, previously
supported in the ar71xx target.
CPU: Qualcomm QCA9561
RAM: 64M (C58) / 128M (C59)
FLASH: 8M (C58) / 16M (C59)
WiFi: QCA9561 bgn 3x3:3
QCA9888 nac 2x2:2
LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS
Only C59: USB
BTN: WPS, WiFi, Reset
Installation
------------
Via Web-UI:
Update factory image via Web-UI.
Via TFTP:
Rename factory image to "tp_recovery.bin" and place it in the root-dir
of your tftp server. Configure to listen on 192.168.0.66. Power up the
router while holding down the reset-button. The router will flash itself
and reboot.
Note: For TFTP, you might need a switch between router and computer, as
link establishment might take to long.
Signed-off-by: David Bauer <mail@david-bauer.net>
2018-10-31 19:19:49 +00:00
|
|
|
TPLINK_BOARD_ID := ARCHER-C59-V1
|
2019-12-19 19:42:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
|
|
|
|
ath10k-firmware-qca9888-ct
|
ath79: add support for Archer C58/C59 v1
This commit adds support for the Archer C58 v1 and C59 v1, previously
supported in the ar71xx target.
CPU: Qualcomm QCA9561
RAM: 64M (C58) / 128M (C59)
FLASH: 8M (C58) / 16M (C59)
WiFi: QCA9561 bgn 3x3:3
QCA9888 nac 2x2:2
LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS
Only C59: USB
BTN: WPS, WiFi, Reset
Installation
------------
Via Web-UI:
Update factory image via Web-UI.
Via TFTP:
Rename factory image to "tp_recovery.bin" and place it in the root-dir
of your tftp server. Configure to listen on 192.168.0.66. Power up the
router while holding down the reset-button. The router will flash itself
and reboot.
Note: For TFTP, you might need a switch between router and computer, as
link establishment might take to long.
Signed-off-by: David Bauer <mail@david-bauer.net>
2018-10-31 19:19:49 +00:00
|
|
|
SUPPORTED_DEVICES += archer-c59-v1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c59-v1
|
|
|
|
|
2019-09-16 16:45:02 +00:00
|
|
|
define Device/tplink_archer-c59-v2
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9561
|
2019-09-16 16:45:02 +00:00
|
|
|
IMAGE_SIZE := 14400k
|
|
|
|
DEVICE_MODEL := Archer C59
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
TPLINK_BOARD_ID := ARCHER-C59-V2
|
2019-12-19 19:42:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
|
|
|
|
ath10k-firmware-qca9888-ct
|
2019-09-16 16:45:02 +00:00
|
|
|
SUPPORTED_DEVICES += archer-c59-v2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c59-v2
|
|
|
|
|
2019-08-22 12:34:45 +00:00
|
|
|
define Device/tplink_archer-c6-v2
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
2019-08-22 12:34:45 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := Archer C6
|
ath79: add support for TP-Link Archer C6 v2 (US) and A6 (US/TW)
This patch is based on #1689 and adds support for TP-Link Archer
C6 v2 (US) and A6 (US/TW).
The hardware is the same as EU and RU variant, except for GPIOs
(LEDS/Buttons), flash(chip/partitions) and UART being available
on the board.
- SOC: Qualcomm QCA9563 @ 775MHz
- Flash: GigaDevice GD25Q127CS1G (16MiB)
- RAM: Zentel A3R1GE40JBF (128 MiB DDR2)
- Ethernet: Qualcomm QCA8337N: 4x 1Gbps LAN + 1x 1Gbps WAN
- Wireless:
- 2.4GHz (bgn) QCA9563 integrated (3x3)
- 5GHz (ac) Qualcomm QCA9886 (2x2)
- Button: 1x power, 1x reset, 1x wps
- LED: 6x LEDs: power, wlan2g, wlan5g, lan, wan, wps
- UART: 115200, 8n1 (header available on board)
Known issues:
- Wireless: 5GHz is known to have lower RSSI signal, it affects speed and range.
Flash instructions:
Upload openwrt-ath79-generic-tplink_archer-c6-v2-us-squashfs-factory.bin
via the router Web interface.
Flash instruction using tftp recovery:
1. Connect the computer to one of the LAN ports of the router
2. Set the computer IP to 192.168.0.66
3. Start a tftp server with the OpenWrt factory image in the
tftp root directory renamed to ArcherA6v2_tp_recovery.bin.
4. Connect power cable to router, press and hold the
reset button and turn the router on
5. Keep the reset button pressed until the WPS LED lights up
6. Wait ~150 seconds to complete flashing
Flash partitioning: I've followed #1689 for defining the partition layout
for this patch. The partition named as "tplink" @ 0xfd0000 is marked
as read only as it is where some config for stock firmware are stored.
On stock firmware those stock partitions starts at 0xfd9400 however
I had not been able to make it functional starting on the same address as
on stock fw, so it has been partitioned following #1689 and not the stock
partition layout for this specific partition. Due to that firmware/rootfs
partition lenght is 0xf80000 and not 0xf89400 as stock.
According to the GPL code, the EU/RU/JP variant does have different GPIO pins
assignment to LEDs and buttons, also the flash memory layout is different.
GPL Source Code: https://static.tp-link.com/resources/gpl/gpl-A6v2_us.tar.gz
Signed-off-by: Anderson Vulczak <andi@andi.com.br>
[wrap commit message, remove soft_ver change for C6 v2 EU, move LED aliases
to DTS files, remove dts-v1 in DTSI, node/property reorder in DTSI]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-10-05 13:44:55 +00:00
|
|
|
DEVICE_VARIANT := v2 (EU/RU/JP)
|
2019-08-22 12:34:45 +00:00
|
|
|
TPLINK_BOARD_ID := ARCHER-C6-V2
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c6-v2
|
|
|
|
|
ath79: add support for TP-Link Archer C6 v2 (US) and A6 (US/TW)
This patch is based on #1689 and adds support for TP-Link Archer
C6 v2 (US) and A6 (US/TW).
The hardware is the same as EU and RU variant, except for GPIOs
(LEDS/Buttons), flash(chip/partitions) and UART being available
on the board.
- SOC: Qualcomm QCA9563 @ 775MHz
- Flash: GigaDevice GD25Q127CS1G (16MiB)
- RAM: Zentel A3R1GE40JBF (128 MiB DDR2)
- Ethernet: Qualcomm QCA8337N: 4x 1Gbps LAN + 1x 1Gbps WAN
- Wireless:
- 2.4GHz (bgn) QCA9563 integrated (3x3)
- 5GHz (ac) Qualcomm QCA9886 (2x2)
- Button: 1x power, 1x reset, 1x wps
- LED: 6x LEDs: power, wlan2g, wlan5g, lan, wan, wps
- UART: 115200, 8n1 (header available on board)
Known issues:
- Wireless: 5GHz is known to have lower RSSI signal, it affects speed and range.
Flash instructions:
Upload openwrt-ath79-generic-tplink_archer-c6-v2-us-squashfs-factory.bin
via the router Web interface.
Flash instruction using tftp recovery:
1. Connect the computer to one of the LAN ports of the router
2. Set the computer IP to 192.168.0.66
3. Start a tftp server with the OpenWrt factory image in the
tftp root directory renamed to ArcherA6v2_tp_recovery.bin.
4. Connect power cable to router, press and hold the
reset button and turn the router on
5. Keep the reset button pressed until the WPS LED lights up
6. Wait ~150 seconds to complete flashing
Flash partitioning: I've followed #1689 for defining the partition layout
for this patch. The partition named as "tplink" @ 0xfd0000 is marked
as read only as it is where some config for stock firmware are stored.
On stock firmware those stock partitions starts at 0xfd9400 however
I had not been able to make it functional starting on the same address as
on stock fw, so it has been partitioned following #1689 and not the stock
partition layout for this specific partition. Due to that firmware/rootfs
partition lenght is 0xf80000 and not 0xf89400 as stock.
According to the GPL code, the EU/RU/JP variant does have different GPIO pins
assignment to LEDs and buttons, also the flash memory layout is different.
GPL Source Code: https://static.tp-link.com/resources/gpl/gpl-A6v2_us.tar.gz
Signed-off-by: Anderson Vulczak <andi@andi.com.br>
[wrap commit message, remove soft_ver change for C6 v2 EU, move LED aliases
to DTS files, remove dts-v1 in DTSI, node/property reorder in DTSI]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-10-05 13:44:55 +00:00
|
|
|
define Device/tplink_archer-c6-v2-us
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
ath79: add support for TP-Link Archer C6 v2 (US) and A6 (US/TW)
This patch is based on #1689 and adds support for TP-Link Archer
C6 v2 (US) and A6 (US/TW).
The hardware is the same as EU and RU variant, except for GPIOs
(LEDS/Buttons), flash(chip/partitions) and UART being available
on the board.
- SOC: Qualcomm QCA9563 @ 775MHz
- Flash: GigaDevice GD25Q127CS1G (16MiB)
- RAM: Zentel A3R1GE40JBF (128 MiB DDR2)
- Ethernet: Qualcomm QCA8337N: 4x 1Gbps LAN + 1x 1Gbps WAN
- Wireless:
- 2.4GHz (bgn) QCA9563 integrated (3x3)
- 5GHz (ac) Qualcomm QCA9886 (2x2)
- Button: 1x power, 1x reset, 1x wps
- LED: 6x LEDs: power, wlan2g, wlan5g, lan, wan, wps
- UART: 115200, 8n1 (header available on board)
Known issues:
- Wireless: 5GHz is known to have lower RSSI signal, it affects speed and range.
Flash instructions:
Upload openwrt-ath79-generic-tplink_archer-c6-v2-us-squashfs-factory.bin
via the router Web interface.
Flash instruction using tftp recovery:
1. Connect the computer to one of the LAN ports of the router
2. Set the computer IP to 192.168.0.66
3. Start a tftp server with the OpenWrt factory image in the
tftp root directory renamed to ArcherA6v2_tp_recovery.bin.
4. Connect power cable to router, press and hold the
reset button and turn the router on
5. Keep the reset button pressed until the WPS LED lights up
6. Wait ~150 seconds to complete flashing
Flash partitioning: I've followed #1689 for defining the partition layout
for this patch. The partition named as "tplink" @ 0xfd0000 is marked
as read only as it is where some config for stock firmware are stored.
On stock firmware those stock partitions starts at 0xfd9400 however
I had not been able to make it functional starting on the same address as
on stock fw, so it has been partitioned following #1689 and not the stock
partition layout for this specific partition. Due to that firmware/rootfs
partition lenght is 0xf80000 and not 0xf89400 as stock.
According to the GPL code, the EU/RU/JP variant does have different GPIO pins
assignment to LEDs and buttons, also the flash memory layout is different.
GPL Source Code: https://static.tp-link.com/resources/gpl/gpl-A6v2_us.tar.gz
Signed-off-by: Anderson Vulczak <andi@andi.com.br>
[wrap commit message, remove soft_ver change for C6 v2 EU, move LED aliases
to DTS files, remove dts-v1 in DTSI, node/property reorder in DTSI]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-10-05 13:44:55 +00:00
|
|
|
IMAGE_SIZE := 15872k
|
|
|
|
DEVICE_MODEL := Archer C6
|
|
|
|
DEVICE_VARIANT := v2 (US)
|
|
|
|
DEVICE_ALT0_VENDOR := TP-Link
|
|
|
|
DEVICE_ALT0_MODEL := Archer A6
|
|
|
|
DEVICE_ALT0_VARIANT := v2 (US/TW)
|
|
|
|
TPLINK_BOARD_ID := ARCHER-C6-V2-US
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c6-v2-us
|
|
|
|
|
2019-05-05 16:36:43 +00:00
|
|
|
define Device/tplink_archer-c60-v1
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9561
|
2019-05-05 16:36:43 +00:00
|
|
|
IMAGE_SIZE := 7936k
|
|
|
|
DEVICE_MODEL := Archer C60
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
TPLINK_BOARD_ID := ARCHER-C60-V1
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct
|
2019-05-05 16:36:43 +00:00
|
|
|
SUPPORTED_DEVICES += archer-c60-v1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c60-v1
|
|
|
|
|
2019-05-05 16:46:09 +00:00
|
|
|
define Device/tplink_archer-c60-v2
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9561
|
2019-05-05 16:46:09 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := Archer C60
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
TPLINK_BOARD_ID := ARCHER-C60-V2
|
2019-12-22 20:05:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct
|
2019-05-05 16:46:09 +00:00
|
|
|
SUPPORTED_DEVICES += archer-c60-v2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c60-v2
|
|
|
|
|
ath79: add support for TP-Link Archer C60 v3
TP-Link Archer C60 v3 is a dual-band AC1350 router,
based on Qualcomm/Atheros QCA9561 + QCA9886.
It seems to be identical to the v2 revision, except that
it lacks a WPS LED and has different GPIO for amber WAN LED.
Specification:
- 775/650/258 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH (SPI NOR)
- 3T3R 2.4 GHz
- 2T2R 5 GHz
- 5x 10/100 Mbps Ethernet
- 6x LED, 2x button
- UART header on PCB
Flash instruction (WebUI):
Download *-factory.bin image and upload it via the firmwary upgrade
function of the stock firmware WebUI.
Flash instruction (TFTP):
1. Set PC to fixed IP address 192.168.0.66
2. Download *-factory.bin image and rename it to tp_recovery.bin
3. Start a tftp server with the file tp_recovery.bin in its root
directory
4. Turn off the router
5. Press and hold reset button
6. Turn on router with the reset button pressed and wait ~15 seconds
7. Release the reset button and after a short time the firmware should
be transferred from the tftp server
8. Wait ~30 second to complete recovery
While TFTP works for OpenWrt images, my device didn't accept the
only available official firmware "Archer C60(EU)_V3.0_190115.bin".
In contrast to earlier revisions (v2), the v3 contains the (same)
MAC address twice, once in 0x1fa08 and again in 0x1fb08.
While the partition-table on the device refers to the latter, the
firmware image contains a different partition-table for that region:
name device firmware
factory-boot 0x00000-0x1fb00 0x00000-0x1fa00
default-mac 0x1fb00-0x1fd00 0x1fa00-0x1fc00
pin 0x1fd00-0x1fe00 0x1fc00-0x1fd00
product-info 0x1fe00-0x1ff00 0x1fd00-0x1ff00
device-id 0x1ff00-0x20000 0x1ff00-0x20000
While the MAC address is present twice, other data like the PIN isn't,
so with the partitioning from the firmware image the PIN on the device
would actually be outside of its partition.
Consequently, the patch uses the MAC location from the device (which
is the same as for the v2).
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-12 13:43:15 +00:00
|
|
|
define Device/tplink_archer-c60-v3
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
|
|
|
SOC := qca9561
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := Archer C60
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
TPLINK_BOARD_ID := ARCHER-C60-V3
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c60-v3
|
|
|
|
|
2018-08-17 16:36:32 +00:00
|
|
|
define Device/tplink_archer-c7-v1
|
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9558
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Archer C7
|
|
|
|
DEVICE_VARIANT := v1
|
2019-11-22 18:38:46 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2018-08-17 16:36:32 +00:00
|
|
|
TPLINK_HWID := 0x75000001
|
2019-04-17 13:45:52 +00:00
|
|
|
SUPPORTED_DEVICES += archer-c7
|
2018-08-17 16:36:32 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c7-v1
|
|
|
|
|
2018-08-02 07:14:10 +00:00
|
|
|
define Device/tplink_archer-c7-v2
|
2018-06-26 05:25:33 +00:00
|
|
|
$(Device/tplink-16mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9558
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Archer C7
|
|
|
|
DEVICE_VARIANT := v2
|
2019-12-19 19:42:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
|
|
|
|
ath10k-firmware-qca988x-ct
|
2018-06-26 05:25:33 +00:00
|
|
|
TPLINK_HWID := 0xc7000002
|
2019-04-17 13:45:52 +00:00
|
|
|
SUPPORTED_DEVICES += archer-c7
|
2018-12-06 11:07:56 +00:00
|
|
|
IMAGES += factory-us.bin factory-eu.bin
|
2019-12-31 12:57:50 +00:00
|
|
|
IMAGE/factory-us.bin := tplink-v1-image factory -C US
|
|
|
|
IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
|
2018-06-26 05:25:33 +00:00
|
|
|
endef
|
2018-08-02 07:14:10 +00:00
|
|
|
TARGET_DEVICES += tplink_archer-c7-v2
|
2018-06-26 05:25:33 +00:00
|
|
|
|
2019-01-01 22:11:49 +00:00
|
|
|
define Device/tplink_archer-c7-v4
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
2019-01-01 22:11:49 +00:00
|
|
|
IMAGE_SIZE := 15104k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Archer C7
|
|
|
|
DEVICE_VARIANT := v4
|
2019-12-19 19:42:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
|
|
|
|
ath10k-firmware-qca988x-ct
|
2019-01-01 22:11:49 +00:00
|
|
|
TPLINK_BOARD_ID := ARCHER-C7-V4
|
|
|
|
SUPPORTED_DEVICES += archer-c7-v4
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c7-v4
|
|
|
|
|
2018-12-24 02:36:59 +00:00
|
|
|
define Device/tplink_archer-c7-v5
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
2018-12-24 02:36:59 +00:00
|
|
|
IMAGE_SIZE := 15360k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := Archer C7
|
|
|
|
DEVICE_VARIANT := v5
|
2019-12-19 19:42:19 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
|
|
|
|
ath10k-firmware-qca988x-ct
|
2018-12-24 02:36:59 +00:00
|
|
|
TPLINK_BOARD_ID := ARCHER-C7-V5
|
|
|
|
SUPPORTED_DEVICES += archer-c7-v5
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c7-v5
|
|
|
|
|
2019-08-22 12:34:45 +00:00
|
|
|
define Device/tplink_archer-d50-v1
|
2020-01-29 23:00:31 +00:00
|
|
|
$(Device/tplink-v2)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9531
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := Archer D50
|
|
|
|
DEVICE_VARIANT := v1
|
2019-12-24 21:02:24 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport \
|
|
|
|
kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
2019-08-22 12:34:45 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
TPLINK_HWID := 0xC1200001
|
|
|
|
TPLINK_HWREV := 0x00000046
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mqca
|
|
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | \
|
2019-12-19 19:42:19 +00:00
|
|
|
tplink-v2-header -s -V "ver. 1.0"
|
2019-08-22 12:34:45 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-d50-v1
|
|
|
|
|
ath79: add support for TP-Link Archer D7/D7b v1
TP-Link Archer D7 v1 is a dual-band AC1750 router + modem.
The router section is based on Qualcomm/Atheros QCA9558 + QCA9880.
The "DSL" section is based on BCM6318 but it's currently not supported.
The Archer D7b seems to differ from the Archer D7 only in the
partition table.
Router section - Specification:
775/650/258 MHz (CPU/DDR/AHB)
128 MB of RAM (DDR2)
16 MB of FLASH (SPI NOR)
3T3R 2.4 GHz
3T3R 5 GHz
4x 10/100/1000 Mbps Ethernet
7x LED, 2x button
UART header on PCB
Known issues:
- Broadband LED (missing GPIO - probably driven by the BCM6318)
- Internet LED (missing GPIO - probably driven by the BCM6318)
- WIFI LED (working only for one interface at a time, while in the
OEM firmware works for both wifi interfaces; thus, this patch does
not set a trigger by default)
- DSL not working (eth0)
UART connection
---------------
J1 HEADER (Qualcomm CPU)
. VCC
. GND
. RX
O TX
J41 HEADER (Broadcom CPU)
. VCC
. GND
. RX
O TX
The following instructions require a connection to the J1 UART header
and are tested for the Archer D7 v1.
For the Archer D7b v1, names should be changed accordingly.
Flash instructions under U-Boot, using UART
------------------------------------------
1. Press "tpl" to stop autobooting and obtain U-Boot CLI access.
2. Setup ip addresses for U-Boot and your tftp server.
3. Issue below commands:
tftpboot 0x81000000 openwrt-ath79-generic-tplink_archer-d7-v1-squashfs-sysupgrade.bin
erase 0x9f020000 +f90000
cp.b 0x81000000 0x9f020000 0xf90000
reset
Initramfs instructions under U-Boot for testing, using UART
----------------------------------------------------------
1. Press "tpl" to stop autobooting and obtain U-Boot CLI access.
2. Setup ip addresses for U-Boot and your tftp server.
3. Issue below commands:
tftpboot 0x81000000 openwrt-ath79-generic-tplink_archer-d7-v1-initramfs-kernel.bin
bootm 0x81000000
4. Here you can backup the original firmware and/or flash the sysupgrade openwrt if you want
Restore the original firmware
-----------------------------
0. Backup every partition using the OpenWrt web interface
1. Download the OEM firmware from the TP-Link website
2. Extract the bin file in a folder (eg. Archer_D7v1_1.6.0_0.9.1_up_boot(160216)_2016-02-16_15.55.48.bin)
3. Remove the U-Boot and the Broadcom image part from the file.
Issue the following command:
dd if="Archer_D7v1_1.6.0_0.9.1_up_boot(160216)_2016-02-16_15.55.48.bin" of="Archer_D7v1_1.6.0_0.9.1_up_boot(160216)_2016-02-16_15.55.48.bin.mod" skip=257 bs=512 count=31872
4. Double check the .mod file size. It must be 16318464 bytes.
5. Flash it using the OpenWrt web interface. Force the update if needed.
WARNING: Remember to NOT keep settings.
5b. (Alternative to 5.) Flash it using the U-Boot and UART connection.
Issue below commands in the U-Boot:
tftpboot 0x81000000 Archer_D7v1_1.6.0_0.9.1_up_boot(160216)_2016-02-16_15.55.48.bin.mod
erase 0x9f020000 +f90000
cp.b 0x81000000 0x9f020000 0xf90000
reset
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
[cosmetic DTS changes, remove TPLINK_HWREVADD := 0, do not use two
phyXtpt at once, add missing buttons, minor commit message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-01-19 20:05:31 +00:00
|
|
|
define Device/tplink_archer-d7-v1
|
|
|
|
$(Device/tplink-v2)
|
|
|
|
SOC := qca9558
|
|
|
|
DEVICE_MODEL := Archer D7
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport \
|
|
|
|
kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
|
|
IMAGE_SIZE := 15936k
|
|
|
|
TPLINK_HWID := 0x89300001
|
|
|
|
TPLINK_HWREV := 0x0000002D
|
|
|
|
TPLINK_FLASHLAYOUT := 16Mqca
|
|
|
|
TPLINK_HWREVADD := 0x00000002
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-d7-v1
|
|
|
|
|
|
|
|
define Device/tplink_archer-d7b-v1
|
|
|
|
$(Device/tplink-v2)
|
|
|
|
SOC := qca9558
|
|
|
|
DEVICE_MODEL := Archer D7b
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport \
|
|
|
|
kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
|
|
IMAGE_SIZE := 16000k
|
|
|
|
TPLINK_HWID := 0x89300001
|
|
|
|
TPLINK_HWREV := 0x0000003D
|
|
|
|
TPLINK_FLASHLAYOUT := 16Mqca
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-d7b-v1
|
|
|
|
|
2019-07-20 10:01:14 +00:00
|
|
|
define Device/tplink_cpe210-v1
|
2020-01-29 23:06:38 +00:00
|
|
|
$(Device/tplink-safeloader-okli)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-07-20 10:01:14 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := CPE210
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := CPE210
|
|
|
|
SUPPORTED_DEVICES += cpe210
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe210-v1
|
|
|
|
|
2019-03-25 17:46:26 +00:00
|
|
|
define Device/tplink_cpe210-v2
|
|
|
|
$(Device/tplink-safeloader)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9533
|
2019-03-25 17:46:26 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := CPE210
|
|
|
|
DEVICE_VARIANT := v2
|
2019-03-25 17:46:26 +00:00
|
|
|
TPLINK_BOARD_ID := CPE210V2
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
LOADER_TYPE := elf
|
|
|
|
SUPPORTED_DEVICES += cpe210-v2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe210-v2
|
|
|
|
|
2019-03-31 19:07:03 +00:00
|
|
|
define Device/tplink_cpe210-v3
|
|
|
|
$(Device/tplink-safeloader)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9533
|
2019-03-31 19:07:03 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := CPE210
|
|
|
|
DEVICE_VARIANT := v3
|
2019-03-31 19:07:03 +00:00
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := CPE210V3
|
|
|
|
LOADER_TYPE := elf
|
|
|
|
SUPPORTED_DEVICES += cpe210-v3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe210-v3
|
|
|
|
|
2019-07-20 11:03:43 +00:00
|
|
|
define Device/tplink_cpe220-v2
|
2020-01-29 23:06:38 +00:00
|
|
|
$(Device/tplink-safeloader-okli)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-07-20 11:03:43 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := CPE220
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := CPE220V2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe220-v2
|
|
|
|
|
2019-10-26 01:29:36 +00:00
|
|
|
define Device/tplink_cpe220-v3
|
|
|
|
$(Device/tplink-safeloader)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9533
|
2019-10-26 01:29:36 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := CPE220
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := CPE220V3
|
|
|
|
LOADER_TYPE := elf
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe220-v3
|
|
|
|
|
2019-07-20 10:49:20 +00:00
|
|
|
define Device/tplink_cpe510-v1
|
2020-01-29 23:06:38 +00:00
|
|
|
$(Device/tplink-safeloader-okli)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-07-20 10:49:20 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := CPE510
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := CPE510
|
|
|
|
SUPPORTED_DEVICES += cpe510
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe510-v1
|
|
|
|
|
2019-06-26 21:40:54 +00:00
|
|
|
define Device/tplink_cpe510-v2
|
2020-01-29 23:06:38 +00:00
|
|
|
$(Device/tplink-safeloader-okli)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-06-26 21:40:54 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := CPE510
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := CPE510V2
|
|
|
|
SUPPORTED_DEVICES += cpe510-v2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe510-v2
|
|
|
|
|
|
|
|
define Device/tplink_cpe510-v3
|
2020-01-29 23:06:38 +00:00
|
|
|
$(Device/tplink-safeloader-okli)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-06-26 21:40:54 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := CPE510
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := CPE510V3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe510-v3
|
|
|
|
|
2019-01-15 02:14:54 +00:00
|
|
|
define Device/tplink_cpe610-v1
|
2020-01-29 23:06:38 +00:00
|
|
|
$(Device/tplink-safeloader-okli)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-01-15 02:14:54 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := CPE610
|
|
|
|
DEVICE_VARIANT := v1
|
2019-01-15 02:14:54 +00:00
|
|
|
TPLINK_BOARD_ID := CPE610V1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe610-v1
|
|
|
|
|
2020-06-18 13:25:43 +00:00
|
|
|
define Device/tplink_cpe610-v2
|
|
|
|
$(Device/tplink-safeloader-okli)
|
|
|
|
SOC := ar9344
|
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := CPE610
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
TPLINK_BOARD_ID := CPE610V2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe610-v2
|
|
|
|
|
2021-04-12 18:24:33 +00:00
|
|
|
define Device/tplink_cpe710-v1
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
|
|
|
SOC := qca9563
|
|
|
|
IMAGE_SIZE := 15680k
|
|
|
|
DEVICE_MODEL := CPE710
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
|
|
TPLINK_BOARD_ID := CPE710V1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_cpe710-v1
|
|
|
|
|
ath79: add support for TP-Link EAP245-v3
TP-Link EAP245 v3 is an AC1750 (802.11ac Wave-2) ceiling mount access
point. UART access (for debricking) requires non-trivial soldering.
Specifications:
* SoC: QCA9563 (CPU/DDR/AHB @ 775/650/258 MHz)
* RAM: 128MiB
* Flash: 16MiB SPI-NOR
* Wireless 2.4GHz (SoC): b/g/n 3x3
* Wireless 5GHz (QCA9982): a/n/ac 3x3 with MU-MIMO
* Ethernet (QCA8337N switch): 2× 1GbE, ETH1 (802.3at PoE) and ETH2
* Green and amber status LEDs
* Reset switch (GPIO, available for failsafe)
Flashing instructions:
All recent firmware versions (latest is 2.20.0), can disable firmware
signature verification and use a padded firmware file to flash OpenWrt:
* ssh into target device and run `cliclientd stopcs`
* upload factory image via web interface
The stopcs-method is supported from firmware version 2.3.0. Earlier
versions need to be upgraded to a newer stock version before flashing
OpenWrt.
Factory images for these devices are RSA signed by TP-Link. While the
signature verification can be disabled, the factory image still needs to
have a (fake) 1024 bit signature added to pass file checks.
Debricking instructions:
You can recover using u-boot via the serial port:
* Serial port is available from J3 (1:TX, 2:RX, 3:GND, 4:3.3V)
* Bridge R237 to connect RX, located next to J3
* Bridge R225 to connect TX, located inside can on back-side of board
* Serial port is 115200 baud, 8n1, interrupt u-boot by holding ctrl+B
* Upload initramfs with tftp and upgrade via OpenWrt
Device mac addresses:
Stock firmware has the same mac address for 2.4GHz wireless and
ethernet, 5GHz is incremented by one. The base mac address is stored in
the 'default-mac' partition (offset 0x90000) at an offset of 8 bytes.
ART blobs contain no mac addresses.
From OEM ifconfig:
ath0 Link encap:Ethernet HWaddr 74:..:E2
ath10 Link encap:Ethernet HWaddr 74:..:E3
br0 Link encap:Ethernet HWaddr 74:..:E2
eth0 Link encap:Ethernet HWaddr 74:..:E2
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-06-04 18:59:13 +00:00
|
|
|
define Device/tplink-eap2x5
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
LOADER_TYPE := elf
|
|
|
|
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel
|
|
|
|
KERNEL_INITRAMFS := $$(KERNEL)
|
|
|
|
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory | \
|
|
|
|
pad-extra 128
|
|
|
|
endef
|
|
|
|
|
ath79: support for TP-Link EAP225-Outdoor v1
TP-Link EAP225-Outdoor v1 is an AC1200 (802.11ac Wave-2) pole or wall
mount access point. Debricking requires access to the serial port, which
is non-trivial.
Device specifications:
* SoC: QCA9563 @ 775MHz
* Memory: 128MiB DDR2
* Flash: 16MiB SPI-NOR
* Wireless 2.4GHz (SoC): b/g/n 2x2
* Wireless 5GHz (QCA9886): a/n/ac 2x2 MU-MIMO
* Ethernet (AR8033): 1× 1GbE, PoE
Flashing instructions:
* ssh into target device with recent (>= v1.6.0) firmware
* run `cliclientd stopcs` on target device
* upload factory image via web interface
Debricking:
To recover the device, you need access to the serial port. This requires
fine soldering to test points, or the use of probe pins.
* Open the case and solder wires to the test points: RXD, TXD and TPGND4
* Use a 3.3V UART, 115200 baud, 8n1
* Interrupt bootloader by holding ctrl+B during boot
* upload initramfs via built-in tftp client and perform sysupgrade
setenv ipaddr 192.168.1.1 # default, change as required
setenv serverip 192.168.1.10 # default, change as required
tftp 0x80800000 initramfs.bin
bootelf $fileaddr
MAC addresses:
MAC address (as on device label) is stored in device info partition at
an offset of 8 bytes. ath9k device has same address as ethernet, ath10k
uses address incremented by 1.
From stock ifconfig:
ath0 Link encap:Ethernet HWaddr D8:...:2E
ath10 Link encap:Ethernet HWaddr D8:...:2F
br0 Link encap:Ethernet HWaddr D8:...:2E
eth0 Link encap:Ethernet HWaddr D8:...:2E
Tested by forum user PolynomialDivision on firmware v1.7.0.
UART access tested by forum user arinc9.
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2020-07-07 16:04:37 +00:00
|
|
|
define Device/tplink_eap225-outdoor-v1
|
|
|
|
$(Device/tplink-eap2x5)
|
|
|
|
SOC := qca9563
|
|
|
|
IMAGE_SIZE := 13824k
|
|
|
|
DEVICE_MODEL := EAP225-Outdoor
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
|
|
TPLINK_BOARD_ID := EAP225-OUTDOOR-V1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_eap225-outdoor-v1
|
|
|
|
|
ath79: add support for TP-Link EAP225 v1
TP-Link EAP225 v1 is an AC1200 (802.11ac Wave-1) ceiling mount access point.
Device specifications:
* SoC: QCA9563 @ 775MHz
* RAM: 128MiB DDR2
* Flash: 16MiB SPI-NOR
* Wireless 2.4GHz (SoC): b/g/n, 2x2
* Wireless 5Ghz (QCA9882): a/n/ac, 2x2
* Ethernet (AR8033): 1× 1GbE, 802.3at PoE
Flashing instructions:
* Ensure the device is upgraded to firmware v1.4.0
* Exploit the user management page in the web interface to start telnetd
by changing the username to `;/usr/sbin/telnetd -l/bin/sh&`.
* Immediately change the malformed username back to something valid
(e.g. 'admin') to make ssh work again.
* Use the root shell via telnet to make /tmp world writeable (chmod 777)
* Extract /usr/bin/uclited from the device via ssh and apply the binary
patch listed below. The patch is required to prevent `uclited -u` in
the last step from crashing.
* Copy the patched uclited binary back to the device at /tmp/uclited
(via ssh)
* Upload the factory image to /tmp/upgrade.bin (via ssh)
* Run `chmod +x /tmp/uclited && /tmp/uclited -u` to install OpenWrt.
uclited patching:
--- xxd uclited
+++ xxd uclited-patched
@@ -53811,7 +53811,7 @@
000d2330: 8c44 0000 0320 f809 0000 0000 8fbc 0010 .D... ..........
000d2340: 8fa6 0a4c 02c0 2821 8f82 87c4 0000 0000 ...L..(!........
-000d2350: 8c44 0000 0c13 461c 27a7 0018 8fbc 0010 .D....F.'.......
+000d2350: 8c44 0000 2402 0000 0000 0000 8fbc 0010 .D..$...........
000d2360: 1040 001d 0000 1821 8f99 8378 3c04 0058 .@.....!...x<..X
000d2370: 3c05 0056 2484 ad68 24a5 9f00 0320 f809 <..V$..h$.... ..
To make sure the correct file is patched, the following MD5 checksums
should match the unpatched and patched files:
4bd74183c23859c897ed77e8566b84de uclited
4107104024a2e0aeaf6395ed30adccae uclited-patched
Debricking:
* Serial port can be soldered on unpopulated 4-pin header
(1: TXD, 2: RXD, 3: GND, 4: VCC)
* Bridge unpopulated resistors running from pins 1 (TXD) and 2 (RXD).
Do NOT bridge the pull-down for pin 2, running parallel to the
header.
* Use 3.3V, 115200 baud, 8n1
* Interrupt bootloader by holding CTRL+B during boot
* tftp initramfs to flash via the LuCI web interface
setenv ipaddr 192.168.1.1 # default, change as required
setenv serverip 192.168.1.10 # default, change as required
tftp 0x80800000 initramfs.bin
bootelf $fileaddr
Tested by forum user KernelMaker.
Link: https://forum.openwrt.org/t/eap225-v1-firmware/87116
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2021-11-22 19:59:06 +00:00
|
|
|
define Device/tplink_eap225-v1
|
|
|
|
$(Device/tplink-eap2x5)
|
|
|
|
SOC := qca9563
|
|
|
|
IMAGE_SIZE := 13824k
|
|
|
|
DEVICE_MODEL := EAP225
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
|
|
TPLINK_BOARD_ID := EAP225-V1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_eap225-v1
|
|
|
|
|
ath79: support for TP-Link EAP225 v3
TP-Link EAP225 v3 is an AC1350 (802.11ac Wave-2) ceiling mount access
point. Serial port access for debricking requires fine soldering.
Device specifications:
* SoC: QCA9563 @ 775MHz
* RAM: 128MiB DDR2
* Flash: 16MiB SPI-NOR
* Wireless 2.4GHz (SoC): b/g/n, 3x3
* Wireless 5Ghz (QCA9886): a/n/ac, 2x2 MU-MINO
* Ethernet (AR8033): 1× 1GbE, 802.3at PoE
Flashing instructions:
* ssh into target device and run `cliclientd stopcs`
* Upgrade with factory image via web interface
Debricking:
* Serial port can be soldered on PCB J3 (1: TXD, 2: RXD, 3: GND, 4: VCC)
* Bridge unpopulated resistors R225 (TXD) and R237 (RXD).
Do NOT bridge R230.
* Use 3.3V, 115200 baud, 8n1
* Interrupt bootloader by holding CTRL+B during boot
* tftp initramfs to flash via LuCI web interface
setenv ipaddr 192.168.1.1 # default, change as required
setenv serverip 192.168.1.10 # default, change as required
tftp 0x80800000 initramfs.bin
bootelf $fileaddr
MAC addresses:
MAC address (as on device label) is stored in device info partition at
an offset of 8 bytes. ath9k device has same address as ethernet, ath10k
uses address incremented by 1.
From OEM boot log:
Using interface ath0 with hwaddr b0:...:3e and ssid "..."
Using interface ath10 with hwaddr b0:...:3f and ssid "..."
Tested by forum user blinkstar88
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2020-07-10 11:41:21 +00:00
|
|
|
define Device/tplink_eap225-v3
|
|
|
|
$(Device/tplink-eap2x5)
|
|
|
|
SOC := qca9563
|
|
|
|
IMAGE_SIZE := 13824k
|
|
|
|
DEVICE_MODEL := EAP225
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
|
|
TPLINK_BOARD_ID := EAP225-V3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_eap225-v3
|
|
|
|
|
ath79: support for TP-Link EAP225-Wall v2
TP-Link EAP225-Wall v2 is an AC1200 (802.11ac Wave-2) wall plate access
point. UART access and debricking require fine soldering.
The device was kindly provided for porting by Stijn Segers.
Device specifications:
* SoC: QCA9561 @ 775MHz
* RAM: 128MiB DDR2
* Flash: 16MiB SPI-NOR (GD25Q127CSIG)
* Wireless 2.4GHz (SoC): b/g/n, 2x2
* Wireless 5Ghz (QCA9886): a/n/ac, 2x2 MU-MIMO
* Ethernet (SoC): 4× 100Mbps
* Eth0 (back): 802.3af/at PoE in
* Eth1, Eth2 (bottom)
* Eth3 (bottom): PoE out (can be toggled by GPIO)
* One status LED
* Two buttons (both work as failsafe)
* LED button, implemented as KEY_BRIGHTNESS_TOGGLE
* Reset button
Flashing instructions, requires recent firmware (tested on 1.20.0):
* ssh into target device and run `cliclientd stopcs`
* Upgrade with factory image via web interface
Debricking:
* Serial port can be soldered on PCB J4 (1: TXD, 2: RXD, 3: GND, 4: VCC)
* Bridge unpopulated resistors R162 (TXD) and R165 (RXD)
Do NOT bridge R164
* Use 3.3V, 115200 baud, 8n1
* Interrupt bootloader by holding CTRL+B during boot
* tftp initramfs to flash via sysupgrade or LuCI web interface
MAC addresses:
MAC address (as on device label) is stored in device info partition at
an offset of 8 bytes. ath9k device has same address as ethernet, ath10k
uses address incremented by 1.
From OEM ifconfig:
br0 Link encap:Ethernet HWaddr 50:...:04
eth0 Link encap:Ethernet HWaddr 50:...:04
wifi0 Link encap:UNSPEC HWaddr 50-...-04-...
wifi1 Link encap:UNSPEC HWaddr 50-...-05-...
Signed-off-by: Sander Vanheule <sander@svanheule.net>
[fix IMAGE_SIZE]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-26 20:40:54 +00:00
|
|
|
define Device/tplink_eap225-wall-v2
|
|
|
|
$(Device/tplink-eap2x5)
|
|
|
|
SOC := qca9561
|
|
|
|
IMAGE_SIZE := 13824k
|
|
|
|
DEVICE_MODEL := EAP225-Wall
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
|
|
TPLINK_BOARD_ID := EAP225-WALL-V2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_eap225-wall-v2
|
|
|
|
|
ath79: support for TP-Link EAP245 v1
TP-Link EAP245 v1 is an AC1750 (802.11ac Wave-1) ceiling mount access point.
Device specifications:
* SoC: QCA9563 @ 775MHz
* RAM: 128MiB DDR2
* Flash: 16MiB SPI-NOR
* Wireless 2.4GHz (SoC): b/g/n, 3x3
* Wireless 5Ghz (QCA9880): a/n/ac, 3x3
* Ethernet (AR8033): 1× 1GbE, 802.3at PoE
Flashing instructions:
* Upgrade the device to firmware v1.4.0 if necessary
* Exploit the user management page in the web interface to start telnetd
by changing the username to `;/usr/sbin/telnetd -l/bin/sh&`.
* Immediately change the malformed username back to something valid
(e.g. 'admin') to make ssh work again.
* Use the root shell via telnet to make /tmp world writeable (chmod 777)
* Extract /usr/bin/uclited from the device via ssh and apply the binary
patch listed below. The patch is required to prevent `uclited -u` in
the last step from crashing.
* Copy the patched uclited programme back to the device at /tmp/uclited
(via ssh)
* Upload the factory image to /tmp/upgrade.bin (via ssh)
* Run `chmod +x /tmp/uclited && /tmp/uclited -u` to install OpenWrt.
--- xxd uclited
+++ xxd uclited-patched
@@ -53796,7 +53796,7 @@
000d2240: 8c44 0000 0320 f809 0000 0000 8fbc 0010 .D... ..........
000d2250: 8fa6 0a4c 02c0 2821 8f82 87b8 0000 0000 ...L..(!........
-000d2260: 8c44 0000 0c13 45e0 27a7 0018 8fbc 0010 .D....E.'.......
+000d2260: 8c44 0000 2402 0000 0000 0000 8fbc 0010 .D..$...........
000d2270: 1040 001d 0000 1821 8f99 8374 3c04 0058 .@.....!...t<..X
000d2280: 3c05 0056 2484 a898 24a5 9a30 0320 f809 <..V$...$..0. ..
Debricking:
* Serial port can be soldered on PCB J3 (1: TXD, 2: RXD, 3: GND, 4: VCC)
* Bridge unpopulated resistors R225 (TXD) and R237 (RXD).
Do NOT bridge R230.
* Use 3.3V, 115200 baud, 8n1
* Interrupt bootloader by holding CTRL+B during boot
* tftp initramfs to flash via the LuCI web interface
setenv ipaddr 192.168.1.1 # default, change as required
setenv serverip 192.168.1.10 # default, change as required
tftp 0x80800000 initramfs.bin
bootelf $fileaddr
Tested on the EAP245 v1 running the latest firmware (v1.4.0). The binary
patch might not apply to uclited from other firmware versions.
EAP245 v1 device support was originally developed and maintained by
Julien Dusser out-of-tree. This patch and "ath79: prepare for 1-port
TP-Link EAP2x5 devices" are based on that work.
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2020-07-17 10:06:03 +00:00
|
|
|
define Device/tplink_eap245-v1
|
|
|
|
$(Device/tplink-eap2x5)
|
|
|
|
SOC := qca9563
|
|
|
|
IMAGE_SIZE := 13824k
|
|
|
|
DEVICE_MODEL := EAP245
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
|
|
TPLINK_BOARD_ID := EAP245-V1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_eap245-v1
|
|
|
|
|
ath79: add support for TP-Link EAP245-v3
TP-Link EAP245 v3 is an AC1750 (802.11ac Wave-2) ceiling mount access
point. UART access (for debricking) requires non-trivial soldering.
Specifications:
* SoC: QCA9563 (CPU/DDR/AHB @ 775/650/258 MHz)
* RAM: 128MiB
* Flash: 16MiB SPI-NOR
* Wireless 2.4GHz (SoC): b/g/n 3x3
* Wireless 5GHz (QCA9982): a/n/ac 3x3 with MU-MIMO
* Ethernet (QCA8337N switch): 2× 1GbE, ETH1 (802.3at PoE) and ETH2
* Green and amber status LEDs
* Reset switch (GPIO, available for failsafe)
Flashing instructions:
All recent firmware versions (latest is 2.20.0), can disable firmware
signature verification and use a padded firmware file to flash OpenWrt:
* ssh into target device and run `cliclientd stopcs`
* upload factory image via web interface
The stopcs-method is supported from firmware version 2.3.0. Earlier
versions need to be upgraded to a newer stock version before flashing
OpenWrt.
Factory images for these devices are RSA signed by TP-Link. While the
signature verification can be disabled, the factory image still needs to
have a (fake) 1024 bit signature added to pass file checks.
Debricking instructions:
You can recover using u-boot via the serial port:
* Serial port is available from J3 (1:TX, 2:RX, 3:GND, 4:3.3V)
* Bridge R237 to connect RX, located next to J3
* Bridge R225 to connect TX, located inside can on back-side of board
* Serial port is 115200 baud, 8n1, interrupt u-boot by holding ctrl+B
* Upload initramfs with tftp and upgrade via OpenWrt
Device mac addresses:
Stock firmware has the same mac address for 2.4GHz wireless and
ethernet, 5GHz is incremented by one. The base mac address is stored in
the 'default-mac' partition (offset 0x90000) at an offset of 8 bytes.
ART blobs contain no mac addresses.
From OEM ifconfig:
ath0 Link encap:Ethernet HWaddr 74:..:E2
ath10 Link encap:Ethernet HWaddr 74:..:E3
br0 Link encap:Ethernet HWaddr 74:..:E2
eth0 Link encap:Ethernet HWaddr 74:..:E2
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-06-04 18:59:13 +00:00
|
|
|
define Device/tplink_eap245-v3
|
|
|
|
$(Device/tplink-eap2x5)
|
ath79: support for TP-Link EAP225-Wall v2
TP-Link EAP225-Wall v2 is an AC1200 (802.11ac Wave-2) wall plate access
point. UART access and debricking require fine soldering.
The device was kindly provided for porting by Stijn Segers.
Device specifications:
* SoC: QCA9561 @ 775MHz
* RAM: 128MiB DDR2
* Flash: 16MiB SPI-NOR (GD25Q127CSIG)
* Wireless 2.4GHz (SoC): b/g/n, 2x2
* Wireless 5Ghz (QCA9886): a/n/ac, 2x2 MU-MIMO
* Ethernet (SoC): 4× 100Mbps
* Eth0 (back): 802.3af/at PoE in
* Eth1, Eth2 (bottom)
* Eth3 (bottom): PoE out (can be toggled by GPIO)
* One status LED
* Two buttons (both work as failsafe)
* LED button, implemented as KEY_BRIGHTNESS_TOGGLE
* Reset button
Flashing instructions, requires recent firmware (tested on 1.20.0):
* ssh into target device and run `cliclientd stopcs`
* Upgrade with factory image via web interface
Debricking:
* Serial port can be soldered on PCB J4 (1: TXD, 2: RXD, 3: GND, 4: VCC)
* Bridge unpopulated resistors R162 (TXD) and R165 (RXD)
Do NOT bridge R164
* Use 3.3V, 115200 baud, 8n1
* Interrupt bootloader by holding CTRL+B during boot
* tftp initramfs to flash via sysupgrade or LuCI web interface
MAC addresses:
MAC address (as on device label) is stored in device info partition at
an offset of 8 bytes. ath9k device has same address as ethernet, ath10k
uses address incremented by 1.
From OEM ifconfig:
br0 Link encap:Ethernet HWaddr 50:...:04
eth0 Link encap:Ethernet HWaddr 50:...:04
wifi0 Link encap:UNSPEC HWaddr 50-...-04-...
wifi1 Link encap:UNSPEC HWaddr 50-...-05-...
Signed-off-by: Sander Vanheule <sander@svanheule.net>
[fix IMAGE_SIZE]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-26 20:40:54 +00:00
|
|
|
SOC := qca9563
|
ath79: add support for TP-Link EAP245-v3
TP-Link EAP245 v3 is an AC1750 (802.11ac Wave-2) ceiling mount access
point. UART access (for debricking) requires non-trivial soldering.
Specifications:
* SoC: QCA9563 (CPU/DDR/AHB @ 775/650/258 MHz)
* RAM: 128MiB
* Flash: 16MiB SPI-NOR
* Wireless 2.4GHz (SoC): b/g/n 3x3
* Wireless 5GHz (QCA9982): a/n/ac 3x3 with MU-MIMO
* Ethernet (QCA8337N switch): 2× 1GbE, ETH1 (802.3at PoE) and ETH2
* Green and amber status LEDs
* Reset switch (GPIO, available for failsafe)
Flashing instructions:
All recent firmware versions (latest is 2.20.0), can disable firmware
signature verification and use a padded firmware file to flash OpenWrt:
* ssh into target device and run `cliclientd stopcs`
* upload factory image via web interface
The stopcs-method is supported from firmware version 2.3.0. Earlier
versions need to be upgraded to a newer stock version before flashing
OpenWrt.
Factory images for these devices are RSA signed by TP-Link. While the
signature verification can be disabled, the factory image still needs to
have a (fake) 1024 bit signature added to pass file checks.
Debricking instructions:
You can recover using u-boot via the serial port:
* Serial port is available from J3 (1:TX, 2:RX, 3:GND, 4:3.3V)
* Bridge R237 to connect RX, located next to J3
* Bridge R225 to connect TX, located inside can on back-side of board
* Serial port is 115200 baud, 8n1, interrupt u-boot by holding ctrl+B
* Upload initramfs with tftp and upgrade via OpenWrt
Device mac addresses:
Stock firmware has the same mac address for 2.4GHz wireless and
ethernet, 5GHz is incremented by one. The base mac address is stored in
the 'default-mac' partition (offset 0x90000) at an offset of 8 bytes.
ART blobs contain no mac addresses.
From OEM ifconfig:
ath0 Link encap:Ethernet HWaddr 74:..:E2
ath10 Link encap:Ethernet HWaddr 74:..:E3
br0 Link encap:Ethernet HWaddr 74:..:E2
eth0 Link encap:Ethernet HWaddr 74:..:E2
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-06-04 18:59:13 +00:00
|
|
|
IMAGE_SIZE := 14592k
|
|
|
|
DEVICE_MODEL := EAP245
|
|
|
|
DEVICE_VARIANT := v3
|
2022-04-27 15:27:28 +00:00
|
|
|
DEVICE_ALT0_VENDOR := $$(DEVICE_VENDOR)
|
|
|
|
DEVICE_ALT0_MODEL := EAP265 HD
|
|
|
|
DEVICE_ALT0_VARIANT := v1
|
ath79: add support for TP-Link EAP245-v3
TP-Link EAP245 v3 is an AC1750 (802.11ac Wave-2) ceiling mount access
point. UART access (for debricking) requires non-trivial soldering.
Specifications:
* SoC: QCA9563 (CPU/DDR/AHB @ 775/650/258 MHz)
* RAM: 128MiB
* Flash: 16MiB SPI-NOR
* Wireless 2.4GHz (SoC): b/g/n 3x3
* Wireless 5GHz (QCA9982): a/n/ac 3x3 with MU-MIMO
* Ethernet (QCA8337N switch): 2× 1GbE, ETH1 (802.3at PoE) and ETH2
* Green and amber status LEDs
* Reset switch (GPIO, available for failsafe)
Flashing instructions:
All recent firmware versions (latest is 2.20.0), can disable firmware
signature verification and use a padded firmware file to flash OpenWrt:
* ssh into target device and run `cliclientd stopcs`
* upload factory image via web interface
The stopcs-method is supported from firmware version 2.3.0. Earlier
versions need to be upgraded to a newer stock version before flashing
OpenWrt.
Factory images for these devices are RSA signed by TP-Link. While the
signature verification can be disabled, the factory image still needs to
have a (fake) 1024 bit signature added to pass file checks.
Debricking instructions:
You can recover using u-boot via the serial port:
* Serial port is available from J3 (1:TX, 2:RX, 3:GND, 4:3.3V)
* Bridge R237 to connect RX, located next to J3
* Bridge R225 to connect TX, located inside can on back-side of board
* Serial port is 115200 baud, 8n1, interrupt u-boot by holding ctrl+B
* Upload initramfs with tftp and upgrade via OpenWrt
Device mac addresses:
Stock firmware has the same mac address for 2.4GHz wireless and
ethernet, 5GHz is incremented by one. The base mac address is stored in
the 'default-mac' partition (offset 0x90000) at an offset of 8 bytes.
ART blobs contain no mac addresses.
From OEM ifconfig:
ath0 Link encap:Ethernet HWaddr 74:..:E2
ath10 Link encap:Ethernet HWaddr 74:..:E3
br0 Link encap:Ethernet HWaddr 74:..:E2
eth0 Link encap:Ethernet HWaddr 74:..:E2
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-06-04 18:59:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca99x0-ct
|
|
|
|
TPLINK_BOARD_ID := EAP245-V3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_eap245-v3
|
|
|
|
|
2019-03-11 17:50:42 +00:00
|
|
|
define Device/tplink_re350k-v1
|
2019-03-27 18:14:34 +00:00
|
|
|
$(Device/tplink-safeloader)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9558
|
2019-03-11 17:50:42 +00:00
|
|
|
IMAGE_SIZE := 13760k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := RE350K
|
|
|
|
DEVICE_VARIANT := v1
|
2019-03-11 17:50:42 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
|
|
TPLINK_BOARD_ID := RE350K-V1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re350k-v1
|
|
|
|
|
2019-07-16 18:47:49 +00:00
|
|
|
define Device/tplink_rex5x-v1
|
|
|
|
$(Device/tplink-safeloader)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9558
|
2019-07-16 18:47:49 +00:00
|
|
|
IMAGE_SIZE := 6016k
|
2020-01-02 09:30:37 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
2019-07-16 18:47:49 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/tplink_re355-v1
|
|
|
|
$(Device/tplink_rex5x-v1)
|
|
|
|
DEVICE_MODEL := RE355
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
TPLINK_BOARD_ID := RE355
|
|
|
|
SUPPORTED_DEVICES += re355
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re355-v1
|
|
|
|
|
|
|
|
define Device/tplink_re450-v1
|
|
|
|
$(Device/tplink_rex5x-v1)
|
|
|
|
DEVICE_MODEL := RE450
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
TPLINK_BOARD_ID := RE450
|
|
|
|
SUPPORTED_DEVICES += re450
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re450-v1
|
|
|
|
|
2018-08-10 06:48:43 +00:00
|
|
|
define Device/tplink_re450-v2
|
2019-03-27 18:14:34 +00:00
|
|
|
$(Device/tplink-safeloader)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
2018-06-29 03:44:58 +00:00
|
|
|
IMAGE_SIZE := 6016k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := RE450
|
|
|
|
DEVICE_VARIANT := v2
|
2019-12-24 21:02:24 +00:00
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
2018-06-29 03:44:58 +00:00
|
|
|
TPLINK_BOARD_ID := RE450-V2
|
|
|
|
LOADER_TYPE := elf
|
|
|
|
endef
|
2018-08-10 06:48:43 +00:00
|
|
|
TARGET_DEVICES += tplink_re450-v2
|
2018-06-29 03:44:58 +00:00
|
|
|
|
2020-05-27 13:31:30 +00:00
|
|
|
define Device/tplink_re450-v3
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
SOC := qca9563
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := RE450
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
|
|
|
TPLINK_BOARD_ID := RE450-V3
|
|
|
|
LOADER_TYPE := elf
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re450-v3
|
|
|
|
|
2021-07-01 09:56:30 +00:00
|
|
|
define Device/tplink_re455-v1
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
SOC := qca9563
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_MODEL := RE455
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
|
|
|
|
TPLINK_BOARD_ID := RE455-V1
|
|
|
|
LOADER_TYPE := elf
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re455-v1
|
|
|
|
|
2020-01-17 12:15:52 +00:00
|
|
|
define Device/tplink_tl-mr6400-v1
|
|
|
|
$(Device/tplink-8mlzma)
|
|
|
|
SOC := qca9531
|
|
|
|
DEVICE_MODEL := TL-MR6400
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
TPLINK_HWID := 0x64000001
|
2021-02-25 10:54:43 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-net-rndis \
|
2020-01-17 12:15:52 +00:00
|
|
|
kmod-usb-serial-option adb-enablemodem
|
|
|
|
SUPPORTED_DEVICES += tl-mr6400
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-mr6400-v1
|
|
|
|
|
2021-09-02 15:07:14 +00:00
|
|
|
define Device/tplink_tl-wa1201-v2
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
|
|
|
SOC := qca9563
|
|
|
|
IMAGE_SIZE := 13184k
|
|
|
|
DEVICE_MODEL := TL-WA1201
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
TPLINK_BOARD_ID := TL-WA1201-V2
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wa1201-v2
|
|
|
|
|
2019-07-28 10:20:26 +00:00
|
|
|
define Device/tplink_tl-wdr3500-v1
|
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-07-28 10:20:26 +00:00
|
|
|
DEVICE_MODEL := TL-WDR3500
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
|
|
|
TPLINK_HWID := 0x35000001
|
|
|
|
SUPPORTED_DEVICES += tl-wdr3500
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wdr3500-v1
|
|
|
|
|
2019-06-16 10:51:57 +00:00
|
|
|
define Device/tplink_tl-wdr3600-v1
|
2018-05-18 16:06:03 +00:00
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := TL-WDR3600
|
|
|
|
DEVICE_VARIANT := v1
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2018-05-18 16:06:03 +00:00
|
|
|
TPLINK_HWID := 0x36000001
|
2019-02-22 23:25:07 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wdr4300
|
2018-05-18 16:06:03 +00:00
|
|
|
endef
|
2019-06-16 10:51:57 +00:00
|
|
|
TARGET_DEVICES += tplink_tl-wdr3600-v1
|
2018-05-18 16:06:03 +00:00
|
|
|
|
2019-06-16 10:51:57 +00:00
|
|
|
define Device/tplink_tl-wdr4300-v1
|
2018-08-08 05:19:30 +00:00
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := TL-WDR4300
|
|
|
|
DEVICE_VARIANT := v1
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2018-05-18 16:06:03 +00:00
|
|
|
TPLINK_HWID := 0x43000001
|
2018-08-02 07:14:10 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wdr4300
|
2018-05-18 16:06:03 +00:00
|
|
|
endef
|
2019-06-16 10:51:57 +00:00
|
|
|
TARGET_DEVICES += tplink_tl-wdr4300-v1
|
2018-06-16 10:37:55 +00:00
|
|
|
|
2019-12-09 12:53:21 +00:00
|
|
|
define Device/tplink_tl-wdr4300-v1-il
|
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-12-09 12:53:21 +00:00
|
|
|
DEVICE_MODEL := TL-WDR4300
|
|
|
|
DEVICE_VARIANT := v1 (IL)
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
|
|
|
TPLINK_HWID := 0x43008001
|
|
|
|
SUPPORTED_DEVICES += tl-wdr4300
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wdr4300-v1-il
|
|
|
|
|
2019-12-09 12:44:03 +00:00
|
|
|
define Device/tplink_tl-wdr4310-v1
|
|
|
|
$(Device/tplink-8mlzma)
|
|
|
|
SOC := ar9344
|
|
|
|
DEVICE_MODEL := TL-WDR4310
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
|
|
|
TPLINK_HWID := 0x43100001
|
|
|
|
SUPPORTED_DEVICES += tl-wdr4300
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wdr4310-v1
|
|
|
|
|
2018-08-09 04:29:28 +00:00
|
|
|
define Device/tplink_tl-wdr4900-v2
|
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9558
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := TL-WDR4900
|
|
|
|
DEVICE_VARIANT := v2
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2018-08-09 04:29:28 +00:00
|
|
|
TPLINK_HWID := 0x49000002
|
2020-04-28 18:28:06 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wdr4900-v2
|
2018-08-09 04:29:28 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wdr4900-v2
|
|
|
|
|
2020-08-14 11:09:12 +00:00
|
|
|
define Device/tplink_tl-wdr7500-v3
|
|
|
|
$(Device/tplink-8mlzma)
|
|
|
|
SOC := qca9558
|
|
|
|
DEVICE_MODEL := TL-WDR7500
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
|
|
|
|
ath10k-firmware-qca988x-ct
|
|
|
|
TPLINK_HWID := 0x75000003
|
|
|
|
SUPPORTED_DEVICES += archer-c7
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wdr7500-v3
|
|
|
|
|
2020-07-09 10:49:17 +00:00
|
|
|
define Device/tplink_tl-wpa8630-v1
|
|
|
|
$(Device/tplink-8mlzma)
|
|
|
|
SOC := qca9563
|
|
|
|
DEVICE_MODEL := TL-WPA8630
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
|
|
|
|
TPLINK_HWID := 0x86300001
|
|
|
|
SUPPORTED_DEVICES += tl-wpa8630
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wpa8630-v1
|
|
|
|
|
2019-05-07 11:53:21 +00:00
|
|
|
define Device/tplink_tl-wr1043nd-v1
|
|
|
|
$(Device/tplink-8m)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9132
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := TL-WR1043N/ND
|
|
|
|
DEVICE_VARIANT := v1
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2019-05-07 11:53:21 +00:00
|
|
|
TPLINK_HWID := 0x10430001
|
|
|
|
SUPPORTED_DEVICES += tl-wr1043nd
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr1043nd-v1
|
|
|
|
|
2018-08-02 07:14:10 +00:00
|
|
|
define Device/tplink_tl-wr1043nd-v2
|
2018-06-18 17:22:13 +00:00
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9558
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := TL-WR1043N/ND
|
|
|
|
DEVICE_VARIANT := v2
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2018-06-18 17:22:13 +00:00
|
|
|
TPLINK_HWID := 0x10430002
|
2018-08-02 07:14:10 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wr1043nd-v2
|
2018-06-18 17:22:13 +00:00
|
|
|
endef
|
2018-08-02 07:14:10 +00:00
|
|
|
TARGET_DEVICES += tplink_tl-wr1043nd-v2
|
2018-06-18 17:22:13 +00:00
|
|
|
|
2018-08-02 07:14:10 +00:00
|
|
|
define Device/tplink_tl-wr1043nd-v3
|
2018-06-18 17:22:13 +00:00
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9558
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := TL-WR1043N/ND
|
|
|
|
DEVICE_VARIANT := v3
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2018-06-18 17:22:13 +00:00
|
|
|
TPLINK_HWID := 0x10430003
|
2019-11-11 18:03:20 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wr1043nd-v2
|
2018-06-18 17:22:13 +00:00
|
|
|
endef
|
2018-08-02 07:14:10 +00:00
|
|
|
TARGET_DEVICES += tplink_tl-wr1043nd-v3
|
2018-06-18 17:22:13 +00:00
|
|
|
|
2018-08-02 07:14:10 +00:00
|
|
|
define Device/tplink_tl-wr1043nd-v4
|
2019-03-27 18:14:34 +00:00
|
|
|
$(Device/tplink-safeloader)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
2018-06-16 10:37:55 +00:00
|
|
|
IMAGE_SIZE := 15552k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := TL-WR1043N/ND
|
|
|
|
DEVICE_VARIANT := v4
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2018-06-16 10:37:55 +00:00
|
|
|
TPLINK_HWID := 0x10430004
|
2022-03-25 16:32:24 +00:00
|
|
|
TPLINK_HWREV := 0x1
|
2018-06-16 10:37:55 +00:00
|
|
|
TPLINK_BOARD_ID := TLWR1043NDV4
|
2018-08-02 07:14:10 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wr1043nd-v4
|
2018-06-16 10:37:55 +00:00
|
|
|
endef
|
2018-08-02 07:14:10 +00:00
|
|
|
TARGET_DEVICES += tplink_tl-wr1043nd-v4
|
2018-06-20 22:02:10 +00:00
|
|
|
|
2019-05-06 13:29:16 +00:00
|
|
|
define Device/tplink_tl-wr1043n-v5
|
|
|
|
$(Device/tplink-safeloader-uimage)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9563
|
2019-05-06 13:29:16 +00:00
|
|
|
IMAGE_SIZE := 15104k
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := TL-WR1043N
|
|
|
|
DEVICE_VARIANT := v5
|
2019-05-06 13:29:16 +00:00
|
|
|
TPLINK_BOARD_ID := TLWR1043NV5
|
|
|
|
SUPPORTED_DEVICES += tl-wr1043n-v5
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr1043n-v5
|
|
|
|
|
2019-10-15 14:05:17 +00:00
|
|
|
define Device/tplink_tl-wr1045nd-v2
|
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9558
|
2019-10-15 14:05:17 +00:00
|
|
|
DEVICE_MODEL := TL-WR1045ND
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
|
|
|
TPLINK_HWID := 0x10450002
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr1045nd-v2
|
|
|
|
|
2018-08-02 07:14:10 +00:00
|
|
|
define Device/tplink_tl-wr2543-v1
|
2018-06-20 22:02:10 +00:00
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar7242
|
2019-06-16 19:34:46 +00:00
|
|
|
DEVICE_MODEL := TL-WR2543N/ND
|
|
|
|
DEVICE_VARIANT := v1
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2018-06-20 22:02:10 +00:00
|
|
|
TPLINK_HWID := 0x25430001
|
2019-12-31 12:57:50 +00:00
|
|
|
IMAGE/sysupgrade.bin := tplink-v1-image sysupgrade -v 3.13.99 | \
|
2021-06-20 16:54:36 +00:00
|
|
|
check-size | append-metadata
|
2019-12-31 12:57:50 +00:00
|
|
|
IMAGE/factory.bin := tplink-v1-image factory -v 3.13.99
|
2020-01-23 14:42:48 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wr2543n
|
2018-06-20 22:02:10 +00:00
|
|
|
endef
|
2018-08-02 07:14:10 +00:00
|
|
|
TARGET_DEVICES += tplink_tl-wr2543-v1
|
2019-08-22 12:34:45 +00:00
|
|
|
|
|
|
|
define Device/tplink_tl-wr710n-v1
|
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9331
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := TL-WR710N
|
|
|
|
DEVICE_VARIANT := v1
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
|
2019-08-22 12:34:45 +00:00
|
|
|
TPLINK_HWID := 0x07100001
|
|
|
|
SUPPORTED_DEVICES += tl-wr710n
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr710n-v1
|
|
|
|
|
2020-08-18 11:49:15 +00:00
|
|
|
define Device/tplink_tl-wr710n-v2.1
|
|
|
|
$(Device/tplink-8mlzma)
|
|
|
|
SOC := ar9331
|
|
|
|
DEVICE_MODEL := TL-WR710N
|
|
|
|
DEVICE_VARIANT := v2.1
|
|
|
|
DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
|
|
|
|
TPLINK_HWID := 0x07100002
|
|
|
|
TPLINK_HWREV := 0x2
|
|
|
|
SUPPORTED_DEVICES += tl-wr710n
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr710n-v2.1
|
|
|
|
|
2019-08-22 12:34:45 +00:00
|
|
|
define Device/tplink_tl-wr810n-v1
|
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9531
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := TL-WR810N
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
TPLINK_HWID := 0x8100001
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2020-04-28 18:28:06 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wr810n
|
2019-08-22 12:34:45 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr810n-v1
|
|
|
|
|
|
|
|
define Device/tplink_tl-wr810n-v2
|
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9533
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := TL-WR810N
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
TPLINK_HWID := 0x8100002
|
2020-04-28 18:28:06 +00:00
|
|
|
SUPPORTED_DEVICES += tl-wr810n-v2
|
2019-08-22 12:34:45 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr810n-v2
|
|
|
|
|
ath79: add support for TP-Link TL-WR841HP v2
Specifications:
- AR9344 SoC, 8 MB nor flash, 64 MB DDR2 RAM
- 2x2 9dBi antenna, wifi 2.4Ghz 300Mbps
- 4x Ethernet LAN 10/100, 1x Ethernet WAN 10/100
- 1x WAN, 4x LAN, Wifi, PWR, WPS, SYSTEM Leds
- Reset/WPS button
- Serial UART at J4 onboard: 3.3v GND RX TX, 1152008N1
MAC addresses as verified by OEM firmware:
vendor OpenWrt address
LAN eth0 label
WAN eth1 label + 1
WLAN phy0 label
The label MAC address was found in u-boot 0x1fc00.
Installation:
To install openwrt,
- set the device's SSID to each of the following lines,
making sure to include the backticks.
- set the ssid and click save between each line.
`echo "httpd -k"> /tmp/s`
`echo "sleep 10">> /tmp/s`
`echo "httpd -r&">> /tmp/s`
`echo "sleep 10">> /tmp/s`
`echo "httpd -k">> /tmp/s`
`echo "sleep 10">> /tmp/s`
`echo "httpd -f">> /tmp/s`
`sh /tmp/s`
- Now, wait 60 sec.
- After the reboot sequence, the router may have fallen back to
its default IP address with the default credentials (admin:admin).
- Log in to the web interface and go the the firmware upload page.
Select "openwrt-ath79-generic-tplink_tl-wr841hp-v2-squashfs-factory.bin"
and you're done : the system now accepts the openwrt.
Forum support topic:
https://forum.openwrt.org/t/support-for-tplink-tl-wr841hp-v2/69445/
Signed-off-by: Saiful Islam <si87868@gmail.com>
2021-09-25 01:39:52 +00:00
|
|
|
define Device/tplink_tl-wr841hp-v2
|
|
|
|
$(Device/tplink-8mlzma)
|
|
|
|
SOC := ar9344
|
|
|
|
DEVICE_MODEL := TL-WR841HP
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
TPLINK_HWID := 0x08411002
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr841hp-v2
|
|
|
|
|
ath79: add support for TP-Link TL-WR841HP v3
Specifications:
- QCA9533 SoC, 8 MB nor flash, 64 MB DDR2 RAM
- 2x2 9dBi antenna, wifi 2.4Ghz 300Mbps
- 4x Ethernet LAN 10/100, 1x Ethernet WAN 10/100
- 1x WAN, LAN, Wifi, PWR, WPS, RE Leds
- Reset, Wifi on/off, WPS, RE buttons
- Serial UART at J4 onboard: 3.3v GND RX TX, 1152008N1
Label MAC addresses based on vendor firmware:
LAN *:ea label
WAN *:eb label +1
2.4 GHz *:ea label
The label MAC address in found in u-boot 0x1fc00
Installation:
Upload openwrt-ath79-generic-tplink_tl-wr841hp-v3-squashfs-factory.bin
from stock firmware webgui.
Maybe we need rename to shorten file name due to stock webgui error.
Revert back to stock firmware instructions:
- set your PC to static IP address 192.168.0.66 netmask 255.255.255.0
- download stock firmware from Tp-link website
- put it in the root directory of tftp server software
- rename it to wr841hpv3_tp_recovery.bin
- power on while pressing Reset button until any Led is lighting up
- wait for the router to reboot. done
Forum support topic:
https://forum.openwrt.org/t/support-for-tp-link-tl-wr841hp-v3-router
Signed-off-by: Andy Lee <congquynh284@yahoo.com>
[rebase and squash]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-05-23 13:02:19 +00:00
|
|
|
define Device/tplink_tl-wr841hp-v3
|
|
|
|
$(Device/tplink-8mlzma)
|
|
|
|
SOC := qca9533
|
|
|
|
DEVICE_MODEL := TL-WR841HP
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
TPLINK_HWID := 0x08411003
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr841hp-v3
|
|
|
|
|
2019-08-22 12:34:45 +00:00
|
|
|
define Device/tplink_tl-wr842n-v1
|
|
|
|
$(Device/tplink-8m)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar7241
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := TL-WR842N/ND
|
|
|
|
DEVICE_VARIANT := v1
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2019-08-22 12:34:45 +00:00
|
|
|
TPLINK_HWID := 0x8420001
|
2020-04-28 18:28:06 +00:00
|
|
|
SUPPORTED_DEVICES += tl-mr3420
|
2019-08-22 12:34:45 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr842n-v1
|
|
|
|
|
|
|
|
define Device/tplink_tl-wr842n-v2
|
|
|
|
$(Device/tplink-8mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9341
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := TL-WR842N/ND
|
|
|
|
DEVICE_VARIANT := v2
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2019-08-22 12:34:45 +00:00
|
|
|
TPLINK_HWID := 0x8420002
|
|
|
|
SUPPORTED_DEVICES += tl-wr842n-v2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr842n-v2
|
|
|
|
|
|
|
|
define Device/tplink_tl-wr842n-v3
|
|
|
|
$(Device/tplink-16mlzma)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9533
|
2019-08-22 12:34:45 +00:00
|
|
|
DEVICE_MODEL := TL-WR842N
|
|
|
|
DEVICE_VARIANT := v3
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
|
2019-08-22 12:34:45 +00:00
|
|
|
TPLINK_HWID := 0x8420003
|
|
|
|
SUPPORTED_DEVICES += tl-wr842n-v3
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr842n-v3
|
2019-11-03 12:58:12 +00:00
|
|
|
|
ath79: add support for TP-Link TL-WR902AC v1
TP-Link TL-WR902AC v1 is a pocket-size, dual-band (AC750), successor of
TL-MR3020 (both devices use very similar enclosure, in same size). New
device is based on Qualcomm QCA9531 v2 + QCA9887. FCC ID: TE7WR902AC.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 1x 10/100 Mbps Ethernet
- 1x USB 2.0 (GPIO-controlled power)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz (QCA9531)
- 1T1R 5 GHz (QCA9887)
- 5x LED (GPIO-controlled), 2x button, 1x 3-pos switch
- UART pads on PCB (TP1 -> TX, TP2 -> RX, TP3 -> GND, TP4 -> 3V3, jumper
resitors are missing on TX/RX lines)
- 1x micro USB (for power only)
Flash instructions:
Use "factory" image under vendor GUI.
Recovery instructions:
This device contains tftp recovery mode inside U-Boot. You can use it to
flash OpenWrt (use "factory" image) or vendor firmware.
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "openwrt-ath79-generic-tplink_tl-wr902ac-v1-squashfs-factory.bin"
to "wr902acv1_un_tp_recovery.bin" and place it in tftp server dir.
3. Connect PC with LAN port, press the reset button, power up the router
and keep button pressed until WPS LED lights up.
4. Router will download file from server, write it to flash and reboot.
MAC Address summary:
- wlan1 (2.4GHz Wi-Fi): Label MAC
- wlan0 (5GHz Wi-Fi): Offset -1 from label
- eth0 (Wired): Offset +1 from label
Root access over serial line in vendor firmware: root/sohoadmin.
Based on support in ar71xx target by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
[remove size-cells from gpio-export]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-01 18:31:32 +00:00
|
|
|
define Device/tplink_tl-wr902ac-v1
|
|
|
|
$(Device/tplink-safeloader)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := qca9531
|
ath79: add support for TP-Link TL-WR902AC v1
TP-Link TL-WR902AC v1 is a pocket-size, dual-band (AC750), successor of
TL-MR3020 (both devices use very similar enclosure, in same size). New
device is based on Qualcomm QCA9531 v2 + QCA9887. FCC ID: TE7WR902AC.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 1x 10/100 Mbps Ethernet
- 1x USB 2.0 (GPIO-controlled power)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz (QCA9531)
- 1T1R 5 GHz (QCA9887)
- 5x LED (GPIO-controlled), 2x button, 1x 3-pos switch
- UART pads on PCB (TP1 -> TX, TP2 -> RX, TP3 -> GND, TP4 -> 3V3, jumper
resitors are missing on TX/RX lines)
- 1x micro USB (for power only)
Flash instructions:
Use "factory" image under vendor GUI.
Recovery instructions:
This device contains tftp recovery mode inside U-Boot. You can use it to
flash OpenWrt (use "factory" image) or vendor firmware.
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "openwrt-ath79-generic-tplink_tl-wr902ac-v1-squashfs-factory.bin"
to "wr902acv1_un_tp_recovery.bin" and place it in tftp server dir.
3. Connect PC with LAN port, press the reset button, power up the router
and keep button pressed until WPS LED lights up.
4. Router will download file from server, write it to flash and reboot.
MAC Address summary:
- wlan1 (2.4GHz Wi-Fi): Label MAC
- wlan0 (5GHz Wi-Fi): Offset -1 from label
- eth0 (Wired): Offset +1 from label
Root access over serial line in vendor firmware: root/sohoadmin.
Based on support in ar71xx target by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
[remove size-cells from gpio-export]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-01 18:31:32 +00:00
|
|
|
DEVICE_MODEL := TL-WR902AC
|
|
|
|
DEVICE_VARIANT := v1
|
2019-12-24 21:02:24 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport \
|
|
|
|
kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct \
|
|
|
|
-swconfig -uboot-envtools
|
ath79: add support for TP-Link TL-WR902AC v1
TP-Link TL-WR902AC v1 is a pocket-size, dual-band (AC750), successor of
TL-MR3020 (both devices use very similar enclosure, in same size). New
device is based on Qualcomm QCA9531 v2 + QCA9887. FCC ID: TE7WR902AC.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 1x 10/100 Mbps Ethernet
- 1x USB 2.0 (GPIO-controlled power)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz (QCA9531)
- 1T1R 5 GHz (QCA9887)
- 5x LED (GPIO-controlled), 2x button, 1x 3-pos switch
- UART pads on PCB (TP1 -> TX, TP2 -> RX, TP3 -> GND, TP4 -> 3V3, jumper
resitors are missing on TX/RX lines)
- 1x micro USB (for power only)
Flash instructions:
Use "factory" image under vendor GUI.
Recovery instructions:
This device contains tftp recovery mode inside U-Boot. You can use it to
flash OpenWrt (use "factory" image) or vendor firmware.
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "openwrt-ath79-generic-tplink_tl-wr902ac-v1-squashfs-factory.bin"
to "wr902acv1_un_tp_recovery.bin" and place it in tftp server dir.
3. Connect PC with LAN port, press the reset button, power up the router
and keep button pressed until WPS LED lights up.
4. Router will download file from server, write it to flash and reboot.
MAC Address summary:
- wlan1 (2.4GHz Wi-Fi): Label MAC
- wlan0 (5GHz Wi-Fi): Offset -1 from label
- eth0 (Wired): Offset +1 from label
Root access over serial line in vendor firmware: root/sohoadmin.
Based on support in ar71xx target by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
[remove size-cells from gpio-export]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-01 18:31:32 +00:00
|
|
|
TPLINK_BOARD_ID := TL-WR902AC-V1
|
|
|
|
IMAGE_SIZE := 7360k
|
|
|
|
SUPPORTED_DEVICES += tl-wr902ac-v1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr902ac-v1
|
|
|
|
|
2021-06-25 14:44:40 +00:00
|
|
|
define Device/tplink_tl-wr941hp-v1
|
|
|
|
$(Device/tplink-safeloader)
|
|
|
|
SOC := tp9343
|
|
|
|
DEVICE_MODEL := TL-WR941HP
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
TPLINK_BOARD_ID := TL-WR941HP-V1
|
|
|
|
IMAGE_SIZE := 7360k
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-wr941hp-v1
|
|
|
|
|
2020-04-15 19:51:59 +00:00
|
|
|
define Device/tplink_wbs210-v1
|
|
|
|
$(Device/tplink-safeloader-okli)
|
|
|
|
SOC := ar9344
|
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := WBS210
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := WBS210
|
|
|
|
SUPPORTED_DEVICES += wbs210
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_wbs210-v1
|
|
|
|
|
2019-11-03 12:58:12 +00:00
|
|
|
define Device/tplink_wbs210-v2
|
2020-01-29 23:06:38 +00:00
|
|
|
$(Device/tplink-safeloader-okli)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-11-03 12:58:12 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := WBS210
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := WBS210V2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_wbs210-v2
|
2019-11-07 02:12:55 +00:00
|
|
|
|
2019-11-08 03:36:02 +00:00
|
|
|
define Device/tplink_wbs510-v1
|
2020-01-29 23:06:38 +00:00
|
|
|
$(Device/tplink-safeloader-okli)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-11-08 03:36:02 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := WBS510
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := WBS510
|
|
|
|
SUPPORTED_DEVICES += wbs510
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_wbs510-v1
|
|
|
|
|
2019-11-07 02:12:55 +00:00
|
|
|
define Device/tplink_wbs510-v2
|
2020-01-29 23:06:38 +00:00
|
|
|
$(Device/tplink-safeloader-okli)
|
2019-12-20 00:12:42 +00:00
|
|
|
SOC := ar9344
|
2019-11-07 02:12:55 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
|
|
|
DEVICE_MODEL := WBS510
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_PACKAGES := rssileds
|
|
|
|
TPLINK_BOARD_ID := WBS510V2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_wbs510-v2
|