Archer C7 V1.0 crashes on boot

#1

I have a TP-Link Archer C7 v1.0, and I can run OpenWRT v15.05.x. However, I cannot seem to restore the stock TP-link firmware nor can I boot any newer OpenWRT version.

Stock firmware problem

I downloaded the latest (Archer C7_V1_141204_US) firmware, extracted the bin file and renamed it so it would get picked up by the TFTP client. In the serial console I can see the download succeed, but then it doesn't appear to erase and program the flash. Instead it appears to reboot (crash?):

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.66; our IP address is 192.168.1.86
Filename 'ArcherC7v1_tp_recovery.bin'.
Load address: 0x80060000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #########################################
done
Bytes transferred = 8192512 (7d0200 hex)
original_product_id = 75000001
 original_product_ver = 01
 recovery_product_id = 75000001
 recovery_product_ver = 01
 auto update firmware: product id verify sucess!
Firmware recovery: product id verify sucess!
Firmware recovery: FLASH_SIZE = 8 filesize = 0x7d0200.

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)
... (previously flashed OpenWRT begins to boot here) ...

Strangely, if I truncate the file (it appears to be padded anyway) to the same size as the OpenWRT -factory bin file via truncate -s 8126464 ArcherC7v1_tp_recovery.bin and run the TFTP recovery again it does erase and program the flash. Unfortunately, it then fails to boot:

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.66; our IP address is 192.168.1.86
Filename 'ArcherC7v1_tp_recovery.bin'.
Load address: 0x80060000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ############################
done
Bytes transferred = 8126464 (7c0000 hex)
original_product_id = 75000001
 original_product_ver = 01
 recovery_product_id = 75000001
 recovery_product_ver = 01
 auto update firmware: product id verify sucess!
Firmware recovery: product id verify sucess!
Firmware recovery: FLASH_SIZE = 8 filesize = 0x7c0000.
Erasing flash... 
First 0x2 last 0x7d sector size 0x10000
 125
Erased 124 sectors
Copy to Flash... write addr: 9f020000
done

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET board to recover

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)
... (repeats forever) ...

Upgrade OpenWRT problem

It seems like there's something wrong with the ath10k_pci (ath10k_core?) module for this hardware in the newer versions of OpenWRT. Here's the last thing I see when trying to boot them:

[   10.584069] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   10.589963] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   10.648991] Data bus error, epc == 8756a460, ra == 8756a460
[   10.654646] Oops[#1]:
[   10.656956] CPU: 0 PID: 500 Comm: kmodloader Not tainted 4.4.92 #0
[   10.663218] task: 87d79e30 ti: 87fd6000 task.ti: 87fd6000
[   10.668688] $ 0   : 00000000 80440000 deadc0de 00000000
[   10.674020] $ 4   : b2009030 00009030 00000196 00009034
[   10.679352] $ 8   : 00000010 800650a0 00000000 6f646520
[   10.684685] $12   : 00000000 ffffff80 00000000 65203120
[   10.690019] $16   : 00009030 874b9460 00000000 803d0000
[   10.695351] $20   : ffff901e ffffffff 00000001 80370040
[   10.700684] $24   : 803cc034 8756a3dc                  
[   10.706016] $28   : 87fd6000 87fd7b38 00000000 8756a460
[   10.711350] Hi    : 00000196
[   10.714271] Lo    : 2a840000
[   10.717191] epc   : 8756a460 0x8756a460 [ath10k_pci@87568000+0x6dd0]
[   10.723632] ra    : 8756a460 0x8756a460 [ath10k_pci@87568000+0x6dd0]
[   10.730067] Status: 1100fc03	KERNEL EXL IE 
[   10.734337] Cause : 0080001c (ExcCode 07)
[   10.738403] PrId  : 00019750 (MIPS 74Kc)
[   10.742378] Modules linked in: ath10k_pci(+) ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   10.767403] Process kmodloader (pid: 500, threadinfo=87fd6000, task=87d79e30, tls=7717dd48)
[   10.775861] Stack : 87fd6000 87fd7b60 00000000 8756b7cc 1100fc03 00000196 2a840000 874b9460
	  00000000 8756b744 80370040 8756b518 874b9460 874b9460 874b9460 874b9460
	  8756e4bc 8756e49c 87570000 87cec068 8756db78 8756b9ac 87cec000 801fc624
	  875bd780 8756ac64 803e00c8 00000001 874b9460 8756bb74 874b9460 800aa470
	  00000040 8758bf68 00000000 874b9460 874b9460 87570000 874b9460 00000000
	  ...
[   10.812188] Call Trace:[<8756b7cc>] 0x8756b7cc [ath10k_pci@87568000+0x6dd0]
[   10.819263] [<8756b744>] 0x8756b744 [ath10k_pci@87568000+0x6dd0]
[   10.825351] [<8756b518>] 0x8756b518 [ath10k_pci@87568000+0x6dd0]
[   10.831444] [<8756b9ac>] 0x8756b9ac [ath10k_pci@87568000+0x6dd0]
[   10.837536] [<801fc624>] 0x801fc624
[   10.841077] [<8756ac64>] 0x8756ac64 [ath10k_pci@87568000+0x6dd0]
[   10.847166] [<8756bb74>] 0x8756bb74 [ath10k_pci@87568000+0x6dd0]
[   10.853252] [<800aa470>] 0x800aa470
[   10.856793] [<8758bf68>] 0x8758bf68 [ath10k_core@87580000+0x3c2b0]
[   10.863062] [<8756c314>] 0x8756c314 [ath10k_pci@87568000+0x6dd0]
[   10.869154] [<801fbbbc>] 0x801fbbbc
[   10.872694] [<801d9194>] 0x801d9194
[   10.876229] [<801ff6d4>] 0x801ff6d4
[   10.879770] [<801ffcf4>] 0x801ffcf4
[   10.883304] [<800e604c>] 0x800e604c
[   10.886845] [<801ffed0>] 0x801ffed0
[   10.890379] [<801fe11c>] 0x801fe11c
[   10.893918] [<801ffe54>] 0x801ffe54
[   10.897453] [<801fe1d8>] 0x801fe1d8
[   10.900992] [<8035e4bc>] 0x8035e4bc
[   10.904533] [<8756f000>] 0x8756f000 [ath10k_pci@87568000+0x6dd0]
[   10.910619] [<801fdfac>] 0x801fdfac
[   10.914160] [<801ff404>] 0x801ff404
[   10.917694] [<8009baa0>] 0x8009baa0
[   10.921238] [<8756f000>] 0x8756f000 [ath10k_pci@87568000+0x6dd0]
[   10.927322] [<802005e8>] 0x802005e8
[   10.930866] [<8756f000>] 0x8756f000 [ath10k_pci@87568000+0x6dd0]
[   10.936960] [<8756f02c>] 0x8756f02c [ath10k_pci@87568000+0x6dd0]
[   10.943048] [<80069c7c>] 0x80069c7c
[   10.946585] [<800a1d24>] 0x800a1d24
[   10.950122] [<80092ab8>] 0x80092ab8
[   10.953661] [<800909d8>] 0x800909d8
[   10.957200] [<800904c8>] 0x800904c8
[   10.960740] [<800c3558>] 0x800c3558
[   10.964273] [<800f992c>] 0x800f992c
[   10.967812] [<800c4a08>] 0x800c4a08
[   10.971350] [<800c2bfc>] 0x800c2bfc
[   10.974888] [<800f9e08>] 0x800f9e08
[   10.978424] [<800f2e3c>] 0x800f2e3c
[   10.981962] [<800c4c04>] 0x800c4c04
[   10.985499] [<800c4ca0>] 0x800c4ca0
[   10.989041] [<80062c6c>] 0x80062c6c
[   10.992577] 
[   10.994084] 
Code: 8e243b84  0c071ef2  00902021 <00408021> 92223e45  10400004  02001021  0dd5a6ed  02202021 
[   11.004239] ---[ end trace 804bc45f84034d1a ]---
[   11.010486] Fatal exception: panic in 5 seconds

Typical TFTP "recovery" session to load firmware

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.66; our IP address is 192.168.1.86
Filename 'ArcherC7v1_tp_recovery.bin'.
Load address: 0x80060000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ############################
done
Bytes transferred = 8126464 (7c0000 hex)
original_product_id = 75000001
 original_product_ver = 01
 recovery_product_id = 75000001
 recovery_product_ver = 01
 auto update firmware: product id verify sucess!
Firmware recovery: product id verify sucess!
Firmware recovery: FLASH_SIZE = 8 filesize = 0x7c0000.
Erasing flash... 
First 0x2 last 0x7d sector size 0x10000
 125
Erased 124 sectors
Copy to Flash... write addr: 9f020000
0 Likes

#2

Additional details:

v15.05 (works)

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1e)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 21:55:57 CEST 2015
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=ARCHER-C7  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125980K/131072K available (2621K kernel code, 129K rwdata, 344K rodata, 224K init, 194K bss, 5092K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] NET: Registered protocol family 16
[    0.080000] MIPS: machine is TP-LINK Archer C7
[    0.080000] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.090000] registering PCI controller with io_map_base unset
[    0.090000] registering PCI controller with io_map_base unset
[    0.540000] PCI host bridge to bus 0000:00
[    0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.550000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.560000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.560000] PCI host bridge to bus 0000:01
[    0.570000] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.570000] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.580000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.580000] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.590000] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.590000] pci 0000:01:00.0: using irq 41 for pin 1
[    0.600000] Switched to clocksource MIPS
[    0.600000] NET: Registered protocol family 2
[    0.600000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.610000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.620000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.620000] TCP: reno registered
[    0.630000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.640000] NET: Registered protocol family 1
[    0.640000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.660000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.670000] msgmni has been set to 246
[    0.670000] io scheduler noop registered
[    0.680000] io scheduler deadline registered (default)
[    0.680000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
�[    0.710000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.720000] console [ttyS0] enabled
[    0.720000] console [ttyS0] enabled
[    0.730000] bootconsole [early0] disabled
[    0.730000] bootconsole [early0] disabled
[    0.740000] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.740000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.750000] 5 tp-link partitions found on MTD device spi0.0
[    0.760000] Creating 5 MTD partitions on "spi0.0":
[    0.760000] 0x000000000000-0x000000020000 : "u-boot"
[    0.770000] 0x000000020000-0x00000012c4c8 : "kernel"
[    0.770000] 0x00000012c4c8-0x0000007f0000 : "rootfs"
[    0.780000] mtd: device 2 (rootfs) set to be root filesystem
[    0.780000] 1 squashfs-split partitions found on MTD device rootfs
[    0.790000] 0x0000003a0000-0x0000007f0000 : "rootfs_data"
[    0.800000] 0x0000007f0000-0x000000800000 : "art"
[    0.800000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.830000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    0.920000] libphy: ag71xx_mdio: probed
[    1.520000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    1.530000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.120000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    2.120000] TCP: cubic registered
[    2.130000] NET: Registered protocol family 17
[    2.130000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.140000] Bridge firewalling registered
[    2.150000] 8021q: 802.1Q VLAN Support v1.8
[    2.160000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.170000] Freeing unused kernel memory: 224K (80368000 - 803a0000)
[    3.230000] init: Console is alive
[    3.230000] init: - watchdog -
[    4.540000] usbcore: registered new interface driver usbfs
[    4.540000] usbcore: registered new interface driver hub
[    4.550000] usbcore: registered new device driver usb
[    4.560000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.570000] ehci-platform: EHCI generic platform driver
[    4.570000] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.580000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.590000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    4.590000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    4.620000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.620000] hub 1-0:1.0: USB hub found
[    4.630000] hub 1-0:1.0: 1 port detected
[    4.630000] ehci-platform ehci-platform.1: EHCI Host Controller
[    4.640000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    4.650000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    4.650000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    4.680000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    4.680000] hub 2-0:1.0: USB hub found
[    4.690000] hub 2-0:1.0: 1 port detected
[    5.290000] init: - preinit -
[    6.070000] eth1: link up (1000Mbps/Full duplex)
[    6.090000] random: procd urandom read with 9 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    9.310000] mount_root: no usable overlay filesystem found, using tmpfs overlay
6+0 records in
6+0 records out
2104+0 records in
2104+0 records out
[    9.400000] eth1: link down
[    9.410000] procd: - early -
[    9.410000] procd: - watchdog -
[   10.020000] procd: - ubus -
[   11.040000] procd: - init -
Please press Enter to activate this console.
[   11.620000] NET: Registered protocol family 10
[   11.630000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.640000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   11.650000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   11.670000] cfg80211: Calling CRDA to update world regulatory domain
[   11.680000] cfg80211: World regulatory domain updated:
[   11.680000] cfg80211:  DFS Master region: unset
[   11.690000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.700000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.700000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.710000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   11.720000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   11.730000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   11.740000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   11.750000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   11.750000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   11.820000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   11.820000] ath10k_pci 0000:01:00.0: pci irq legacy interrupts 0 irq_mode 0 reset_mode 0
[   11.880000] Data bus error, epc == 87bd1128, ra == 87bd1128
[   11.880000] Oops[#1]:
[   11.880000] CPU: 0 PID: 626 Comm: kmodloader Not tainted 3.18.20 #1
[   11.880000] task: 87be09b0 ti: 87bb0000 task.ti: 87bb0000
[   11.880000] $ 0   : 00000000 00000000 deadc0de 87121704
[   11.880000] $ 4   : b2009030 0002bb38 00000196 ffff00fe
[   11.880000] $ 8   : 00000010 80064f40 00000000 001f0040
[   11.880000] $12   : 00000003 770fa3a0 0000000b 7718b3d0
[   11.880000] $16   : 87065720 00000000 00000000 ffff909f
[   11.880000] $20   : 80350000 ffffffff 87066ef4 87bd1284
[   11.880000] $24   : 7717c000 8006de4c                  
[   11.880000] $28   : 87bb0000 87bb1bc8 00000007 87bd1128
[   11.880000] Hi    : 00000196
[   11.880000] Lo    : 2a840000
[   11.880000] epc   : 87bd1128 0x87bd1128 [ath10k_pci@87bd0000+0x5370]
[   11.880000]     Not tainted
[   11.880000] ra    : 87bd1128 0x87bd1128 [ath10k_pci@87bd0000+0x5370]
[   11.880000] Status: 1100fc03	KERNEL EXL IE 
[   11.880000] Cause : 0080001c
[   11.880000] PrId  : 00019750 (MIPS 74Kc)
[   11.880000] Modules linked in: ath10k_pci(+) ath10k_core ath mac80211 cfg80211 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ipv6 arc4 crypto_blkcipher ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   11.880000] Process kmodloader (pid: 626, threadinfo=87bb0000, task=87be09b0, tls=77b0d440)
[   11.880000] Stack : 87bd1284 87bd0e84 87bd487c 87bd485c 87bd0000 87065720 00000001 87bd487c
	  87bd485c 87bd0000 8786c400 87bd1ac0 00000000 801e9864 871fe480 80359ee4
	  87bd1f30 87065720 00000001 87bd1be8 87065720 800a62b8 87065860 87107be8
	  8786c400 87066ef4 87065720 87bd0000 87065720 00000000 87bd0000 87066c4c
	  87bd0f90 87bd2660 87055af0 87055b90 87bd4958 00000000 87bd4abc 87065720
	  ...
[   11.880000] Call Trace:[<87bd1284>] 0x87bd1284 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<87bd0e84>] 0x87bd0e84 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<87bd0000>] 0x87bd0000 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<87bd0000>] 0x87bd0000 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<87bd1ac0>] 0x87bd1ac0 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<801e9864>] 0x801e9864
[   11.880000] [<87bd1f30>] 0x87bd1f30 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<87bd1be8>] 0x87bd1be8 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<800a62b8>] 0x800a62b8
[   11.880000] [<87107be8>] 0x87107be8 [ath10k_core@87100000+0x288c0]
[   11.880000] [<87bd0000>] 0x87bd0000 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<87bd0000>] 0x87bd0000 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<87bd0f90>] 0x87bd0f90 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<87bd2660>] 0x87bd2660 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<801c7774>] 0x801c7774
[   11.880000] [<801ec6c4>] 0x801ec6c4
[   11.880000] [<801ecce8>] 0x801ecce8
[   11.880000] [<801a5bec>] 0x801a5bec
[   11.880000] [<801ecf14>] 0x801ecf14
[   11.880000] [<801eb178>] 0x801eb178
[   11.880000] [<801ece98>] 0x801ece98
[   11.880000] [<801eb230>] 0x801eb230
[   11.880000] [<802ecca4>] 0x802ecca4
[   11.880000] [<801eb008>] 0x801eb008
[   11.880000] [<801ec418>] 0x801ec418
[   11.880000] [<800909c4>] 0x800909c4
[   11.880000] [<801a3480>] 0x801a3480
[   11.880000] [<801ed3ec>] 0x801ed3ec
[   11.880000] [<8009eb70>] 0x8009eb70
[   11.880000] [<80090a3c>] 0x80090a3c
[   11.880000] [<87bd7000>] 0x87bd7000 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<87bd702c>] 0x87bd702c [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<800ee3cc>] 0x800ee3cc
[   11.880000] [<87bd7000>] 0x87bd7000 [ath10k_pci@87bd0000+0x5370]
[   11.880000] [<800694d4>] 0x800694d4
[   11.880000] [<800cbc44>] 0x800cbc44
[   11.880000] [<800ef83c>] 0x800ef83c
[   11.880000] [<800ef914>] 0x800ef914
[   11.880000] [<800be398>] 0x800be398
[   11.880000] [<800ef604>] 0x800ef604
[   11.880000] [<800bc1a0>] 0x800bc1a0
[   11.880000] [<800efd38>] 0x800efd38
[   11.880000] [<800be6a4>] 0x800be6a4
[   11.880000] [<800efe10>] 0x800efe10
[   11.880000] [<800be6a4>] 0x800be6a4
[   11.880000] [<800be704>] 0x800be704
[   11.880000] [<80062b5c>] 0x80062b5c
[   11.880000] 
[   11.880000] 
Code: 8e041538  0c06e458  00822021 <14550007> 00408821  8e82db8c  00531023  0440fff4  00000000 
[   12.270000] ---[ end trace b3da82b176d1e051 ]---
[   19.350000] jffs2: notice: (959) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   21.080000] eth1: link up (1000Mbps/Full duplex)
[   21.090000] device eth1 entered promiscuous mode
[   21.090000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   21.160000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.140000] br-lan: port 1(eth1) entered forwarding state
[   22.140000] br-lan: port 1(eth1) entered forwarding state
[   22.150000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   22.710000] eth0: link up (1000Mbps/Full duplex)
[   22.710000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.140000] br-lan: port 1(eth1) entered forwarding state
[   24.710000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
[   79.420000] random: nonblocking pool is initialized
0 Likes

#3

v17.01.0 r3205 (doesn't work)

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1e)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 4.4.50 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Mon Feb 20 17:13:44 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=ARCHER-C7  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125328K/131072K available (3071K kernel code, 165K rwdata, 412K rodata, 312K init, 205K bss, 5744K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008281] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.071186] pid_max: default: 32768 minimum: 301
[    0.076196] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083240] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092544] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103900] NET: Registered protocol family 16
[    0.109609] MIPS: machine is TP-LINK Archer C7
[    0.117471] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.122935] registering PCI controller with io_map_base unset
[    0.129182] registering PCI controller with io_map_base unset
[    0.576520] PCI host bridge to bus 0000:00
[    0.580921] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.588227] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.594159] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.601374] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.609939] PCI host bridge to bus 0000:01
[    0.614295] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.621623] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.627547] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.634771] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.643621] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.651441] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.659131] pci 0000:01:00.0: using irq 41 for pin 1
[    0.664978] clocksource: Switched to clocksource MIPS
[    0.671187] NET: Registered protocol family 2
[    0.676571] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.683993] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.690799] TCP: Hash tables configured (established 1024 bind 1024)
[    0.697634] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.703853] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.710736] NET: Registered protocol family 1
[    0.718920] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.725494] Crashlog allocated RAM at address 0x3f00000
[    0.742519] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.748759] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.761087] io scheduler noop registered
[    0.765297] io scheduler deadline registered (default)
[    0.770937] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.779888] console [ttyS0] disabled
[    0.803758] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.812937] console [ttyS0] enabled
[    0.812937] console [ttyS0] enabled
[    0.820354] bootconsole [early0] disabled
[    0.820354] bootconsole [early0] disabled
[    0.832605] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.838314] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.844266] 5 tp-link partitions found on MTD device spi0.0
[    0.849957] Creating 5 MTD partitions on "spi0.0":
[    0.854819] 0x000000000000-0x000000020000 : "u-boot"
[    0.860951] 0x000000020000-0x000000152e1c : "kernel"
[    0.867265] 0x000000152e1c-0x0000007f0000 : "rootfs"
[    0.873526] mtd: device 2 (rootfs) set to be root filesystem
[    0.879367] 1 squashfs-split partitions found on MTD device rootfs
[    0.885650] 0x0000003d0000-0x0000007f0000 : "rootfs_data"
[    0.892384] 0x0000007f0000-0x000000800000 : "art"
[    0.898467] 0x000000020000-0x0000007f0000 : "firmware"
[    0.914086] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    1.542706] libphy: ag71xx_mdio: probed
[    2.136485] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.147793] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.736564] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    2.744480] NET: Registered protocol family 10
[    2.752428] NET: Registered protocol family 17
[    2.757037] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.769921] 8021q: 802.1Q VLAN Support v1.8
[    2.780127] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.788468] Freeing unused kernel memory: 312K (803f2000 - 80440000)
[    3.839410] init: Console is alive
[    3.843015] init: - watchdog -
[    4.931556] usbcore: registered new interface driver usbfs
[    4.937239] usbcore: registered new interface driver hub
[    4.942692] usbcore: registered new device driver usb
[    4.951817] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.959592] ehci-platform: EHCI generic platform driver
[    4.964970] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.971045] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.981308] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    4.987419] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    5.005015] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    5.012218] hub 1-0:1.0: USB hub found
[    5.016344] hub 1-0:1.0: 1 port detected
[    5.020632] ehci-platform ehci-platform.1: EHCI Host Controller
[    5.026708] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    5.036998] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    5.043101] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    5.065004] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    5.072250] hub 2-0:1.0: USB hub found
[    5.076347] hub 2-0:1.0: 1 port detected
[    5.081890] init: - preinit -
[    6.086790] eth1: link up (1000Mbps/Full duplex)
[    6.107688] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.313852] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    8.323897] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.422029] eth1: link down
[    8.433215] procd: - early -
[    8.436728] procd: - watchdog -
[    9.039477] procd: - ubus -
[    9.149854] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.159646] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.169164] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.178325] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.187752] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.196912] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.206203] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.215475] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.224841] procd: - init -
Please press Enter to activate this console.
[    9.540677] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.554691] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[    9.562408] Backport generated by backports.git backports-20160324-9-g0e38f5c
[    9.617612] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[    9.623517] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[    9.680566] Data bus error, epc == 8740a44c, ra == 8740a44c
[    9.686215] Oops[#1]:
[    9.688525] CPU: 0 PID: 499 Comm: kmodloader Not tainted 4.4.50 #0
[    9.694787] task: 87c94000 ti: 87fdc000 task.ti: 87fdc000
[    9.700257] $ 0   : 00000000 80440000 deadc0de 00000000
[    9.705589] $ 4   : b2009030 00009030 00000196 00009034
[    9.710922] $ 8   : 00000010 80065060 00000000 6f646520
[    9.716255] $12   : 00000000 ffffff80 00000000 65203120
[    9.721587] $16   : 00009030 87419460 00000000 803d0000
[    9.726919] $20   : ffff8fbe ffffffff 00000001 8036ef9c
[    9.732252] $24   : 803cc034 8740a3c8                  
[    9.737585] $28   : 87fdc000 87fddb38 00000000 8740a44c
[    9.742919] Hi    : 00000196
[    9.745840] Lo    : 2a840000
[    9.748761] epc   : 8740a44c 0x8740a44c [ath10k_pci@87408000+0x6c10]
[    9.755200] ra    : 8740a44c 0x8740a44c [ath10k_pci@87408000+0x6c10]
[    9.761636] Status: 1100fc03	KERNEL EXL IE 
[    9.765905] Cause : 0080001c (ExcCode 07)
[    9.769972] PrId  : 00019750 (MIPS 74Kc)
[    9.773947] Modules linked in: ath10k_pci(+) ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[    9.798971] Process kmodloader (pid: 499, threadinfo=87fdc000, task=87c94000, tls=77a87d48)
[    9.807430] Stack : 87fdc000 87fddb60 00000000 8740b7b4 1100fc03 00000196 2a840000 87419460
	  00000000 8740b72c 8036ef9c 8740b500 87419460 87419460 87419460 87419460
	  8740e33c 8740e31c 87410000 87c92068 8740d9f8 8740b994 87c92000 801fbbb8
	  874fbe00 8740ac4c 803e0100 00000001 87419460 8740bb5c 87419460 800aa24c
	  00000040 874cbda8 00000000 87419460 87419460 87410000 87419460 00000000
	  ...
[    9.843757] Call Trace:[<8740b7b4>] 0x8740b7b4 [ath10k_pci@87408000+0x6c10]
[    9.850831] [<8740b72c>] 0x8740b72c [ath10k_pci@87408000+0x6c10]
[    9.856920] [<8740b500>] 0x8740b500 [ath10k_pci@87408000+0x6c10]
[    9.863012] [<87410000>] 0x87410000 [ath@87410000+0x42c0]
[    9.868484] [<8740b994>] 0x8740b994 [ath10k_pci@87408000+0x6c10]
[    9.874569] [<801fbbb8>] 0x801fbbb8
[    9.878110] [<8740ac4c>] 0x8740ac4c [ath10k_pci@87408000+0x6c10]
[    9.884199] [<8740bb5c>] 0x8740bb5c [ath10k_pci@87408000+0x6c10]
[    9.890286] [<800aa24c>] 0x800aa24c
[    9.893826] [<874cbda8>] 0x874cbda8 [ath10k_core@874c0000+0x3a950]
[    9.900094] [<87410000>] 0x87410000 [ath@87410000+0x42c0]
[    9.905568] [<8740c2f4>] 0x8740c2f4 [ath10k_pci@87408000+0x6c10]
[    9.911652] [<801fb150>] 0x801fb150
[    9.915194] [<801d8844>] 0x801d8844
[    9.918727] [<801fec30>] 0x801fec30
[    9.922269] [<801ff250>] 0x801ff250
[    9.925803] [<800e5d90>] 0x800e5d90
[    9.929343] [<801ff42c>] 0x801ff42c
[    9.932878] [<801fd670>] 0x801fd670
[    9.936417] [<801ff3b0>] 0x801ff3b0
[    9.939952] [<801fd72c>] 0x801fd72c
[    9.943491] [<8035d0d0>] 0x8035d0d0
[    9.947031] [<8740f000>] 0x8740f000 [ath10k_pci@87408000+0x6c10]
[    9.953117] [<801fd500>] 0x801fd500
[    9.956658] [<801fe958>] 0x801fe958
[    9.960192] [<8009b894>] 0x8009b894
[    9.963737] [<8740f000>] 0x8740f000 [ath10k_pci@87408000+0x6c10]
[    9.969820] [<801ffb44>] 0x801ffb44
[    9.973365] [<8740f000>] 0x8740f000 [ath10k_pci@87408000+0x6c10]
[    9.979459] [<8740f02c>] 0x8740f02c [ath10k_pci@87408000+0x6c10]
[    9.985547] [<80069c3c>] 0x80069c3c
[    9.989084] [<800a1b18>] 0x800a1b18
[    9.992620] [<800928e8>] 0x800928e8
[    9.996160] [<80090808>] 0x80090808
[    9.999698] [<800902f8>] 0x800902f8
[   10.003238] [<800c32fc>] 0x800c32fc
[   10.006772] [<800f96c4>] 0x800f96c4
[   10.010311] [<800c47ac>] 0x800c47ac
[   10.013847] [<800c29a0>] 0x800c29a0
[   10.017387] [<800f9ba0>] 0x800f9ba0
[   10.020922] [<800c49a8>] 0x800c49a8
[   10.024460] [<800c4a44>] 0x800c4a44
[   10.028002] [<80062c2c>] 0x80062c2c
[   10.031539] 
[   10.033045] 
Code: 8e243b44  0c071c84  00902021 <00408021> 92223e05  10400004  02001021  0dd026eb  02202021 
[   10.043197] ---[ end trace 09a1a0f5f54d5397 ]---
[   10.049435] Fatal exception: panic in 5 seconds
[   15.054983] Kernel panic - not syncing: Fatal exception
[   15.061286] Rebooting in 1 seconds..

v18.06.1 (doesn't work)

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1e)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Tue Oct 17 14:59:45 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=ARCHER-C7  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125328K/131072K available (3076K kernel code, 160K rwdata, 412K rodata, 312K init, 205K bss, 5744K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008283] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.071186] pid_max: default: 32768 minimum: 301
[    0.076197] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083237] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092537] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103032] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.110390] NET: Registered protocol family 16
[    0.116124] MIPS: machine is TP-LINK Archer C7
[    0.123931] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.129431] registering PCI controller with io_map_base unset
[    0.135650] registering PCI controller with io_map_base unset
[    0.582303] Can't analyze schedule() prologue at 800670fc
[    0.594964] PCI host bridge to bus 0000:00
[    0.599332] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.606680] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.612605] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.619829] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.628384] PCI host bridge to bus 0000:01
[    0.632765] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.640073] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.646005] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.653218] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.662068] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.669861] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.677572] pci 0000:01:00.0: using irq 41 for pin 1
[    0.683408] clocksource: Switched to clocksource MIPS
[    0.689652] NET: Registered protocol family 2
[    0.695015] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.702439] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.709246] TCP: Hash tables configured (established 1024 bind 1024)
[    0.716077] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.722301] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.729186] NET: Registered protocol family 1
[    0.737371] Crashlog allocated RAM at address 0x3f00000
[    0.754501] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.760701] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.773054] io scheduler noop registered
[    0.777260] io scheduler deadline registered (default)
[    0.782884] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.791817] console [ttyS0] disabled
[    0.815698] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.824878] console [ttyS0] enabled
[    0.824878] console [ttyS0] enabled
[    0.832286] bootconsole [early0] disabled
[    0.832286] bootconsole [early0] disabled
[    0.844611] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.850272] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.856265] 5 tp-link partitions found on MTD device spi0.0
[    0.861918] Creating 5 MTD partitions on "spi0.0":
[    0.866813] 0x000000000000-0x000000020000 : "u-boot"
[    0.872928] 0x000000020000-0x0000001533bc : "kernel"
[    0.879248] 0x0000001533bc-0x0000007f0000 : "rootfs"
[    0.885549] mtd: device 2 (rootfs) set to be root filesystem
[    0.891347] 1 squashfs-split partitions found on MTD device rootfs
[    0.897658] 0x0000003e0000-0x0000007f0000 : "rootfs_data"
[    0.904420] 0x0000007f0000-0x000000800000 : "art"
[    0.910455] 0x000000020000-0x0000007f0000 : "firmware"
[    0.926065] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    1.561718] libphy: ag71xx_mdio: probed
[    2.154914] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.166209] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.754987] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    2.762909] NET: Registered protocol family 10
[    2.770552] NET: Registered protocol family 17
[    2.775159] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.788043] 8021q: 802.1Q VLAN Support v1.8
[    2.799029] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.807355] Freeing unused kernel memory: 312K
[    3.776526] init: Console is alive
[    3.780128] init: - watchdog -
[    4.819432] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.848385] usbcore: registered new interface driver usbfs
[    4.854069] usbcore: registered new interface driver hub
[    4.859537] usbcore: registered new device driver usb
[    4.868553] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.876329] ehci-platform: EHCI generic platform driver
[    4.881706] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.887776] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.898047] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    4.904164] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    4.923442] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.930644] hub 1-0:1.0: USB hub found
[    4.934780] hub 1-0:1.0: 1 port detected
[    4.939063] ehci-platform ehci-platform.1: EHCI Host Controller
[    4.945134] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    4.955433] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    4.961534] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    4.983433] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    4.990667] hub 2-0:1.0: USB hub found
[    4.994768] hub 2-0:1.0: 1 port detected
[    4.999374] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.017069] init: - preinit -
[    6.009123] eth1: link up (1000Mbps/Full duplex)
[    6.030064] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
y^@f&^@[    9.244700] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    9.254806] urandom-seed: Seed file not found (/etc/urandom.seed)
y^@[    9.353342] eth1: link down
[    9.365130] procd: - early -
[    9.368126] procd: - watchdog -
[    9.972514] procd: - watchdog -
[    9.975945] procd: - ubus -
[   10.086554] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.109038] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.118528] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.127739] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.137149] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.146335] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.155609] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.164911] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.174338] procd: - init -
Please press Enter to activate this console.
[   10.484398] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.506944] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.521152] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   10.529322] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   10.584069] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   10.589963] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   10.648991] Data bus error, epc == 8756a460, ra == 8756a460
[   10.654646] Oops[#1]:
[   10.656956] CPU: 0 PID: 500 Comm: kmodloader Not tainted 4.4.92 #0
[   10.663218] task: 87d79e30 ti: 87fd6000 task.ti: 87fd6000
[   10.668688] $ 0   : 00000000 80440000 deadc0de 00000000
[   10.674020] $ 4   : b2009030 00009030 00000196 00009034
[   10.679352] $ 8   : 00000010 800650a0 00000000 6f646520
[   10.684685] $12   : 00000000 ffffff80 00000000 65203120
[   10.690019] $16   : 00009030 874b9460 00000000 803d0000
[   10.695351] $20   : ffff901e ffffffff 00000001 80370040
[   10.700684] $24   : 803cc034 8756a3dc                  
[   10.706016] $28   : 87fd6000 87fd7b38 00000000 8756a460
[   10.711350] Hi    : 00000196
[   10.714271] Lo    : 2a840000
[   10.717191] epc   : 8756a460 0x8756a460 [ath10k_pci@87568000+0x6dd0]
[   10.723632] ra    : 8756a460 0x8756a460 [ath10k_pci@87568000+0x6dd0]
[   10.730067] Status: 1100fc03	KERNEL EXL IE 
[   10.734337] Cause : 0080001c (ExcCode 07)
[   10.738403] PrId  : 00019750 (MIPS 74Kc)
[   10.742378] Modules linked in: ath10k_pci(+) ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   10.767403] Process kmodloader (pid: 500, threadinfo=87fd6000, task=87d79e30, tls=7717dd48)
[   10.775861] Stack : 87fd6000 87fd7b60 00000000 8756b7cc 1100fc03 00000196 2a840000 874b9460
	  00000000 8756b744 80370040 8756b518 874b9460 874b9460 874b9460 874b9460
	  8756e4bc 8756e49c 87570000 87cec068 8756db78 8756b9ac 87cec000 801fc624
	  875bd780 8756ac64 803e00c8 00000001 874b9460 8756bb74 874b9460 800aa470
	  00000040 8758bf68 00000000 874b9460 874b9460 87570000 874b9460 00000000
	  ...
[   10.812188] Call Trace:[<8756b7cc>] 0x8756b7cc [ath10k_pci@87568000+0x6dd0]
[   10.819263] [<8756b744>] 0x8756b744 [ath10k_pci@87568000+0x6dd0]
[   10.825351] [<8756b518>] 0x8756b518 [ath10k_pci@87568000+0x6dd0]
[   10.831444] [<8756b9ac>] 0x8756b9ac [ath10k_pci@87568000+0x6dd0]
[   10.837536] [<801fc624>] 0x801fc624
[   10.841077] [<8756ac64>] 0x8756ac64 [ath10k_pci@87568000+0x6dd0]
[   10.847166] [<8756bb74>] 0x8756bb74 [ath10k_pci@87568000+0x6dd0]
[   10.853252] [<800aa470>] 0x800aa470
[   10.856793] [<8758bf68>] 0x8758bf68 [ath10k_core@87580000+0x3c2b0]
[   10.863062] [<8756c314>] 0x8756c314 [ath10k_pci@87568000+0x6dd0]
[   10.869154] [<801fbbbc>] 0x801fbbbc
[   10.872694] [<801d9194>] 0x801d9194
[   10.876229] [<801ff6d4>] 0x801ff6d4
[   10.879770] [<801ffcf4>] 0x801ffcf4
[   10.883304] [<800e604c>] 0x800e604c
[   10.886845] [<801ffed0>] 0x801ffed0
[   10.890379] [<801fe11c>] 0x801fe11c
[   10.893918] [<801ffe54>] 0x801ffe54
[   10.897453] [<801fe1d8>] 0x801fe1d8
[   10.900992] [<8035e4bc>] 0x8035e4bc
[   10.904533] [<8756f000>] 0x8756f000 [ath10k_pci@87568000+0x6dd0]
[   10.910619] [<801fdfac>] 0x801fdfac
[   10.914160] [<801ff404>] 0x801ff404
[   10.917694] [<8009baa0>] 0x8009baa0
[   10.921238] [<8756f000>] 0x8756f000 [ath10k_pci@87568000+0x6dd0]
[   10.927322] [<802005e8>] 0x802005e8
[   10.930866] [<8756f000>] 0x8756f000 [ath10k_pci@87568000+0x6dd0]
[   10.936960] [<8756f02c>] 0x8756f02c [ath10k_pci@87568000+0x6dd0]
[   10.943048] [<80069c7c>] 0x80069c7c
[   10.946585] [<800a1d24>] 0x800a1d24
[   10.950122] [<80092ab8>] 0x80092ab8
[   10.953661] [<800909d8>] 0x800909d8
[   10.957200] [<800904c8>] 0x800904c8
[   10.960740] [<800c3558>] 0x800c3558
[   10.964273] [<800f992c>] 0x800f992c
[   10.967812] [<800c4a08>] 0x800c4a08
[   10.971350] [<800c2bfc>] 0x800c2bfc
[   10.974888] [<800f9e08>] 0x800f9e08
[   10.978424] [<800f2e3c>] 0x800f2e3c
[   10.981962] [<800c4c04>] 0x800c4c04
[   10.985499] [<800c4ca0>] 0x800c4ca0
[   10.989041] [<80062c6c>] 0x80062c6c
[   10.992577] 
[   10.994084] 
Code: 8e243b84  0c071ef2  00902021 <00408021> 92223e45  10400004  02001021  0dd5a6ed  02202021 
[   11.004239] ---[ end trace 804bc45f84034d1a ]---
[   11.010486] Fatal exception: panic in 5 seconds
0 Likes

#4

"Data bus error" doesn't look good to me.

For comparison, here's a "current" section of the log from April, 2018 master
(The "Direct firmware load" warnings are perhaps over-stated, as they are "normal" as the driver tries various sources for the firmware.)

Edit: In retrospect, this is a log from an Archer C7 V2, not a V1. As pointed out later, the V1 has a different 5 GHz wireless chip revision, which is not supported by common Linux drivers.

2018 Aug 20 19:35:49 office warning kernel: [   12.699976] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
2018 Aug 20 19:35:49 office info kernel: [   12.705907] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
2018 Aug 20 19:35:49 office warning kernel: [   12.984516] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
2018 Aug 20 19:35:49 office warning kernel: [   12.995403] ath10k_pci 0000:01:00.0: Falling back to user helper
2018 Aug 20 19:35:49 office err kernel: [   13.102859] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
2018 Aug 20 19:35:49 office warning kernel: [   13.113382] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
2018 Aug 20 19:35:49 office warning kernel: [   13.124270] ath10k_pci 0000:01:00.0: Falling back to user helper
2018 Aug 20 19:35:49 office err kernel: [   13.254914] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
2018 Aug 20 19:35:49 office info kernel: [   13.268340] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
2018 Aug 20 19:35:49 office info kernel: [   13.277739] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
2018 Aug 20 19:35:49 office info kernel: [   13.290753] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00033 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c41417d0
2018 Aug 20 19:35:49 office warning kernel: [   13.389542] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
2018 Aug 20 19:35:49 office warning kernel: [   13.400179] ath10k_pci 0000:01:00.0: Falling back to user helper
2018 Aug 20 19:35:49 office err kernel: [   13.472536] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
2018 Aug 20 19:35:49 office info kernel: [   13.489172] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
2018 Aug 20 19:35:49 office info kernel: [   14.652925] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
2018 Aug 20 19:35:49 office debug kernel: [   14.793870] ath: EEPROM regdomain: 0x0
2018 Aug 20 19:35:49 office debug kernel: [   14.793877] ath: EEPROM indicates default country code should be used
2018 Aug 20 19:35:49 office debug kernel: [   14.793880] ath: doing EEPROM country->regdmn map search
2018 Aug 20 19:35:49 office debug kernel: [   14.793891] ath: country maps to regdmn code: 0x3a
2018 Aug 20 19:35:49 office debug kernel: [   14.793895] ath: Country alpha2 being used: US
2018 Aug 20 19:35:49 office debug kernel: [   14.793898] ath: Regpair used: 0x3a
2018 Aug 20 19:35:49 office debug kernel: [   14.918069] ath: EEPROM regdomain: 0x0
2018 Aug 20 19:35:49 office debug kernel: [   14.918076] ath: EEPROM indicates default country code should be used
2018 Aug 20 19:35:49 office debug kernel: [   14.918079] ath: doing EEPROM country->regdmn map search
2018 Aug 20 19:35:49 office debug kernel: [   14.918091] ath: country maps to regdmn code: 0x3a
2018 Aug 20 19:35:49 office debug kernel: [   14.918095] ath: Country alpha2 being used: US
2018 Aug 20 19:35:49 office debug kernel: [   14.918098] ath: Regpair used: 0x3a
2018 Aug 20 19:35:49 office debug kernel: [   14.934423] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
2018 Aug 20 19:35:49 office info kernel: [   14.937562] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
0 Likes

#5

In case it's helpful, I thought I should also note that the ath10k stuff still isn't right in 15.05.1 as ifconfig -a doesn't show any wlan0 and I see the message below in the log. It does, nonetheless, boot.

[   11.720000] NET: Registered protocol family 10
[   11.730000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.740000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   11.750000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   11.780000] cfg80211: Calling CRDA to update world regulatory domain
[   11.820000] cfg80211: World regulatory domain updated:
[   11.820000] cfg80211:  DFS Master region: unset
[   11.830000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.840000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.840000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   11.850000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   11.860000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   11.870000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   11.880000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   11.890000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   11.900000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   11.940000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   11.940000] ath10k_pci 0000:01:00.0: pci irq legacy interrupts 0 irq_mode 0 reset_mode 0
[   12.000000] Data bus error, epc == 87001128, ra == 87001128
[   12.000000] Oops[#1]:
[   12.000000] CPU: 0 PID: 627 Comm: kmodloader Not tainted 3.18.23 #1
[   12.000000] task: 87b2c000 ti: 87b8c000 task.ti: 87b8c000
[   12.000000] $ 0   : 00000000 00000000 deadc0de 871616f4
[   12.000000] $ 4   : b2009030 0002bb38 00000196 ffff00fe
[   12.000000] $ 8   : 00000010 80064f40 00000000 ffffff80
[   12.000000] $12   : 0000000e 00000007 00000001 80346340
[   12.000000] $16   : 8716d720 00000000 00000000 ffff90ab
[   12.000000] $20   : 80370000 ffffffff 8716eef4 87001284
[   12.000000] $24   : 0000000e 8006ded8                  
[   12.000000] $28   : 87b8c000 87b8dbc8 00000007 87001128
[   12.000000] Hi    : 00000196
[   12.000000] Lo    : 2a840000
[   12.000000] epc   : 87001128 0x87001128
[   12.000000]     Not tainted
[   12.000000] ra    : 87001128 0x87001128
[   12.000000] Status: 1100fc03	KERNEL EXL IE 
[   12.000000] Cause : 0080001c
[   12.000000] PrId  : 00019750 (MIPS 74Kc)
[   12.000000] Modules linked in: ath10k_pci(+) ath10k_core ath mac80211 cfg80211 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ipv6 arc4 crypto_blkcipher ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   12.000000] Process kmodloader (pid: 627, threadinfo=87b8c000, task=87b2c000, tls=77c83440)
[   12.000000] Stack : 87001284 87000e84 8700487c 8700485c 87000000 8716d720 00000001 8700487c
	  8700485c 87000000 8788e400 87001ac0 00000000 801e2fe8 87138a00 80381fc4
	  87001f30 8716d720 00000001 87001be8 8716d720 800a65e0 8716d860 87147be8
	  8788e400 8716eef4 8716d720 87000000 8716d720 00000000 87000000 8716ec4c
	  87000f90 87002660 870c8d20 870c8dc0 87004958 00000000 87004abc 8716d720
	  ...
[   12.000000] Call Trace:
[   12.000000] [<87001128>] 0x87001128
[   12.000000] 
[   12.000000] 
Code: 8e041538  0c06ca2a  00822021 <14550007> 00408821  8e825b8c  00531023  0440fff4  00000000 
[   12.180000] ---[ end trace 73e21559830851ab ]---
U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
e[6~ath_gmac_enet_initialize: reset mask:c02200 
e[6~Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
Feth0: ba:be:fa:ce:08:41
Feth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.66; our IP address is 192.168.1.86
Filename 'ArcherC7v1_tp_recovery.bin'.
Load address: 0x80060000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ############################
done
Bytes transferred = 8126464 (7c0000 hex)
original_product_id = 75000001
 original_product_ver = 01
 recovery_product_id = 75000001
 recovery_product_ver = 01
 auto update firmware: product id verify sucess!
Firmware recovery: product id verify sucess!
Firmware recovery: FLASH_SIZE = 8 filesize = 0x7c0000.
Erasing flash... 
First 0x2 last 0x7d sector size 0x10000
 125
Erased 124 sectors
Copy to Flash... write addr: 9f020000
done

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 18:39:35 CET 2016
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=ARCHER-C7  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125788K/131072K available (2586K kernel code, 128K rwdata, 540K rodata, 256K init, 193K bss, 5284K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] NET: Registered protocol family 16
[    0.080000] MIPS: machine is TP-LINK Archer C7
[    0.080000] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.090000] registering PCI controller with io_map_base unset
[    0.090000] registering PCI controller with io_map_base unset
[    0.540000] PCI host bridge to bus 0000:00
[    0.550000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.550000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.560000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.560000] PCI host bridge to bus 0000:01
[    0.570000] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.570000] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.580000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.580000] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.590000] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.590000] pci 0000:01:00.0: using irq 41 for pin 1
[    0.600000] Switched to clocksource MIPS
[    0.600000] NET: Registered protocol family 2
[    0.610000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.610000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.620000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.620000] TCP: reno registered
[    0.630000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.640000] NET: Registered protocol family 1
[    0.640000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.660000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.660000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.670000] msgmni has been set to 245
[    0.670000] io scheduler noop registered
[    0.680000] io scheduler deadline registered (default)
[    0.680000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
�[    0.720000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.720000] console [ttyS0] enabled
[    0.720000] console [ttyS0] enabled
[    0.730000] bootconsole [early0] disabled
[    0.730000] bootconsole [early0] disabled
[    0.740000] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.750000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.750000] 5 tp-link partitions found on MTD device spi0.0
[    0.760000] Creating 5 MTD partitions on "spi0.0":
[    0.760000] 0x000000000000-0x000000020000 : "u-boot"
[    0.770000] 0x000000020000-0x00000013f5f4 : "kernel"
[    0.770000] 0x00000013f5f4-0x0000007f0000 : "rootfs"
[    0.780000] mtd: device 2 (rootfs) set to be root filesystem
[    0.780000] 1 squashfs-split partitions found on MTD device rootfs
[    0.790000] 0x0000003b0000-0x0000007f0000 : "rootfs_data"
[    0.800000] 0x0000007f0000-0x000000800000 : "art"
[    0.800000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.830000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    0.920000] libphy: ag71xx_mdio: probed
[    1.520000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    1.530000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.120000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    2.120000] TCP: cubic registered
[    2.130000] NET: Registered protocol family 17
[    2.130000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.140000] Bridge firewalling registered
[    2.150000] 8021q: 802.1Q VLAN Support v1.8
[    2.160000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.170000] Freeing unused kernel memory: 256K (80390000 - 803d0000)
[    3.280000] init: Console is alive
[    3.290000] init: - watchdog -
[    4.620000] usbcore: registered new interface driver usbfs
[    4.630000] usbcore: registered new interface driver hub
[    4.630000] usbcore: registered new device driver usb
[    4.640000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.650000] ehci-platform: EHCI generic platform driver
[    4.650000] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.660000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.670000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    4.680000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    4.700000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.700000] hub 1-0:1.0: USB hub found
[    4.710000] hub 1-0:1.0: 1 port detected
[    4.710000] ehci-platform ehci-platform.1: EHCI Host Controller
[    4.720000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    4.730000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    4.730000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    4.760000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    4.760000] hub 2-0:1.0: USB hub found
[    4.770000] hub 2-0:1.0: 1 port detected
[    5.330000] init: - preinit -
[    6.020000] eth1: link up (1000Mbps/Full duplex)
[    6.040000] random: procd urandom read with 9 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    9.260000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
6+0 records in
6+0 records out
2104+0 records in
2104+0 records out
[    9.350000] eth1: link down
[    9.360000] procd: - early -
[    9.360000] procd: - watchdog -
[   10.120000] procd: - ubus -
[   11.140000] procd: - init -
Please press Enter to activate this console.
[   11.720000] NET: Registered protocol family 10
[   11.730000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.740000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   11.750000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   11.780000] cfg80211: Calling CRDA to update world regulatory domain
[   11.820000] cfg80211: World regulatory domain updated:
[   11.820000] cfg80211:  DFS Master region: unset
[   11.830000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.840000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.840000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   11.850000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   11.860000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   11.870000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   11.880000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   11.890000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   11.900000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   11.940000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   11.940000] ath10k_pci 0000:01:00.0: pci irq legacy interrupts 0 irq_mode 0 reset_mode 0
[   12.000000] Data bus error, epc == 87001128, ra == 87001128
[   12.000000] Oops[#1]:
[   12.000000] CPU: 0 PID: 627 Comm: kmodloader Not tainted 3.18.23 #1
[   12.000000] task: 87b2c000 ti: 87b8c000 task.ti: 87b8c000
[   12.000000] $ 0   : 00000000 00000000 deadc0de 871616f4
[   12.000000] $ 4   : b2009030 0002bb38 00000196 ffff00fe
[   12.000000] $ 8   : 00000010 80064f40 00000000 ffffff80
[   12.000000] $12   : 0000000e 00000007 00000001 80346340
[   12.000000] $16   : 8716d720 00000000 00000000 ffff90ab
[   12.000000] $20   : 80370000 ffffffff 8716eef4 87001284
[   12.000000] $24   : 0000000e 8006ded8                  
[   12.000000] $28   : 87b8c000 87b8dbc8 00000007 87001128
[   12.000000] Hi    : 00000196
[   12.000000] Lo    : 2a840000
[   12.000000] epc   : 87001128 0x87001128
[   12.000000]     Not tainted
[   12.000000] ra    : 87001128 0x87001128
[   12.000000] Status: 1100fc03	KERNEL EXL IE 
[   12.000000] Cause : 0080001c
[   12.000000] PrId  : 00019750 (MIPS 74Kc)
[   12.000000] Modules linked in: ath10k_pci(+) ath10k_core ath mac80211 cfg80211 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ipv6 arc4 crypto_blkcipher ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   12.000000] Process kmodloader (pid: 627, threadinfo=87b8c000, task=87b2c000, tls=77c83440)
[   12.000000] Stack : 87001284 87000e84 8700487c 8700485c 87000000 8716d720 00000001 8700487c
	  8700485c 87000000 8788e400 87001ac0 00000000 801e2fe8 87138a00 80381fc4
	  87001f30 8716d720 00000001 87001be8 8716d720 800a65e0 8716d860 87147be8
	  8788e400 8716eef4 8716d720 87000000 8716d720 00000000 87000000 8716ec4c
	  87000f90 87002660 870c8d20 870c8dc0 87004958 00000000 87004abc 8716d720
	  ...
[   12.000000] Call Trace:
[   12.000000] [<87001128>] 0x87001128
[   12.000000] 
[   12.000000] 
Code: 8e041538  0c06ca2a  00822021 <14550007> 00408821  8e825b8c  00531023  0440fff4  00000000 
[   12.180000] ---[ end trace 73e21559830851ab ]---
[   18.740000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   18.740000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   18.750000] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   21.600000] eth1: link up (1000Mbps/Full duplex)
[   21.600000] device eth1 entered promiscuous mode
[   21.630000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   21.740000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.600000] br-lan: port 1(eth1) entered forwarding state
[   22.600000] br-lan: port 1(eth1) entered forwarding state
[   22.640000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   22.910000] eth0: link up (1000Mbps/Full duplex)
[   22.910000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.600000] br-lan: port 1(eth1) entered forwarding state
[   24.910000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
[   37.780000] done.
[   37.780000] jffs2: notice: (964) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   79.370000] random: nonblocking pool is initialized
0 Likes

#6

Is that also a v1 device (same hardware)?

0 Likes

#7

I'm don't have physical access to it right now so I can't confirm if it is v1 or v1.1 of the Archer C7

Edit: Based on @lucize later comment on no 5 GHz support for v1.x, I will have to check the version of my unit later.

Edit: Looking at the Archer C7 page, my units have to be v2, as they have 16 MB of flash.

My apologies to @jacobq in not realizing this.

0 Likes

#8

Is this recent commit related?

0 Likes

#9

The firmware I'm using and, I believe, those of "official" releases, are on the ar71xx target. The commit you linked appears to be on the ath79 target, which is still under development for v18

Edit:

I'm guessing you've got a hardware failure. It might be that the daughterboard is somehow loose in its socket. See, for some photos, https://www.microcontrollertips.com/teardown-inside-tp-link-archer-c7-wireless-router/

0 Likes

#10

That would explain the "PCIe WLAN Module not found" warning, but I don't understand why the unit works with the old versions though. I just found this comment, and although it's not exactly the same case, the old (2017 snapshot) version mentioned boots (and ipconfig -a shows wlan0).

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
��.��0���C!]Á*low, high) = (Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
�dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.66; our IP address is 192.168.1.86
Filename 'ArcherC7v1_tp_recovery.bin'.
Load address: 0x80060000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ############################
done
Bytes transferred = 8126464 (7c0000 hex)
original_product_id = 75000001
 original_product_ver = 01
 recovery_product_id = 75000001
 recovery_product_ver = 01
 auto update firmware: product id verify sucess!
Firmware recovery: product id verify sucess!
Firmware recovery: FLASH_SIZE = 8 filesize = 0x7c0000.
Erasing flash... 
First 0x2 last 0x7d sector size 0x10000
 125
Erased 124 sectors
Copy to Flash... write addr: 9f020000
done

U-Boot 1.1.4 (Jun 25 2014 - 17:27:33)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
Scorpion  ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x50a1214f
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 4.4.14 (buildbot@owrtbuild01) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 12009) ) #1 Wed Dec 6 23:56:36 UTC 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=ARCHER-C7  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 124880K/131072K available (3134K kernel code, 174K rwdata, 784K rodata, 316K init, 206K bss, 6192K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008281] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.071179] pid_max: default: 32768 minimum: 301
[    0.076183] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083229] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092696] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.104147] NET: Registered protocol family 16
[    0.109961] MIPS: machine is TP-LINK Archer C7
[    0.117812] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.123280] registering PCI controller with io_map_base unset
[    0.129527] registering PCI controller with io_map_base unset
[    0.577133] PCI host bridge to bus 0000:00
[    0.581533] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.588841] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.594772] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.601988] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.610553] PCI host bridge to bus 0000:01
[    0.614910] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.622244] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.628171] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.635393] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.644224] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.652038] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.659729] pci 0000:01:00.0: using irq 41 for pin 1
[    0.665705] clocksource: Switched to clocksource MIPS
[    0.672098] NET: Registered protocol family 2
[    0.677465] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.684882] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.691690] TCP: Hash tables configured (established 1024 bind 1024)
[    0.698522] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.704745] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.711673] NET: Registered protocol family 1
[    0.717175] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.737276] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.743492] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.755806] io scheduler noop registered
[    0.759987] io scheduler deadline registered (default)
[    0.765669] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.774562] console [ttyS0] disabled
[    0.798443] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.807623] console [ttyS0] enabled
[    0.807623] console [ttyS0] enabled
[    0.815031] bootconsole [early0] disabled
[    0.815031] bootconsole [early0] disabled
[    0.827629] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.833290] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.839244] 5 tp-link partitions found on MTD device spi0.0
[    0.844900] Creating 5 MTD partitions on "spi0.0":
[    0.849798] 0x000000000000-0x000000020000 : "u-boot"
[    0.855957] 0x000000020000-0x000000175508 : "kernel"
[    0.862193] 0x000000175508-0x0000007f0000 : "rootfs"
[    0.868477] mtd: device 2 (rootfs) set to be root filesystem
[    0.874275] 1 squashfs-split partitions found on MTD device rootfs
[    0.880585] 0x000000360000-0x0000007f0000 : "rootfs_data"
[    0.887299] 0x0000007f0000-0x000000800000 : "art"
[    0.893289] 0x000000020000-0x0000007f0000 : "firmware"
[    0.910609] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    1.003663] libphy: ag71xx_mdio: probed
[    1.597211] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    1.608505] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.197295] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    2.205327] NET: Registered protocol family 10
[    2.213077] NET: Registered protocol family 17
[    2.217686] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.230533] Bridge firewalling registered
[    2.234709] 8021q: 802.1Q VLAN Support v1.8
[    2.246742] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.255034] Freeing unused kernel memory: 316K (80461000 - 804b0000)
[    3.451808] init: Console is alive
[    3.455420] init: - watchdog -
[    4.449533] usbcore: registered new interface driver usbfs
[    4.455184] usbcore: registered new interface driver hub
[    4.460677] usbcore: registered new device driver usb
[    4.470062] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.477923] ehci-platform: EHCI generic platform driver
[    4.483305] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.489375] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.499649] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    4.505763] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    4.525739] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.533013] hub 1-0:1.0: USB hub found
[    4.537100] hub 1-0:1.0: 1 port detected
[    4.541380] ehci-platform ehci-platform.1: EHCI Host Controller
[    4.547453] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    4.557745] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    4.563847] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    4.585728] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    4.592989] hub 2-0:1.0: USB hub found
[    4.597080] hub 2-0:1.0: 1 port detected
[    4.603410] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.610846] ohci-platform: OHCI generic platform driver
[    4.620066] init: - preinit -
[    5.114471] eth1: link up (1000Mbps/Full duplex)
[    5.134606] random: procd urandom read with 8 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.229908] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    8.256052] eth1: link down
[    8.267793] procd: - early -
[    8.270799] procd: - watchdog -
[    8.891891] procd: - ubus -
[    8.946708] procd: - init -
Please press Enter to activate this console.
[    9.459726] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.476783] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[    9.484466] Backport generated by backports.git backports-20160216-0-ge3c56e4
[    9.494414] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.508314] nf_conntrack version 0.5.0 (1956 buckets, 7824 max)
[    9.542014] xt_time: kernel timezone is -0000
[    9.594493] PPP generic driver version 2.4.2
[    9.600997] NET: Registered protocol family 24
[    9.658007] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[   15.807316] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   15.835736] jffs2_build_filesystem(): unlocking the mtd device... done.
[   15.842449] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   18.960968] eth1: link up (1000Mbps/Full duplex)
[   18.996171] device eth1 entered promiscuous mode
[   19.022600] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   19.101824] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   19.955762] br-lan: port 1(eth1) entered forwarding state
[   19.961284] br-lan: port 1(eth1) entered forwarding state
[   19.998840] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   20.867145] eth0: link up (1000Mbps/Full duplex)
[   20.871963] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.955723] br-lan: port 1(eth1) entered forwarding state
[   38.411324] done.
[   38.413310] jffs2: notice: (996) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
0 Likes

#11

I've seen that during bootloader phase on a "good" unit:

U-Boot 1.1.4 (Apr 24 2015 - 13:53:04)

ap135 - Scorpion 1.0DRAM:  
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x3, 0x1e)
Tap values = (0x10, 0x10, 0x10, 0x10)
128 MB
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

*** Warning *** : PCIe WLAN Module not found !!!
In:    serial
Out:   serial
Err:   serial
[...]
0 Likes

#12

Just tried removing & re-seating the PCIe module. Note 1: When the module is removed a second "PCIe WLAN Module not found" warning message will appear right by the previous one. Note 2: The screws holding the module in position use nuts on the bottom side, which are a bit annoying to re-assemble if you let them fall off.

0 Likes

#13

from what I remember, C7 V1 ath10k is not supported in openwrt

For the Archer C7 v1.x and WDR7500 v2.x, the 5GHz 802.11a/n/ac functionality is not supported, and likely will never be, since support for the AR1A (v1) variant of QCA9880 chip is not included in the open source ath10k driver. The Archer C7 v2.x uses the BR4A (v2) variant which is supported in ath10k ath10k Linux

1 Like

#14

No support for 5GHz is fine as long as the 2.4GHz wi-fi still works. Mostly I just want it to not crash. Is there something that should be done to disable the unsupported stuff for C7 v1.0? Is this what is causing the boot failure / panic?

0 Likes

#15

just disable the ath10k driver

0 Likes

#16

Could you provide more details on how to do that? The system does not boot. Do I need to compile my own build with custom options or is there some way to do it at run time (or modify the image)?

0 Likes

#17

Use the Image Builder to make an image without kmod-ath10k (ath10k firmware can also be removed).

It appears you have hardware failure in the 5 GHz radio, you're saying that 15.05 doesn't completely crash but still there's no 5 GHz.

Have you tried booting without the PCI card installed? That may cause ath10k to stop in a graceful way so that booting completes.

The C7V2 is a popular model-- one that is commonly recommended for its excellent OpenWrt compatibility. A lot of other people would have complained if there was something wrong with the releases that it wouldn't work on good hardware.

Of course know for sure what version you have (I think the conclusion has been reached that it is V2, this should be shown on the nameplate sticker) and use the matching build.

0 Likes

#18

The OP's device is a V1 with 8 MB flash and apparently the older, unsupported revision of the 5 GHz wireless hardware.

The confusion around V2 is purely in reference to my units and no fault or question of the OP's

0 Likes

#19

How can I be sure there is a hardware problem? I believe it works fine with TP-link factory firmware (used to), but I can't seem to restore factory firmware to confirm. Know any alternative ways to load firmware other than TFTP?

Later when I have time to pull the cover off again and monkey with this I can try booting w/o the 5GHz radio installed, but I think I like the idea of disabling the driver better (though I'm not sure how much effort it will take for me to get the build stuff set up).

BTW, the hardware is definitely v1.0. I bought it new in 2015, so I'm pretty sure no one changed the sticker or guts :wink:

0 Likes

#20

My apologoies...

No worries! I appreciate you taking the time to read my post and share your thoughts. I need all the help I can get.

1 Like