BT Home Hub 5a - 5GHz radio fails

I installed trunk on a bthh5a that had not had an update for a year or so. The 5Ghz radio does not appear. Most likely I messed up the caldata (I did not use the 'migrate' to update to latest lede).

Two Questions:

Q1. I see in the Device Tree File that the 5Ghz radio appears to be disabled, could that explain it?

	wifi@168c,002d {
	compatible = "pci168c,002d";
	reg = <0x7000 0 0 0 0>;
	qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
	qca,disable-5ghz;

Q2. The syslog error I see is:

Sun Jan  7 22:43:00 2018 kern.info kernel: [    0.314842] PCI host bridge /fpi@10000000/pci@E105400 ranges:
Sun Jan  7 22:43:00 2018 kern.info kernel: [    0.320525]  MEM 0x0000000018000000..0x0000000019ffffff
Sun Jan  7 22:43:00 2018 kern.info kernel: [    0.325781]   IO 0x000000001ae00000..0x000000001affffff
Sun Jan  7 22:43:00 2018 kern.notice kernel: [    0.536502] random: fast init done
Sun Jan  7 22:43:00 2018 kern.err kernel: [    0.547294] ifx_pcie_wait_phy_link_up timeout
Sun Jan  7 22:43:00 2018 kern.err kernel: [    0.764046] ifx_pcie_wait_phy_link_up timeout
Sun Jan  7 22:43:00 2018 kern.err kernel: [    0.980819] ifx_pcie_wait_phy_link_up timeout
Sun Jan  7 22:43:00 2018 kern.err kernel: [    1.197579] ifx_pcie_wait_phy_link_up timeout
Sun Jan  7 22:43:00 2018 kern.err kernel: [    1.414354] ifx_pcie_wait_phy_link_up timeout
Sun Jan  7 22:43:00 2018 kern.err kernel: [    1.418574] pcie_rc_initialize link up failed!!!!!

From google, I suspect caldata is messed up. I have backup caldata for several different bthh5a boxes but I'd have to solder up the board and try the backups one by one to find the right one.

I wonder if it is possible to try the caldatas on the fly by having lede read them from the file system by using something like:

mv /mnt/hh5a-caldata-backup /lib/firmware/ath10k/pre-cal-pci0000:01/0000:01:00.0/0000:02:00.0.bin

It appears that Ath9k radio does this, can I replicate it for the ath10k?

Thank you in anticipation.

Hi,

Just checking if you solved this one?

I'm having the same issue, I have a working 2.4GHz radio but no 5GHz radio after upgrading to the latest OpenWRT. I have tried restoring stock firmware and then upgrading but it didn't help.
lsmod output:

ath                    19024  4 ath10k_core,ath9k,ath9k_common,ath9k_hw
ath10k_core           380272  1 ath10k_pci
ath10k_pci             35440  0 
ath9k                  95984  0 
ath9k_common           11264  1 ath9k
ath9k_hw              344064  2 ath9k,ath9k_common
atm                    37280  2 pppoatm,br2684
br2684                  7376  0 
cdc_ether               5056  1 rndis_host
cfg80211              226112  5 ath10k_core,ath9k,ath9k_common,ath,mac80211
compat                  5952  4 ath9k,ath9k_common,mac80211,cfg80211
crc_ccitt                992  1 ppp_async
drv_dsl_cpe_api       148272  0 
drv_ifxos              12000  2 drv_dsl_cpe_api,drv_mei_cpe
drv_mei_cpe           140704  1 drv_dsl_cpe_api
dwc2                   78368  0 
gpio_button_hotplug     6848  0 
ip_tables              11024  4 iptable_nat,iptable_mangle,iptable_filter
ip6_tables             10752 24 ip6table_mangle,ip6table_filter
ip6t_REJECT             1024  2 
ip6table_filter          640  1 
ip6table_mangle         1184  1 
ipt_MASQUERADE           672  1 
ipt_REJECT               960  2 
iptable_filter           640  1 
iptable_mangle           896  1 
iptable_nat              704  1 
ltq_deu_vr9            30496  7 
mac80211              456256  2 ath10k_core,ath9k
mii                     5248  1 usbnet
nf_conntrack           71024 13 nf_conntrack_ipv6,ipt_MASQUERADE,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_CT,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_flow_table,nf_conntrack_rtcache
nf_conntrack_ipv4       5248 12 
nf_conntrack_ipv6       5584  6 
nf_conntrack_rtcache    2944  0 
nf_defrag_ipv4          1088  1 nf_conntrack_ipv4
nf_defrag_ipv6          5120  1 nf_conntrack_ipv6
nf_flow_table          13680  2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw        2416  1 
nf_log_common           2624  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4             3328  0 
nf_log_ipv6             4032  0 
nf_nat                 14320  4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_nat_ipv4             3792  1 iptable_nat
nf_nat_masquerade_ipv4    1712  1 ipt_MASQUERADE
nf_nat_redirect         1408  1 xt_REDIRECT
nf_reject_ipv4          2080  1 ipt_REJECT
nf_reject_ipv6          2496  1 ip6t_REJECT
owl_loader              2080  0 
ppp_async               7760  0 
ppp_generic            24240  4 pppoe,pppox,ppp_async,pppoatm
pppoatm                 4032  0 
pppoe                   9952  0 
pppox                   1200  1 pppoe
rndis_host              5056  0 
slhc                    4928  1 ppp_generic
usbnet                 19056  2 rndis_host,cdc_ether
x_tables               12944 24 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_FLOWOFFLOAD,xt_CT,iptable_mangle,iptable_filter,ip_tables,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
xt_CT                   2912  0 
xt_FLOWOFFLOAD          3152  0 
xt_LOG                   768  0 
xt_REDIRECT              704  0 
xt_TCPMSS               2720  4 
xt_comment               480143 
xt_conntrack            2272 16 
xt_limit                1248 20 
xt_mac                   608  0 
xt_mark                  672  0 
xt_multiport            1248  0 
xt_nat                  1536  0 
xt_state                 704  0 
xt_tcpudp               1760 12 
xt_time                 1760  0 

dmesg output:

[    0.000000] Linux version 4.14.180 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11063-85e04e9f46)) #0 SMP Sat May 16 18:32:20 2020
[    0.000000] SoC: xRX200 rev 1.2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[    0.000000] MIPS: machine is BT Home Hub 5A
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Detected 1 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    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] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 806314c0, node_mem_map 8100b100
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] random: get_random_bytes called from 0x80634740 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s25968 r8192 d23184 u57344
[    0.000000] pcpu-alloc: s25968 r8192 d23184 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyLTQ0,115200
[    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=00003006
[    0.000000] Readback ErrCtl register=00003006
[    0.000000] Memory: 121888K/131072K available (5224K kernel code, 199K rwdata, 912K rodata, 1264K init, 230K bss, 9184K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 500MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[    0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[    0.007907] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.046000] pid_max: default: 32768 minimum: 301
[    0.050920] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.057435] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.066884] Hierarchical SRCU implementation.
[    0.072352] smp: Bringing up secondary CPUs ...
[    0.077797] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.077811] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.077966] CPU1 revision is: 00019556 (MIPS 34Kc)
[    0.109019] Synchronize counters for CPU 1: done.
[    0.133334] smp: Brought up 1 node, 2 CPUs
[    0.142038] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.151702] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.157986] pinctrl core: initialized pinctrl subsystem
[    0.164817] NET: Registered protocol family 16
[    0.180278] pinctrl-xway 1e100b10.pinmux: Init done
[    0.186596] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.198638] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.206603] PCI host bridge /fpi@10000000/pci@e105400 ranges:
[    0.212303]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.217563]   IO 0x000000001ae00000..0x000000001affffff
[    0.436463] ifx_pcie_wait_phy_link_up timeout
[    0.545565] random: fast init done
[    0.656925] ifx_pcie_wait_phy_link_up timeout
[    0.874131] ifx_pcie_wait_phy_link_up timeout
[    1.091314] ifx_pcie_wait_phy_link_up timeout
[    1.308503] ifx_pcie_wait_phy_link_up timeout
[    1.312747] pcie_rc_initialize link up failed!!!!!
[    1.344271] usbcore: registered new interface driver usbfs
[    1.350048] usbcore: registered new interface driver hub
[    1.355466] usbcore: registered new device driver usb
[    1.361159] PCI host bridge to bus 0000:00
[    1.365202] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    1.372108] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    1.379048] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.385921] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.393981] pci 0000:00:0e.0: [168c:ff1d] type 00 class 0x020000
[    1.394043] pci 0000:00:0e.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    1.394500] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.394560] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    1.403240] clocksource: Switched to clocksource MIPS
[    1.410776] NET: Registered protocol family 2
[    1.416350] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    1.423276] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    1.429673] TCP: Hash tables configured (established 1024 bind 1024)
[    1.436244] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.442044] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.448645] NET: Registered protocol family 1
[    1.452997] PCI: CLS 0 bytes, default 32
[    1.453805] gptu: totally 6 16-bit timers/counters
[    1.458844] gptu: misc_register on minor 63
[    1.462994] gptu: succeeded to request irq 126
[    1.467480] gptu: succeeded to request irq 127
[    1.472007] gptu: succeeded to request irq 128
[    1.476513] gptu: succeeded to request irq 129
[    1.481035] gptu: succeeded to request irq 130
[    1.485527] gptu: succeeded to request irq 131
[    1.490232] No VPEs reserved for AP/SP, not initialize VPE loader
[    1.490232] Pass maxvpes=<n> argument as kernel argument
[    1.501600] No TCs reserved for AP/SP, not initializing RTLX.
[    1.501600] Pass maxtcs=<n> argument as kernel argument
[    1.514397] Crashlog allocated RAM at address 0x3f00000
[    1.520209] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.538905] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.544671] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.561650] io scheduler noop registered
[    1.565475] io scheduler deadline registered (default)
[    1.574902] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    1.583860] console [ttyLTQ0] enabled
[    1.591149] bootconsole [early0] disabled
[    1.603063] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    1.607984] nand: AMD/Spansion S34ML01G1
[    1.611902] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.620220] Bad block table found at page 65472, version 0x01
[    1.626065] Bad block table found at page 65408, version 0x01
[    1.631316] 4 fixed-partitions partitions found on MTD device 14000000.nand
[    1.637953] Creating 4 MTD partitions on "14000000.nand":
[    1.643364] 0x000000000000-0x0000000a0000 : "u-boot"
[    1.650005] 0x0000000a0000-0x0000000c0000 : "uboot-env"
[    1.655577] 0x0000000c0000-0x000000100000 : "unused"
[    1.660889] 0x000000100000-0x000007f80000 : "ubi"
[    1.671485] libphy: Fixed MDIO Bus: probed
[    1.678778] wdt 1f8803f0.watchdog: Init done
[    1.688489] NET: Registered protocol family 10
[    1.695133] Segment Routing with IPv6
[    1.697579] NET: Registered protocol family 17
[    1.701935] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.714805] 8021q: 802.1Q VLAN Support v1.8
[    1.828138] libphy: lantiq,xrx200-mdio: probed
[    1.837280] net-xrx200: invalid MAC, using random
[    1.911853] Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6 0:00: attached PHY driver [Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6] (mii_bus:phy_addr=0:00, irq=POLL)
[    1.995833] Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6 0:01: attached PHY driver [Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6] (mii_bus:phy_addr=0:01, irq=POLL)
[    2.079817] Intel XWAY PHY11G (xRX v1.2 integrated) 0:11: attached PHY driver [Intel XWAY PHY11G (xRX v1.2 integrated)] (mii_bus:phy_addr=0:11, irq=POLL)
[    2.163816] Intel XWAY PHY11G (xRX v1.2 integrated) 0:13: attached PHY driver [Intel XWAY PHY11G (xRX v1.2 integrated)] (mii_bus:phy_addr=0:13, irq=POLL)
[    2.247833] Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6 0:05: attached PHY driver [Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6] (mii_bus:phy_addr=0:05, irq=POLL)
[    2.264546] UBI: auto-attach mtd3
[    2.266433] ubi0: attaching mtd3
[    2.417106] ubi0: scanning is finished
[    2.431336] ubi0 warning: 0x80331b90: cannot reserve enough PEBs for bad PEB handling, reserved 19, need 20
[    2.442170] ubi0: attached mtd3 (name "ubi", size 126 MiB)
[    2.446273] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    2.453137] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    2.459840] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    2.466608] ubi0: good PEBs: 1012, bad PEBs: 0, corrupted PEBs: 0
[    2.472709] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
[    2.479936] ubi0: max/mean erase counter: 749/585, WL threshold: 4096, image sequence number: 1548694395
[    2.489421] ubi0: available PEBs: 0, total reserved PEBs: 1012, PEBs reserved for bad PEB handling: 19
[    2.498801] ubi0: background thread "ubi_bgt0d" started, PID 420
[    2.502088] block ubiblock0_1: created from ubi0:1(rootfs)
[    2.510266] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    2.517567] USB_VBUS: disabling
[    2.527557] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.537262] Freeing unused kernel memory: 1264K
[    2.540404] This architecture does not have kernel memory protection.
[    3.168673] init: Console is alive
[    3.170995] init: - watchdog -
[    4.522031] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.641709] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found, using dummy regulator
[    4.648836] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found, using dummy regulator
[    4.657262] dwc2 1e101000.usb: dwc2_core_reset() HANG! AHB Idle GRSTCTL=0
[    4.867619] dwc2 1e101000.usb: DWC OTG Controller
[    4.870953] dwc2 1e101000.usb: new USB bus registered, assigned bus number 1
[    4.878043] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[    4.884829] hub 1-0:1.0: USB hub found
[    4.887351] hub 1-0:1.0: 1 port detected
[    4.893302] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.902552] init: - preinit -
[    5.463302] usb 1-1: new high-speed USB device number 2 using dwc2
[    5.812506] random: procd: uninitialized urandom read (4 bytes read)
[    6.025260] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.195372] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 493
[    9.243293] UBIFS (ubi0:2): recovery needed
[    9.389386] UBIFS (ubi0:2): recovery completed
[    9.392751] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    9.400269] UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    9.410194] UBIFS (ubi0:2): FS size: 120121344 bytes (114 MiB, 931 LEBs), journal size 6064128 bytes (5 MiB, 47 LEBs)
[    9.420799] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[    9.427421] UBIFS (ubi0:2): media format: w4/r0 (latest is w5/r0), UUID 9FE39B69-3E88-455C-9585-54264F1BF519, small LPT model
[    9.440707] mount_root: switching to ubifs overlay
[    9.482401] urandom-seed: Seeding with /etc/urandom.seed
[    9.736415] procd: - early -
[    9.738037] procd: - watchdog -
[   10.412482] procd: - watchdog -
[   10.414837] procd: - ubus -
[   10.514328] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.521681] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.527412] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.535010] procd: - init -
[   11.884098] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.893059] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[   11.906043] NET: Registered protocol family 8
[   11.909121] NET: Registered protocol family 20
[   11.922485] PPP generic driver version 2.4.2
[   11.939029] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.964708] Lantiq (VRX) DSL CPE MEI driver, version 1.5.17.6, (c) 2007-2015 Lantiq Beteiligungs-GmbH & Co. KG
[   11.977936] 
[   11.977936] 
[   11.977936] Lantiq CPE API Driver version: DSL CPE API V4.17.18.6
[   11.995625] 
[   11.995625] Predefined debug level: 3
[   12.010808] Loading modules backported from Linux version v4.19.120-0-gfdc072324f3c
[   12.017147] Backport generated by backports.git v4.19.120-1-0-g60c3a249
[   12.028186] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.039578] Infineon Technologies DEU driver version 2.0.0 
[   12.046599] IFX DEU DES initialized (multiblock).
[   12.051790] IFX DEU AES initialized (multiblock).
[   12.055874] IFX DEU ARC4 initialized (multiblock).
[   12.060327] IFX DEU SHA1 initialized.
[   12.063954] IFX DEU MD5 initialized.
[   12.067530] IFX DEU SHA1_HMAC initialized.
[   12.071688] IFX DEU MD5_HMAC initialized.
[   12.086866] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   12.158500] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   12.170411] owl-loader 0000:00:0e.0: fixup device configuration
[   12.177834] pci 0000:00:0e.0: [168c:002d] type 00 class 0x028000
[   12.177916] pci 0000:00:0e.0: reg 0x10: [mem 0x18000000-0x1800ffff]
[   12.178067] pci 0000:00:0e.0: PME# supported from D0 D3hot
[   12.178518] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[   12.189782] NET: Registered protocol family 24
[   12.228251] xt_time: kernel timezone is -0000
[   12.234039] usbcore: registered new interface driver cdc_ether
[   12.330699] urngd: v1.0.2 started.
[   12.529560] usbcore: registered new interface driver rndis_host
[   12.612721] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   12.623889] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   12.631476] ath: EEPROM regdomain: 0x833a
[   12.631491] ath: EEPROM indicates we should expect a country code
[   12.631512] ath: doing EEPROM country->regdmn map search
[   12.631525] ath: country maps to regdmn code: 0x37
[   12.631535] ath: Country alpha2 being used: GB
[   12.631544] ath: Regpair used: 0x37
[   12.652841] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.656873] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb8000000, irq=30
[   12.668705] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.040971] random: crng init done
[   13.042952] random: 6 urandom warning(s) missed due to ratelimiting
[   15.477161] usb 1-1: USB disconnect, device number 2
[   15.915329] usb 1-1: new high-speed USB device number 3 using dwc2
[   16.348621] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-1e101000.usb-1, RNDIS device, 7e:2e:e8:fe:07:68
[   26.298051] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   26.322334] device eth0 entered promiscuous mode
[   26.331905] br-lan: port 1(eth0.1) entered blocking state
[   26.335958] br-lan: port 1(eth0.1) entered disabled state
[   26.341912] device eth0.1 entered promiscuous mode
[   26.362687] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   26.469962] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   31.286376] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   31.374057] br-lan: port 2(wlan0) entered blocking state
[   31.378081] br-lan: port 2(wlan0) entered disabled state
[   31.384180] device wlan0 entered promiscuous mode
[   33.412013] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   33.417635] br-lan: port 2(wlan0) entered blocking state
[   33.422412] br-lan: port 2(wlan0) entered forwarding state
[   33.454796] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

If I remove the ath10k kernel modules and re-insmod them there is no output in the kernel log. They don't seem to do anything...

Any ideas? TIA

Possibly hardware failure?

Did you check 5 GHz radio was working with original BT firmware, as well as trying something older like 17.01.6 ?

I just flashed 19.07.3 onto spare HH5A. Factory Reset and then enabled 5 GHz radio with WPA2-PSK with AES and password. Working OK here. Here is extract of system log with wlan0 entries:


Sat May 16 18:35:07 2020 kern.info kernel: [   28.892888] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Sat May 16 18:35:07 2020 kern.info kernel: [   28.928394] device eth0 entered promiscuous mode
Sat May 16 18:35:07 2020 kern.info kernel: [   28.934033] br-lan: port 1(eth0.1) entered blocking state
Sat May 16 18:35:07 2020 kern.info kernel: [   28.938118] br-lan: port 1(eth0.1) entered disabled state
Sat May 16 18:35:07 2020 kern.info kernel: [   28.944186] device eth0.1 entered promiscuous mode
Sat May 16 18:35:07 2020 kern.info kernel: [   28.973649] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Sat May 16 18:35:07 2020 daemon.notice netifd: Interface 'lan' is enabled
Sat May 16 18:35:07 2020 daemon.notice netifd: Interface 'lan' is setting up now
Sat May 16 18:35:07 2020 daemon.notice netifd: Interface 'lan' is now up
Sat May 16 18:35:07 2020 daemon.notice netifd: Interface 'loopback' is enabled
Sat May 16 18:35:07 2020 daemon.notice netifd: Interface 'loopback' is setting up now
Sat May 16 18:35:07 2020 daemon.notice netifd: Interface 'loopback' is now up
Sat May 16 18:35:07 2020 daemon.notice netifd: Network device 'lo' link is up
Sat May 16 18:35:07 2020 daemon.notice netifd: Interface 'loopback' has link connectivity
Sat May 16 18:35:08 2020 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sat May 16 18:35:08 2020 daemon.err odhcpd[1247]: Failed to send to ff02::1%lan@br-lan (Address not available)
Sat May 16 18:35:08 2020 daemon.notice procd: /etc/rc.d/S96led: setting up led wifi
Sat May 16 18:35:09 2020 daemon.notice procd: /etc/rc.d/S96led: setting up led dsl
Sat May 16 18:35:09 2020 daemon.notice procd: /etc/rc.d/S96led: setting up led dimmed
Sat May 16 18:35:10 2020 kern.info kernel: [   32.049027] lantiq,xrx200-net 1e108000.eth eth0: port 0 got link
Sat May 16 18:35:10 2020 daemon.notice netifd: Network device 'eth0' link is up
Sat May 16 18:35:10 2020 kern.info kernel: [   32.058138] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sat May 16 18:35:10 2020 kern.info kernel: [   32.065778] br-lan: port 1(eth0.1) entered blocking state
Sat May 16 18:35:10 2020 kern.info kernel: [   32.069822] br-lan: port 1(eth0.1) entered forwarding state
Sat May 16 18:35:10 2020 daemon.notice netifd: VLAN 'eth0.1' link is up
Sat May 16 18:35:10 2020 kern.info kernel: [   32.079154] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Sat May 16 18:35:10 2020 daemon.notice netifd: bridge 'br-lan' link is up
Sat May 16 18:35:10 2020 daemon.notice netifd: Interface 'lan' has link connectivity
Sat May 16 18:35:11 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sat May 16 18:35:11 2020 daemon.err odhcpd[1247]: Failed to send to ff02::1%lan@br-lan (Address not available)

Sat May 16 18:35:12 2020 kern.warn kernel: [   34.055284] ath10k_pci 0000:02:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
Sat May 16 18:35:12 2020 kern.info kernel: [   34.071271] ath10k_pci 0000:02:00.0: wmi print 'P 128 V 8 T 410'
Sat May 16 18:35:12 2020 kern.info kernel: [   34.075900] ath10k_pci 0000:02:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
Sat May 16 18:35:12 2020 kern.info kernel: [   34.084318] ath10k_pci 0000:02:00.0: wmi print 'alloc rem: 20904 iram: 26056'
Sat May 16 18:35:13 2020 kern.warn kernel: [   34.152637] ath10k_pci 0000:02:00.0: pdev param 0 not supported by firmware
Sat May 16 18:35:13 2020 kern.info kernel: [   34.168087] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat May 16 18:35:13 2020 kern.info kernel: [   34.179588] br-lan: port 2(wlan0) entered blocking state
Sat May 16 18:35:13 2020 kern.info kernel: [   34.183579] br-lan: port 2(wlan0) entered disabled state
Sat May 16 18:35:13 2020 kern.info kernel: [   34.189403] device wlan0 entered promiscuous mode
Sat May 16 18:35:13 2020 kern.info kernel: [   34.193742] br-lan: port 2(wlan0) entered blocking state
Sat May 16 18:35:13 2020 kern.info kernel: [   34.198839] br-lan: port 2(wlan0) entered forwarding state
Sat May 16 18:35:13 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->HT_SCAN
Sat May 16 18:35:13 2020 kern.info kernel: [   34.222243] br-lan: port 2(wlan0) entered disabled state
Sat May 16 18:35:13 2020 daemon.err hostapd: Using interface wlan0 with hwaddr 78:65:59:97:35:43 and ssid "LEDE52"
Sat May 16 18:35:14 2020 daemon.info procd: - init complete -
Sat May 16 18:35:14 2020 kern.info kernel: [   35.657502] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sat May 16 18:35:14 2020 kern.info kernel: [   35.662908] br-lan: port 2(wlan0) entered blocking state
Sat May 16 18:35:14 2020 kern.info kernel: [   35.667863] br-lan: port 2(wlan0) entered forwarding state
Sat May 16 18:35:14 2020 daemon.notice hostapd: wlan0: interface state HT_SCAN->ENABLED
Sat May 16 18:35:14 2020 daemon.notice hostapd: wlan0: AP-ENABLED
Sat May 16 18:35:14 2020 daemon.notice netifd: Network device 'wlan0' link is up

Powered by LuCI openwrt-19.07 branch (git-20.136.49537-fb2f363) / OpenWrt 19.07.3 r11063-85e04e9f46

Pin-hole reset is only other suggestion where I've witnessed wifi not starting after making changes to wifi settings in LuCI, and performing factory reset via LuCI failed to fix wifi.

Hey Bill,

Thanks for testing. I went back and restored the plusnet firmware you sent and booted it up and the 2.4GHz was running but it said that the 5GHz was not enabled. So it wasn't working in stock firmware anymore, either. I did try 17.01 again and same trouble. 'iw list' only shows one device phy0 on the 2.4GHz band. Interesting that ath10k loads up late in the boot - but you do get output from your module load and I don't so somewhere the kernel module doesn't find the hardware because the module is loaded. I don't know anything about how the radios are enabled / disabled, so I was attempting to find out what is keeping it off - hardware issue or config file issue...

Thanks for your help! jas...

Well, I'm about ready to give up I think. I loaded up pciutils and ran lspci:

00:0e.0 Network controller: Qualcomm Atheros AR9227 Wireless Network Adapter (rev 01)

I only get one line of output?! And it's only the ath9k chip. So lspci is not finding my ath10k chip, which to me sounds like a HW problem, yes?

@bill888 - I wonder what your lspci shows? Thanks! jas...

Yes, radio hardware is faulty because you can't get it working with nanddump I provided.

I wouldn't waste more time on it.

How did you flash the HH5A?

Conventional solder method, or use foil & sticky tape method to the PCB, and perhaps may have torn off some vital SMD resistors or capacitors when removing the tape caused by degraded solder?

Hey Bill, thanks for replying. Conventional solder method. I had to go and resolder yesterday as my old (badly done) ground and TX solders popped off. The new ones worked and I could flash from serial again. Although I never need to cross boot_sel to ground anymore to get UART boot, it always lets me do that now - is that a function of the modified uBoot? I bought another fully loaded HH5A off of ebay for £18 that should arrive tomorrow or Tuesday which ought to have a fully working 19.07 installed.

I wonder what I did that caused the 5GHz to stop working and if it's reversible.

Thanks for the advice! jas...

No, that's typically the result if you soldered too long/ too hot and bridged traces that shouldn't be. Especially this PCB requires very careful and gentle soldering.

1 Like

The compromise I could make was to place a little drop of solder at each pad for Rx and Tx (say 1mm dia, each) to make them a bit larger. That was just enough for a compromise of a not-so-invasive yet reasonably solid connection using the toothpicks and pens method.