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
|
|
|
|
BOARDNAME := ARCHER-A7-V5
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-a7-v5
|
|
|
|
|
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
|
|
|
|
BOARDNAME := 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
|
|
|
|
BOARDNAME := 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
|
|
|
BOARDNAME := ARCHER-D50-V1
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-net kmod-usb-net-rndis kmod-usb-serial \
|
|
|
|
kmod-usb-serial-option adb-enablemodem
|
|
|
|
SUPPORTED_DEVICES += tl-mr6400
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_tl-mr6400-v1
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
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 | \
|
2020-03-10 13:58:27 +00:00
|
|
|
append-metadata | check-size
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
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
|