Archer C7 V1.0 crashes on boot

2GHz signal is a little bit weak, even if I increase the output power to 300mW. I know that the antennas are located inside the housing and the 5GHz antennas are the external one. Have you ever tried the dual antenna versions?
Compared to my oder 1043 v2, the signal on my device is a bit lower...

Is there any chance for a 5.4 kernel version build?

I don't think the patch will work with the latest code. I had to use a commit from march. I've included the instructions I used to build the firmware above if you're interested in trying it yourself

Once @psyborg has time he may be able to rewrite the patch to work with the latest openwrt code

Have you tried with a newer commit from mac80211? I might tried to make a new build with 5.4 but im totally inexperienced :grimacing: , also if you could come back to guide us would be awsome @psyborg. A lot of routers out there could benefit from your help.

I tried installing this on a V1.1 and am now stuck in a boot loop, hence I ended up here. Is there anyway out of this loop to resurrect my device?

Is there any sort of solution available for using OpenWrt with this device?

The wiki for the device has tftp and JTAG recover options.

https://openwrt.org/toh/tp-link/archer-c7-1750

The below is a firmware which has 5ghz support.

https://github.com/d687r02j8g/openwrt_c7v1/raw/master/ath10k.zip

Great, I'll take a look at those.

Thanks.

Hello, i have succesfully flashed the above openwrt firmware with 5ghz support and all seems good working until i have decided to make the updates from the luci software interface. After received some errors and rebooted the device, the router seems unreacheable. So i have tried to tftp recover and reflash the firmware but seems the router does not enter in tftp recover state. How to recover my router? Is it possible that the updates totally brick the router?

The router isn't totally bricked for sure. If you are sure the tftp doesn't work then jtag definitely will.

Hopefully @psyborg or someone else as smart can create a openwrt package or something to make v1 work with the official builds.

1 Like

Unfortunately i don't have the hardware for jtag but i have an external programmer to hardware reflash the firmware chip. Did i need a full dump.bin or i can directly reflash the 5ghz firmware.bin again via this method?

Little "progress". I have soldered a serial pinout and see that uboot hangs at very first stage of ram initialize.... I fear that my ram was in hardware fault (?) or maybe i only have uboot corruption (?)

Please, help me to understand: is it possible to flash a donor dump? Or maybe i can external flash only uboot and then retry the tftp procedure?
What file i have to use with my external flash programmer to try to recover my router assuming i have corrupted uboot?

What happens if you press enter? Are you able to type anything? Sorry I don't have much experience with flashing/recovering in this manner

The wiki has a lot of information about recovering a router.

https://openwrt.org/toh/tp-link/archer-c7-1750#:~:text=To%20start%20the%20TFTP%20recovery,then%20power%20up%20the%20router.&text=For%20Archer%20C7%20v4%20and,request%20in%20your%20TFTP%20server.

That looks more like a serious hardware fault. Corrupting the bootloader is rare, especially if not completely erasing it.

First I would try a different power adapter. And remove the 5 GHz PCI card.

The uboot shell doesn't do anything, no command accepted. So right now i have desolderd my flash ic and full dumped it. Please there's anyone so kind to give me his full dump so i can try to see what happen on my router?
Eventually there's much more knowledge interest for me to understand how to recreate a fully working formatted dump then to restore a donor dump.

Did you try booting it without the 5g card?

Yep, it's the first thing i have done but as you can see from my serial log, the uboot hangs at very first stage of init ram allocation so unfortunately it doesn't seems to be such a simply trick. Right now i think i have two kind of logic desumptions:
1)my memory was fried
2) my uboot/flash ic was corrupted
So the only thing that i can do is to reflash my uboot just to see from serial output if the hang resolve itself. So i need a full dump from donor flash and eventually then fix it with my proper mac addresses

compare uboot from your dump with the one from tplink firmware upgrade file. they should match

1 Like

Thank for the prebuilt image.
Installed it on my TL-WDR8500, worked fine for some time, but got an errors in log and don't see 5Ghz network anymore.

[1396206.469806] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1418150.385150] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1431215.361360] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1491787.549985] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1495903.562244] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1525206.972200] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1547504.394219] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606853.423778] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606853.526171] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606853.628574] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606853.730973] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606853.833374] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606853.935776] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606854.038182] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606854.140574] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606854.240354] ath10k_pci 0000:00:00.0: Spurious quick kickout for STA 44:d8:84:5b:cd:e9
[1606854.248692] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[1606856.257503] wlan0: failed to remove key (0, 44:d8:84:5b:cd:e9) from hardware (-11)
[1606856.265906] ------------[ cut here ]------------
[1606856.271357] WARNING: CPU: 0 PID: 8806 at backports-5.4-rc8-1/net/mac80211/sta_info.c:1067 sta_set_sinfo+0xbb0/0xca0 [mac80211]
[1606856.283488] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ipt_MASQUERADE ath9k_hw ath10k_pci ath10k_core ath xt_state xt_nat xt_conntrack xt_REDIRECT xt_FLOWOFFLOAD pppox ppp_generic nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ledtrig_heartbeat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1606856.349013] CPU: 0 PID: 8806 Comm: hostapd Not tainted 4.19.108 #0
[1606856.355998] Stack : 805c0000 805698d4 00000000 00000000 805690ec 86bc9afc 87d63db4 80597b67
[1606856.365043]         80537210 00002266 806f3670 0000042b 805b54c0 00000001 86bc9ab0 b2cbb51b
[1606856.374012]         00000000 00000000 80720000 0000029e 00000000 00000000 00000008 00000000
[1606856.382878]         0000029e 883d54d2 00000000 00055355 80000000 00000009 00000000 87788d0c
[1606856.391981]         877edc0c 0000042b 805b54c0 86a3a800 00000003 802c3894 00000000 806f0000
[1606856.401220]         ...
[1606856.404016] Call Trace:
[1606856.406824] [<8006b0c4>] show_stack+0x58/0x100
[1606856.411843] [<80086250>] __warn+0xe4/0x13c
[1606856.416471] [<800862f0>] warn_slowpath_null+0x48/0x68
[1606856.422146] [<87788d0c>] sta_set_sinfo+0xbb0/0xca0 [mac80211]
[1606856.428628] [<87788edc>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[1606856.435634] [<87710e2c>] cfg80211_check_station_change+0x1200/0x3258 [cfg80211]
[1606856.443937] ---[ end trace 3286ce1ce0dad1f8 ]---
[1606856.450847] ------------[ cut here ]------------
[1606856.456035] WARNING: CPU: 0 PID: 8806 at backports-5.4-rc8-1/net/mac80211/sta_info.c:1075 sta_set_sinfo+0xc1c/0xca0 [mac80211]
[1606856.468103] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ipt_MASQUERADE ath9k_hw ath10k_pci ath10k_core ath xt_state xt_nat xt_conntrack xt_REDIRECT xt_FLOWOFFLOAD pppox ppp_generic nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ledtrig_heartbeat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1606856.533805] CPU: 0 PID: 8806 Comm: hostapd Tainted: G        W         4.19.108 #0
[1606856.542076] Stack : 805c0000 805698d4 00000000 00000000 805690ec 86bc9afc 87d63db4 80597b67
[1606856.551027]         80537210 00002266 806f3670 00000433 805b54c0 00000001 86bc9ab0 b2cbb51b
[1606856.559977]         00000000 00000000 80720000 000002b0 00000000 00000000 00000008 00000000
[1606856.569008]         000002b0 0ea2ddba 00000000 0008252d 80000000 00000009 00000000 87788d78
[1606856.578046]         877edc0c 00000433 805b54c0 86a3a800 00000003 802c3894 00000000 806f0000
[1606856.586989]         ...
[1606856.589880] Call Trace:
[1606856.592573] [<8006b0c4>] show_stack+0x58/0x100
[1606856.597280] [<80086250>] __warn+0xe4/0x13c
[1606856.602167] [<800862f0>] warn_slowpath_null+0x48/0x68
[1606856.607888] [<87788d78>] sta_set_sinfo+0xc1c/0xca0 [mac80211]
[1606856.614117] [<87788edc>] sta_info_destroy_addr_bss+0x38/0x60 [mac80211]
[1606856.621215] [<87710e2c>] cfg80211_check_station_change+0x1200/0x3258 [cfg80211]
[1606856.629147] ---[ end trace 3286ce1ce0dad1f9 ]---
[1606856.634405] ieee80211 phy0: Hardware restart was requested
[1606856.654340] ------------[ cut here ]------------
[1606856.659772] WARNING: CPU: 0 PID: 124 at backports-5.4-rc8-1/net/mac80211/util.c:2199 ieee80211_reconfig+0x94/0xbe4 [mac80211]
[1606856.672078] Hardware became unavailable during restart.
[1606856.677760] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ipt_MASQUERADE ath9k_hw ath10k_pci ath10k_core ath xt_state xt_nat xt_conntrack xt_REDIRECT xt_FLOWOFFLOAD pppox ppp_generic nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ledtrig_heartbeat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1606856.743403] CPU: 0 PID: 124 Comm: kworker/0:1 Tainted: G        W         4.19.108 #0
[1606856.752244] Workqueue: events_freezable ieee80211_alloc_hw_nm [mac80211]
[1606856.759910] Stack : 80537210 877bb554 877ef248 00000897 805a0000 800b87b0 87df02f4 00000000
[1606856.768956]         00000017 87d6b638 805371f8 87de7d14 80590000 00000001 87de7ce8 80eebafb
[1606856.778130]         00000000 00000000 805a7030 000002c5 00000000 00000000 00000008 00000000
[1606856.787126]         000002c5 80710000 00000000 000b7a74 00000000 00000009 00000000 877bb554
[1606856.796107]         877ef248 00000897 805a0000 fffffffe 00000001 802c3894 00000000 806f0000
[1606856.805289]         ...
[1606856.808245] Call Trace:
[1606856.811089] [<8006b0c4>] show_stack+0x58/0x100
[1606856.816018] [<80086250>] __warn+0xe4/0x13c
[1606856.820507] [<80085ec0>] warn_slowpath_fmt+0x30/0x3c
[1606856.826197] [<877bb554>] ieee80211_reconfig+0x94/0xbe4 [mac80211]
[1606856.833519] [<877807ec>] ieee80211_alloc_hw_nm+0x78c/0x7ac [mac80211]
[1606856.840855] ---[ end trace 3286ce1ce0dad1fa ]---
[1606856.846195] ------------[ cut here ]------------
[1606856.851446] WARNING: CPU: 0 PID: 124 at backports-5.4-rc8-1/net/mac80211/driver-ops.h:19 ieee80211_sta_eosp+0x534/0xca4 [mac80211]
[1606856.864092] wlan0:  Failed check-sdata-in-driver check, flags: 0x9
[1606856.870910] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ipt_MASQUERADE ath9k_hw ath10k_pci ath10k_core ath xt_state xt_nat xt_conntrack xt_REDIRECT xt_FLOWOFFLOAD pppox ppp_generic nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ledtrig_heartbeat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[1606856.936487] CPU: 0 PID: 124 Comm: kworker/0:1 Tainted: G        W         4.19.108 #0
[1606856.945209] Workqueue: events_freezable ieee80211_alloc_hw_nm [mac80211]
[1606856.952448] Stack : 80537210 877855f8 877edc70 00000013 86f9f090 800b87b0 87df02f4 00000000
[1606856.961739]         00000017 87d6b638 805371f8 87de79e4 80590000 00000001 87de79b8 80eebafb
[1606856.970638]         00000000 00000000 805a7030 000002d8 00000000 00000000 00000008 00000000
[1606856.979539]         000002d8 80710000 00000000 000e6c39 00000000 00000009 00000000 877855f8
[1606856.988630]         877edc70 00000013 86f9f090 8688a460 00000001 802c3894 00000000 806f0000
[1606856.997554]         ...
[1606857.000387] Call Trace:
[1606857.003100] [<8006b0c4>] show_stack+0x58/0x100
[1606857.008329] [<80086250>] __warn+0xe4/0x13c
[1606857.012873] [<80085ec0>] warn_slowpath_fmt+0x30/0x3c
[1606857.018549] [<877855f8>] ieee80211_sta_eosp+0x534/0xca4 [mac80211]
[1606857.025247] ---[ end trace 3286ce1ce0dad1fb ]---
[1606857.030321] ------------[ cut here ]------------

Sorry for the bad english.
You have slightly confused other chips in your device.
You need a different image, I have not seen that there would be an image for your device.
Our devices
Qualcomm Atheros QCA9558, Qualcomm Atheros QCA9880-AR1A
Your device on chips
Qualcomm Atheros QCA9563, Qualcomm Atheros QCA9984