ath79: Ubiquiti Nanostation M5 HP XM fails to initialize wireless interface
Username: Lars
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2207
Device: Ubiquiti Nanostation M5 HP XM
OpenWrt: master branch (commit ae9d3a25)
Symptoms of the Problem
“iwinfo” shows no output
Failed initialization:
[ 11.643912] ath9k 0000:00:00.0: Direct firmware load for ath9k-eeprom-pci-0000:00:00.0.bin failed with error -2 [ 11.654117] ath9k 0000:00:00.0: Falling back to user helper [ 11.867085] firmware ath9k-eeprom-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed [ 11.876934] ath: phy0: Unable to load EEPROM file ath9k-eeprom-pci-0000:00:00.0.bin [ 11.884709] ath9k 0000:00:00.0: Failed to initialize device [ 11.890396] ath9k: probe of 0000:00:00.0 failed with error -22
A working initialization (same device, same commit, with ar711xx image):
Wed Mar 27 11:10:57 2019 kern.info kernel: [ 16.709837] pci 0000:00:00.0: using irq 40 for pin 1 Wed Mar 27 11:10:57 2019 kern.warn kernel: [ 16.714854] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) Wed Mar 27 11:10:57 2019 kern.info kernel: [ 16.725987] ath: phy0: Ignoring endianness difference in EEPROM magic bytes. Wed Mar 27 11:10:57 2019 kern.debug kernel: [ 16.734629] ath: EEPROM regdomain: 0x0 Wed Mar 27 11:10:57 2019 kern.debug kernel: [ 16.734637] ath: EEPROM indicates default country code should be used Wed Mar 27 11:10:57 2019 kern.debug kernel: [ 16.734642] ath: doing EEPROM country->regdmn map search Wed Mar 27 11:10:57 2019 kern.debug kernel: [ 16.734662] ath: country maps to regdmn code: 0x3a Wed Mar 27 11:10:57 2019 kern.debug kernel: [ 16.734670] ath: Country alpha2 being used: US Wed Mar 27 11:10:57 2019 kern.debug kernel: [ 16.734676] ath: Regpair used: 0x3a Wed Mar 27 11:10:57 2019 kern.debug kernel: [ 16.755563] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' Wed Mar 27 11:10:57 2019 kern.info kernel: [ 16.758624] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
an ar71xx image based on the same commit works as expected
Ubiquiti Nanostation M5 loco XW also works