Tp link archer c60 bad magic number

Hello.
I have an tp link archer C60 version 1, which when trying to update I had an electrical problem. Now only the power light is on, I am trying to install the firmware again but it gives me the following error.

Load address: 0x80800000
Loading: T T ## Booting image at 9f020000 ...
Bad Magic Number

Retry count exceeded; starting again

Is it serial console log of recovery procedure? In this case it will be better to show all logs.

For recovery did you use Flash instruction: from here?

Thanks for your answer, if it is from the serial console. I have tried the link and it always throws me the same error. This is the serial console log.

U-Boot 1.1.4 (Aug  5 2016 - 09:02:26)

ap151 - Dragonfly 1.0

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 338k for U-Boot at: 83fa8000
Reserving 32832k for malloc() at: 81f98000
Reserving 44 Bytes for Board Info at: 81f97fd4
Reserving 36 Bytes for Global Data at: 81f97fb0
Reserving 128k for boot params() at: 81f77fb0
Stack Pointer at: 81f77f98
Now running in RAM - U-Boot at: 83fa8000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Dragonfly----> S27 PHY *
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
ATHRS27: resetting s27
ATHRS27: s27 reset done
: cfg1 0x800c0000 cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :50
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :50
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :50
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :50
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x82
Autobooting in 1 seconds
## Booting image at 9f020000 ...
Bad Magic Number

And put the ip 192.168.0.66 connected the cable in lan1 and turned on the router.

In 1st log I see attempt to load firmware:

Loading: T T ##

In 2nd log there isn't load firmware attempt.
Did you press and hold reset button before power on as pointed in the instruction?

5. Press and hold Reset button
6. Turn on router with the reset button pressed and wait ~15 seconds

If I do it by resetting and turning on the router, the output is as follows.

U-Boot 1.1.4 (Aug  5 2016 - 09:02:26)

ap151 - Dragonfly 1.0

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 338k for U-Boot at: 83fa8000
Reserving 32832k for malloc() at: 81f98000
Reserving 44 Bytes for Board Info at: 81f97fd4
Reserving 36 Bytes for Global Data at: 81f97fb0
Reserving 128k for boot params() at: 81f77fb0
Stack Pointer at: 81f77f98
Now running in RAM - U-Boot at: 83fa8000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Dragonfly----> S27 PHY *
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
ATHRS27: resetting s27
ATHRS27: s27 reset done
: cfg1 0x800c0000 cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :50
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :50
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :50
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :50
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x82
Trying eth0
eth0 link down
FAIL
Trying eth1
eth1 link down
FAIL
Using eth0 device
TFTP from server 192.168.0.66, our IP address is 192.168.0.86
Filename tp_recovery.bin
Load address: 0x80800000
Loading: Tx timed out
T Tx Timed out
T Tx Timed out
## Botting image at 9f020000 ...
Bad Magic Number

Retry count exceeded; stating again
Tx timed out
Tx timed out
Tx timed out

ARP Retry count exceeded; starting again 

and it repeats like this all the time.

Check network connectivity and tftp-server/ip address/firewall settings of your computer.

I am using arch linux, putty as serial connection, ip set 192.168.0.66. And tested from a windows 10 with putty and the same answer.

  1. Check cable connection. For example my ubuntu linux network manager ignore ip settings before cable link is up. After link is up it takes couple of seconds to set up network settings but uboot bootloader make only 3 attempts. So I usually stop network manager and set ip-address by hands. Or you can use simple switch device between router and computer to force linkup from computer side. I'm not sure but the same problem is possible in windows 10.
  2. Check tftp-server installation and configuration. It's very simple to check from another device or from the same computer with tftp-client to be sure that tftp-server work correctly.
  3. Make sure that default firewall settings on the computer allow tftp connection from outside. Configure firewall or temporally stop it.

Or you can try to interrupt loading to get bootloader command line and use Flash instruction under U-Boot, using UART:

tftp 0x81000000 lede-ar71xx-...-sysupgrade.bin
erase 0x9f020000 +$filesize
cp.b $fileaddr 0x9f020000 $filesize
reset