OpenWrt Forum Archive

Topic: Home Hub - no /etc/config/wireless generated

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello all,

Forgive me if this has been mentioned before, I couldn't see anything on the search.

Decided to upgrade home hub v5a to openwrt as a project. got everything working until it came to activating wifi radios. nothing. No file created, iw list empty. I've attached the "dmesg | grep pci" output, looks like it can't find the firmware? How would I correct this?

Any help appreciated smile

edit: using lede 17.01.4.


[    0.232783] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.366774] PCI host bridge /fpi@10000000/pcie@d900000 ranges:
[    0.406467] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.413374] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.420318] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.427174] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.435224] pci 0000:00:0e.0: [168c:ff1d] type 00 class 0x020000
[    0.435283] pci 0000:00:0e.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    0.435646] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.435687] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.446539] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[    0.453454] pci_bus 0000:01: root bus resource [io  0x1d800000-0x1d8fffff]
[    0.460395] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.467250] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.475279] pci 0000:01:00.0: [1bef:0011] type 01 class 0x060000
[    0.475314] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[    0.493061] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.493368] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring
[    0.501497] pci 0000:02:00.0: [168c:003c] type 00 class 0x028000
[    0.501585] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.501655] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.501759] pci 0000:02:00.0: supports D1 D2
[    0.502040] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.502078] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 02
[    0.502131] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c1fffff]
[    0.508808] pci 0000:01:00.0: BAR 9: assigned [mem 0x1c200000-0x1c2fffff pref]
[    0.516075] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c1fffff 64bit]
[    0.523473] pci 0000:02:00.0: BAR 6: assigned [mem 0x1c200000-0x1c20ffff pref]
[    0.530736] pci 0000:01:00.0: PCI bridge to [bus 02]
[    0.535774] pci 0000:01:00.0:   bridge window [mem 0x1c000000-0x1c1fffff]
[    0.542630] pci 0000:01:00.0:   bridge window [mem 0x1c200000-0x1c2fffff pref]
[    0.549999] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[    0.556605] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[    0.562948] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[    0.569614] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[   10.669373] ath10k_pci 0000:02:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   10.866383] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[   10.875702] ath10k_pci 0000:02:00.0: Falling back to user helper
[   10.995305] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[   11.003229] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[   11.013238] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.293170] firmware ath10k!cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[   11.543753] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   11.551622] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   11.566981] ath10k_pci 0000:02:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
[   11.616196] ath10k_pci 0000:02:00.0: board id is not exist in otp, ignore it
[   11.621982] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   11.632289] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.758576] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   11.884911] ath10k_pci 0000:02:00.0: otp calibration failed: 2
[   11.889342] ath10k_pci 0000:02:00.0: failed to run otp: -22
[   11.894897] ath10k_pci 0000:02:00.0: could not init core (-22)
[   11.900861] ath10k_pci 0000:02:00.0: could not probe fw (-22)
[   12.057240] owl-loader 0000:00:0e.0: Direct firmware load for ath9k-eeprom-pci-0000:00:0e.0.bin failed with error -2
[   12.344743] firmware ath9k-eeprom-pci-0000:00:0e.0.bin: firmware_loading_store: map pages failed

(Last edited by Vaudane on 17 Mar 2018, 21:48)

Did you backup first?

In particular the caldata? I believe it is used for wifi calibration.

I have the full nanddump which from what I understand has the caldata in it, but I don't have any separate calibration files. Do I need to restore to extract this?

It is normal for ath10k to report several firmware load failures.  It tries several different file names, most of which will not exist in a given install.

But ath9k doesn't use firmware.  It appears that your caldata (EEPROM or ART) partition is bad.

Thanks for the pointers to the caldata being bad. I reinstalled the stock BT firmware, locked it all back up to "as BT would  want it", then started the install again. making sure to detach, and attach ubi's where required (oddly enough it was UBI -m 3 that was the one containing the cal data, not 4 or 5 like i see in guides).

But yes, fresh install, and now all the radios are there in /etc/config/wireless!

Thank you!

The discussion might have continued from here.