* ath10k OTP loading issues
@ 2014-06-27 8:44 André Valentin
2014-06-27 11:01 ` André Valentin
2014-07-02 8:10 ` Kalle Valo
0 siblings, 2 replies; 6+ messages in thread
From: André Valentin @ 2014-06-27 8:44 UTC (permalink / raw)
To: linux-wireless
Hi!
I got problems initializing my ath10k PCI card in my Zyxel NBG 6716. It worked until some weeks, now, the driver does not load. I debugged a bit and this is what I got:
Fri Jun 27 08:03:42 2014 kern.info kernel: [62908.290000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
Fri Jun 27 08:03:43 2014 kern.info kernel: [62908.610000] ath10k: pci irq legacy irq_mode 0 reset_mode 0
Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.620000] ath10k: boot upload otp to 0x1234 len 6917
Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.780000] ath10k: otp calibration failed: 2
Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.790000] ath10k: failed to run otp: -22
Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.790000] ath10k: could not init core (-22)
Fri Jun 27 08:03:43 2014 kern.err kernel: [62909.060000] ath10k: could not probe fw (-22)
Fri Jun 27 08:03:43 2014 kern.err kernel: [62909.060000] ath10k: failed to register driver core: -22
Fri Jun 27 08:03:43 2014 kern.warn kernel: [62909.060000] ath10k_pci: probe of 0000:01:00.0 failed with error -22
If I remove OTP loading the card initializes fine, but I think I will not have a good performance. So bad idea.
Currently I use compat-wireless-2014-05-22, with some patches form openwrt.
The firmware-2.bin has been checked, it is the same as offered here:
https://github.com/kvalo/ath10k-firmware
Perhaps somebody has a hint for me?
Kind regards,
André
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ath10k OTP loading issues
2014-06-27 8:44 ath10k OTP loading issues André Valentin
@ 2014-06-27 11:01 ` André Valentin
2014-07-02 8:13 ` Kalle Valo
2014-07-02 8:10 ` Kalle Valo
1 sibling, 1 reply; 6+ messages in thread
From: André Valentin @ 2014-06-27 11:01 UTC (permalink / raw)
To: linux-wireless
Hi Again!
I just saw the old thread about the same point. So I'm trying to look in the flash of my router if the OTP is stored there.
Does this OTP have some kind of magic so I can identify it?
André
On 27.06.2014 10:44, André Valentin wrote:
> Hi!
>
> I got problems initializing my ath10k PCI card in my Zyxel NBG 6716. It worked until some weeks, now, the driver does not load. I debugged a bit and this is what I got:
> Fri Jun 27 08:03:42 2014 kern.info kernel: [62908.290000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
> Fri Jun 27 08:03:43 2014 kern.info kernel: [62908.610000] ath10k: pci irq legacy irq_mode 0 reset_mode 0
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.620000] ath10k: boot upload otp to 0x1234 len 6917
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.780000] ath10k: otp calibration failed: 2
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.790000] ath10k: failed to run otp: -22
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.790000] ath10k: could not init core (-22)
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62909.060000] ath10k: could not probe fw (-22)
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62909.060000] ath10k: failed to register driver core: -22
> Fri Jun 27 08:03:43 2014 kern.warn kernel: [62909.060000] ath10k_pci: probe of 0000:01:00.0 failed with error -22
>
>
> If I remove OTP loading the card initializes fine, but I think I will not have a good performance. So bad idea.
> Currently I use compat-wireless-2014-05-22, with some patches form openwrt.
> The firmware-2.bin has been checked, it is the same as offered here:
> https://github.com/kvalo/ath10k-firmware
>
> Perhaps somebody has a hint for me?
>
> Kind regards,
>
> André
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ath10k OTP loading issues
2014-06-27 8:44 ath10k OTP loading issues André Valentin
2014-06-27 11:01 ` André Valentin
@ 2014-07-02 8:10 ` Kalle Valo
1 sibling, 0 replies; 6+ messages in thread
From: Kalle Valo @ 2014-07-02 8:10 UTC (permalink / raw)
To: André Valentin; +Cc: linux-wireless, ath10k
Hi,
please always CC ath10k list, that way you get attention of all ath10k
developers.
André Valentin <avalentin@marcant.net> writes:
> I got problems initializing my ath10k PCI card in my Zyxel NBG 6716.
> It worked until some weeks, now, the driver does not load. I debugged
> a bit and this is what I got:
>
> Fri Jun 27 08:03:42 2014 kern.info kernel: [62908.290000] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
> Fri Jun 27 08:03:43 2014 kern.info kernel: [62908.610000] ath10k: pci irq legacy irq_mode 0 reset_mode 0
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.620000] ath10k: boot upload otp to 0x1234 len 6917
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.780000] ath10k: otp calibration failed: 2
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.790000] ath10k: failed to run otp: -22
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62908.790000] ath10k: could not init core (-22)
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62909.060000] ath10k: could not probe fw (-22)
> Fri Jun 27 08:03:43 2014 kern.err kernel: [62909.060000] ath10k: failed to register driver core: -22
> Fri Jun 27 08:03:43 2014 kern.warn kernel: [62909.060000] ath10k_pci: probe of 0000:01:00.0 failed with error -22
>
> If I remove OTP loading the card initializes fine, but I think I will
> not have a good performance. So bad idea.
All that was changed recently was that we now check the error code
coming from otp.bin. So you have had this issue all along, it was just
hidden before.
--
Kalle Valo
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-07-02 8:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-27 8:44 ath10k OTP loading issues André Valentin
2014-06-27 11:01 ` André Valentin
2014-07-02 8:13 ` Kalle Valo
2014-07-02 8:34 ` André Valentin
2014-07-02 8:56 ` Kalle Valo
2014-07-02 8:10 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).