All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Maloteaux <a.maloteaux@gmail.com>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: QCA6174 hw2.1 on Clevo P750ZM
Date: Thu, 23 Jul 2015 09:47:35 +0100	[thread overview]
Message-ID: <55B0AA27.2060205@gmail.com> (raw)
In-Reply-To: <CA+BoTQmvAgeCoHoTvc7XOGcr7x7x49gcJ9WC9t9jo8MjjHNMBg@mail.gmail.com>

Hi Michal

> There's an unofficial image that's lying in a pull request on
> github[1] you could use. It probably needs skip_otp parameter to be
> used.

I think this is the sumdog firmwares; i tested them and i made all the
test with the skip_otp parameter

> This looks interesting. Can you please:
>
>  rmmod ath10k_pci
>  modprobe ath10k_pci irq_mode=1
>
> Msi range handling could be broken on this hw. If so we'll need to blacklist it.

Still the same issue :

[  213.889825] ath10k_pci 0000:06:00.0: limiting irq mode to: 1
[  213.889833] ath10k_pci 0000:06:00.0: pci irq legacy interrupts 0
irq_mode 1 reset_mode 0
[  216.907165] ath10k_pci 0000:06:00.0: failed to receive initialized
event from target: b8600448
[  216.907166] ath10k_pci 0000:06:00.0: failed to wait for target after
cold reset: -110
[  216.907167] ath10k_pci 0000:06:00.0: failed to reset chip: -110
[  216.907220] ath10k_pci: probe of 0000:06:00.0 failed with error -110


> Don't just go about renaming firmware filenames like that, please.
> It's used to prevent older ath10k using newer firmware images which it
> wouldn't handle anyway.
upon those instructions :
https://github.com/kvalo/ath10k-firmware/pull/2
copying firmware-4.bin to firmware-5.bin seems to help for some users

Best Regards


On 07/23/2015 09:21 AM, Michal Kazior wrote:
> On 23 July 2015 at 10:05, Alexandre Maloteaux <a.maloteaux@gmail.com> wrote:
>> Hi
>>
>> I just received a Clevo P750ZM (eurocom P5 pro) with a QCA6174
>>
>> 06:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless
>> Network Adapter (rev 20)
>>
>> Hi have tested the dissect/assemble procedure  described here :
>>
>> https://www.mail-archive.com/ath10k@lists.infradead.org/msg02283.html
>> https://askubuntu.com/questions/546813/killer-n1525-with-ubuntu-14-10
> There's an unofficial image that's lying in a pull request on
> github[1] you could use. It probably needs skip_otp parameter to be
> used.
>
>
>> Im on Arch and i have tested with the Eurocom Drivers
>> (http://downloads.eurocom.com/support/drivers/zip/260/260_KillerWLAN_W864.zip)
>> and the sumdog blobs  (https://github.com/sumdog/ath10k-firmware.git)
>> directly on those 3 firmwares
>> Arch official : 4.1.2-2-ARCH
>> kvalo master : 4.2.0-rc3
>> kvalo qca branch : 4.1.0-rc6
>>
>> I have a different issue for each kernel and i have tested with all
>> board.bin available but none worked :
>>
>> ARCH official issue :
> [snip]
>
> This won't work. 4.1 doesn't contain the necessary patch[2].
>
>
>> kvalo master :
>>
>> [    0.000000] Linux version 4.2.0-rc3-wl-ath-KVALO-ATH-MASTER+
>> (root@z1kadev) (gcc version 5.1.0 (GCC) ) #2 SMP PREEMPT Tue Jul 21
>> 15:07:02 WAT 2015
>> [   12.381604] systemd[1]: cups.path: Cannot add dependency job,
>> ignoring: Unit cups.path failed to load: No such file or directory.
>> [   12.595610] ath3k: probe of 3-7:1.0 failed with error -22
>> [   12.595637] usbcore: registered new interface driver ath3k
>> [   12.627163] ath10k_pci 0000:06:00.0: enabling device (0000 -> 0002)
>> [   12.627915] ath10k_pci 0000:06:00.0: pci irq msi-x interrupts 8
>> irq_mode 0 reset_mode 0
>> [   12.822155] ath10k_pci 0000:06:00.0: Direct firmware load for
>> ath10k/cal-pci-0000:06:00.0.bin failed with error -2
>> [   12.822158] ath10k_pci 0000:06:00.0: Falling back to user helper
>> [   72.915990] ath10k_pci 0000:06:00.0: Direct firmware load for
>> ath10k/QCA6174/hw2.1/board-pci-168c:003e:1a56:1525.bin failed with error -2
>> [   72.915993] ath10k_pci 0000:06:00.0: Falling back to user helper
>> [  133.010331] ath10k_pci 0000:06:00.0: failed to load spec board file,
>> falling back to generic: -11
>> [  133.010647] ath10k_pci 0000:06:00.0: Direct firmware load for
>> ath10k/QCA6174/hw2.1/firmware-5.bin failed with error -2
>> [  133.010649] ath10k_pci 0000:06:00.0: Falling back to user helper
>> [  193.105501] ath10k_pci 0000:06:00.0: could not fetch firmware file
>> 'ath10k/QCA6174/hw2.1/firmware-5.bin': -11
>> [  194.276201] ath10k_pci 0000:06:00.0: received unsolicited fw crash
>> interrupt
>> [  194.276209] ath10k_pci 0000:06:00.0: received unsolicited fw crash
>> interrupt
>> [  195.275581] ath10k_pci 0000:06:00.0: failed to receive control
>> response completion, polling..
>> [  195.275699] ath10k_pci 0000:06:00.0: received unsolicited fw crash
>> interrupt
> This looks interesting. Can you please:
>
>  rmmod ath10k_pci
>  modprobe ath10k_pci irq_mode=1
>
> Msi range handling could be broken on this hw. If so we'll need to blacklist it.
>
>
>> [  196.277176] ath10k_pci 0000:06:00.0: Service connect timeout
>> [  196.277179] ath10k_pci 0000:06:00.0: failed to connect htt (-110)
>> [  196.347791] ath10k_pci 0000:06:00.0: could not init core (-110)
>> [  196.347819] ath10k_pci 0000:06:00.0: could not probe fw (-110)
>>
>> kvalo qca branch :
>>
>> [  386.639108] ath10k_pci 0000:06:00.0: failed to receive initialized
>> event from target: b8600448
>> [  386.639110] ath10k_pci 0000:06:00.0: failed to wait for target after
>> cold reset: -110
>> [  386.639110] ath10k_pci 0000:06:00.0: failed to reset chip: -110
>> [  386.639203] ath10k_pci: probe of 0000:06:00.0 failed with error -110
>> [  419.547152] ath10k_pci 0000:06:00.0: pci irq msi-x interrupts 8
>> irq_mode 0 reset_mode 0
>> [  422.565998] ath10k_pci 0000:06:00.0: failed to receive initialized
>> event from target: b8600448
>> [  422.566000] ath10k_pci 0000:06:00.0: failed to wait for target after
>> cold reset: -110
>> [  422.566001] ath10k_pci 0000:06:00.0: failed to reset chip: -110
>> [  422.566096] ath10k_pci: probe of 0000:06:00.0 failed with error -110
>>
>> im getting only the cal issue  on the kvalo master if i copy
>> firmware-4.bin to firmware-5.bin.
> Don't just go about renaming firmware filenames like that, please.
> It's used to prevent older ath10k using newer firmware images which it
> wouldn't handle anyway.
>
>
>> If i copy fw-1.bin from dissect.py to
>> cal-pci-0000:06:00.0.bin . I m getting the issue with the official arch...
> Uhm, that's wrong. Don't use cal-pci-xxx unless you know what you're doing.
>
> fw-1 and fw-2 from dissect are otp and main program binaries.
> cal-pci-xxx is just calibration data blob. This is something entirely
> else.
>
> If you see OTP failure you need to either set up adequate fw_feature
> flag in the firmware-X.bin or pass skip_otp=y parameter while probing
> ath10k_core module.
>
>
> [1]: https://github.com/kvalo/ath10k-firmware/pull/2
> [2]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/ath/ath10k/pci.c?id=11a002efbaa7fbd9f6e616695ab42aa9f1caf060
>
>
> Michał
>


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2015-07-23  8:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-23  8:05 QCA6174 hw2.1 on Clevo P750ZM Alexandre Maloteaux
2015-07-23  8:21 ` Michal Kazior
2015-07-23  8:47   ` Alexandre Maloteaux [this message]
2015-07-23  9:28     ` Michal Kazior
2015-07-23  9:33       ` Alexandre Maloteaux
2015-07-23  9:36         ` Michal Kazior
     [not found]           ` <55B0BDD3.4080103@gmail.com>
2015-07-23 10:12             ` Alexandre Maloteaux
     [not found]             ` <CA+BoTQmceF3xitMz1p6WFp3FVnOme4kpQaK=9ouAjyK4zwbvnQ@mail.gmail.com>
     [not found]               ` <55B0C416.90903@gmail.com>
2015-07-23 13:45                 ` Alexandre Maloteaux
2015-07-23 14:03                   ` Kalle Valo
2015-07-23 14:21                     ` Alexandre Maloteaux
2015-07-24 10:43                     ` Alexandre Maloteaux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55B0AA27.2060205@gmail.com \
    --to=a.maloteaux@gmail.com \
    --cc=ath10k@lists.infradead.org \
    --cc=michal.kazior@tieto.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.