All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: cmckay@abineau.com
Cc: ath10k@lists.infradead.org
Subject: Re: Direct firmware load failed with error 2
Date: Mon, 24 Oct 2016 18:57:51 -0700	[thread overview]
Message-ID: <580EBC1F.7020305@candelatech.com> (raw)
In-Reply-To: <1477351326.570412506@apps.rackspace.com>

Please let us know 'lspci' or equiv, exactly what firmware you are loading,
kernel driver version, etc.

Maybe try LEDE if you can, it's likely more up to date.

Thanks,
Ben

On 10/24/2016 04:22 PM, cmckay@abineau.com wrote:
> Great, thanks Ben,
>
> That cleared up the firmware load error but I now have:
>
> [    6.997553] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x01000000-0x011ff]
> [    7.075559] ath10k: pci irq MSI
> [    9.753487] ath10k: ctl_resp never came in (-110)
> [    9.758281] ath10k: failed to connect to HTC: -110
> [    9.803633] ath10k: could not init core (-110)
> [    9.843495] ath10k: could not probe fw (-110)
> [    9.843499] ath10k: failed to register driver core: -110
> [    9.843681] ath10k_pci: probe of 0000:01:00.0 failed with error -110
>
> Any ideas? Let me know if I should post this new.
>
> Thanks a bunch
> Colin
>
>
> -----Original Message-----
> From: "Ben Greear" <greearb@candelatech.com>
> Sent: Monday, October 24, 2016 5:05pm
> To: cmckay@abineau.com
> Cc: ath10k@lists.infradead.org
> Subject: Re: Direct firmware load failed with error 2
>
> You need board.bin too.  Something like this if you want to
> use my firmware, or firmware-5.bin for upstream 10.2 firmware:
>
> [root@ben-ota-1 lanforge]# ls -l /lib/firmware/ath10k/QCA988X/hw2.0/
> total 1084
> -rw-r--r--. 1 root root   2116 Sep 27 14:43 board.bin
> -rw-r--r--. 1 root root 201324 Oct 13 18:48 firmware-2.bin
>
> Thanks,
> Ben
>
>
> On 10/24/2016 01:59 PM, cmckay@abineau.com wrote:
>> Thanks Ben,
>>
>> Got the location from the website:
>> root@apalis-imx6:/lib/firmware/ath10k/QCA988X/hw2.0# ls
>> firmware-2.bin         firmware-5.bin
>>
>> I'll figure out how to do some printk's (I'm a newbie).
>>
>> Thanks,
>> Colin
>>
>>
>> -----Original Message-----
>> From: "Ben Greear" <greearb@candelatech.com>
>> Sent: Monday, October 24, 2016 4:11pm
>> To: cmckay@abineau.com, ath10k@lists.infradead.org
>> Subject: Re: Direct firmware load failed with error 2
>>
>> Maybe add some printks in your driver to see exactly what it is trying to load?
>>
>> Maybe firmware is in wrong location?
>>
>> errno 2 == ENOENT, which probably means something like 'could not find file'.
>>
>> Thanks,
>> Ben
>>
>>
>> On 10/24/2016 12:55 PM, cmckay@abineau.com wrote:
>>> Hi,
>>>
>>> I'm attempting to add a Silex PCEAC or Compex WLE900VX (both QCA9880) mini PCIe card to a Toradex Apalis iMX6 SOM on their Ixora card. I added a BSP layer to Toradex's standard build, simply adding the ath10k and noting more.
>>> I keep running into the following error:
>>>
>>> [ 7.063663] ath10k_pci 0000:01:00.0: BAR 0: assigned [mem 0x01000000-0x011ff]
>>> [ 7.172118] ath10k: pci irq MSI
>>> [ 7.198024] ath10k_pci 0000:01:00.0: Direct firmware load failed with error 2
>>> [ 7.209646] ath10k_pci 0000:01:00.0: Falling back to user helper
>>> [ 8.626488] ath10k: could not fetch board data (-2)
>>> [ 8.648471] ath10k_pci 0000:01:00.0: Direct firmware load failed with error 2
>>> [ 8.693701] ath10k_pci 0000:01:00.0: Falling back to user helper
>>> [ 8.712302] ath10k: could not fetch board data (-2)
>>> [ 8.722757] ath10k: could not fetch firmware files (-2)
>>> [ 8.781868] ath10k: could not probe fw (-2)
>>> [ 8.781874] ath10k: failed to register driver core: -2
>>> [ 8.782041] ath10k_pci: probe of 0000:01:00.0 failed with error -2
>>>
>>> I've tried the firmware-2, firmware-5 and Candella firmware. I can't find any information on what this error means or how to debug this issue. And the vendors are struggling to get me a solution.
>>> Any help would be greatly appreciated.
>>>
>>> Colin McKay
>>>
>>>
>>>
>>> _______________________________________________
>>> ath10k mailing list
>>> ath10k@lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/ath10k
>>>
>>
>>
>
>

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

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

  reply	other threads:[~2016-10-25  1:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-24 19:55 Direct firmware load failed with error 2 cmckay
2016-10-24 20:11 ` Ben Greear
2016-10-24 20:59   ` cmckay
2016-10-24 21:05     ` Ben Greear
2016-10-24 23:22       ` cmckay
2016-10-25  1:57         ` Ben Greear [this message]
2016-10-25  2:59           ` cmckay
2016-10-25  3:11             ` cmckay
2016-10-25  4:21               ` Ben Greear
2016-10-25 15:50                 ` Marek Puzyniak
2016-10-27 22:43                   ` Colin McKay
2016-10-27 16:04                     ` Marek Puzyniak

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=580EBC1F.7020305@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=ath10k@lists.infradead.org \
    --cc=cmckay@abineau.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.