diff options
author | Henryk Heisig <hyniu@o2.pl> | 2016-12-27 22:41:41 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-01-26 11:38:21 +0100 |
commit | e39dc8d823c86559eedbbdcee5f5c14b827fed0f (patch) | |
tree | 1def1853ca9397a0ab683f1918be9c326a647ed1 /target/linux/ar71xx/image/tp-link.mk | |
parent | eec0c413759d360775df7419dec1bf46f6b63483 (diff) | |
download | upstream-e39dc8d823c86559eedbbdcee5f5c14b827fed0f.tar.gz upstream-e39dc8d823c86559eedbbdcee5f5c14b827fed0f.tar.bz2 upstream-e39dc8d823c86559eedbbdcee5f5c14b827fed0f.zip |
ar71xx: add support to TP-Link Archer C59v1 and C60v1
TP-Link Archer C59v1 is a dual-band AC1350 router, based on Qualcomm/Atheros
QCA9561+QCA9886.
Specification:
- 775/650/258 MHz (CPU/DDR/AHB)
- 128 MB of RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 3T3R 2.4 GHz
- 2T2R 5 GHz
- 5x 10/100 Mbps Ethernet
- USB 2.0 port
- 8x LED (controled by 74HC595), 3x button
- UART header on PCB
TP-Link Archer C60v1 is a dual-band AC1350 router, based on Qualcomm/Atheros
QCA9561+QCA9886.
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
- 7x LED, 2x button
- UART header on PCB
Currently not working:
- Port LAN1 on C59, LAN4 on C60
- WiFi 5GHz (missing ath10k firmware for QCA9886 chip)
- Update from oficial web interface ( tplink-saveloader not support "product-info")
Flash instruction:
1. Set PC to fixed ip address 192.168.0.66
2. Download lede-ar71xx-generic-archer-cXX-v1-squashfs-factory.bin
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.
Flash instruction under U-Boot, using UART:
1. tftp 0x81000000 lede-ar71xx-...-sysupgrade.bin
2. erase 0x9f020000 +$filesize
3. cp.b $fileaddr 0x9f020000 $filesize
4. reset
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
[Jo-Philipp Wich: remove duplicate ATH79_MACH_ARCHER_C59/C60_V1 entries]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/ar71xx/image/tp-link.mk')
-rw-r--r-- | target/linux/ar71xx/image/tp-link.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk index 480d9ad39d..d163ffb0fe 100644 --- a/target/linux/ar71xx/image/tp-link.mk +++ b/target/linux/ar71xx/image/tp-link.mk @@ -45,6 +45,15 @@ define Build/mktplinkfw-kernel @mv $@.new $@ endef +define Build/uImageArcher + mkimage -A $(LINUX_KARCH) \ + -O linux -T kernel \ + -C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ + -n '$(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION)' -d $@ $@.new + @mv $@.new $@ +endef + + define Device/tplink TPLINK_HWREV := 0x1 TPLINK_HEADER_VERSION := 1 @@ -95,6 +104,36 @@ $(Device/tplink) IMAGE_SIZE := 15872k endef +define Device/archer-c59-v1 + DEVICE_TITLE := TP-LINK Archer C59 v1 + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k + BOARDNAME := ARCHER-C59-V1 + TPLINK_BOARD_NAME := ARCHER-C59-V1 + DEVICE_PROFILE := ARCHERC59V1 + IMAGE_SIZE := 14528k + KERNEL := kernel-bin | patch-cmdline | lzma | uImageArcher lzma + IMAGES := sysupgrade.bin factory.bin + IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade + IMAGE/factory.bin := append-rootfs | tplink-safeloader factory + MTDPARTS := spi0.0:64k(u-boot)ro,64k(mac)ro,1536k(kernel),12992k(rootfs),1664k(tplink)ro,64k(art)ro,14528k@0x20000(firmware) +endef +TARGET_DEVICES += archer-c59-v1 + +define Device/archer-c60-v1 + DEVICE_TITLE := TP-LINK Archer C60 v1 + DEVICE_PACKAGES := kmod-ath10k + BOARDNAME := ARCHER-C60-V1 + TPLINK_BOARD_NAME := ARCHER-C60-V1 + DEVICE_PROFILE := ARCHERC60V1 + IMAGE_SIZE := 7936k + KERNEL := kernel-bin | patch-cmdline | lzma | uImageArcher lzma + IMAGES := sysupgrade.bin factory.bin + IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade + IMAGE/factory.bin := append-rootfs | tplink-safeloader factory + MTDPARTS := spi0.0:64k(u-boot)ro,64k(mac)ro,1344k(kernel),6592k(rootfs),64k(tplink)ro,64k(art)ro,7936k@0x20000(firmware) +endef +TARGET_DEVICES += archer-c60-v1 + define Device/cpe510-520 DEVICE_TITLE := TP-LINK CPE510/520 DEVICE_PACKAGES := rssileds |