Linux wireless drivers development
 help / color / mirror / Atom feed
From: Arend Van Spriel <arend.vanspriel@broadcom.com>
To: "Rafał Miłecki" <zajec5@gmail.com>,
	"Michael Eskowitz" <MichaelE@inventeksys.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: building brcmfmac driver for iMX6 Ultralite platform
Date: Fri, 1 Jul 2016 11:14:36 +0200	[thread overview]
Message-ID: <293add70-308d-fe78-d5d5-ba8b6079658d@broadcom.com> (raw)
In-Reply-To: <CACna6rx-iw8cBT9kp5gsW0REuVNE-GzU62GBKjR9BAtWu14mCA@mail.gmail.com>

On 1-7-2016 11:07, Rafał Miłecki wrote:
> On 30 June 2016 at 21:24, Michael Eskowitz <MichaelE@inventeksys.com> wrote:
>>         insmod  brcmfmac.ko
>> firmware_path=ISM4334X_Wifi_FW_6.10.190.49_P.bin
>> nvram_path=ISM4334X_NVRAM_C1.txt
>>
>> I receive the following errors:
>>
>>         brcmfmac: Unknown symbol brcmu_pktq_mlen (err 0)
>>         brcmfmac: Unknown symbol brcmu_pkt_buf_free_skb (err 0)
>>         brcmfmac: Unknown symbol brcmu_pktq_init (err 0)
>>         brcmfmac: Unknown symbol brcmu_pktq_penq_head (err 0)
>>         brcmfmac: Unknown symbol brcmu_pktq_pdeq (err 0)
>>         brcmfmac: Unknown symbol brcmu_pktq_peek_tail (err 0)
>>         brcmfmac: Unknown symbol brcmu_pktq_flush (err 0)
>>         brcmfmac: Unknown symbol brcmu_pktq_pdeq_match (err 0)
>>         brcmfmac: Unknown symbol brcmu_pktq_mdeq (err 0)
>>         brcmfmac: Unknown symbol brcmu_pktq_penq (err 0)
>>         brcmfmac: Unknown symbol brcmu_pktq_pdeq_tail (err 0)
>>         brcmfmac: Unknown symbol brcmu_pkt_buf_get_skb (err 0)
>>         brcmfmac: Unknown symbol brcmu_d11_attach (err 0)
>>         insmod: ERROR: could not insert module brcmfmac.ko: Unknown symbol
>> in module
>>
>> I'm not sure that the firmware_path and nvram_path should be specified in
>> this manner, but I doubt that is what is causing these errors.
>>
>> The module compiled and built just fine so I am assuming that there are some
>> dependencies that aren't being met.  Is there another module that I need to
>> load before attempting to load the fmac driver?
> 
> If you don't know module dependencies, why not use something that
> handled this for you? Replace insmod with modprobe.

That only works when the modules are in an installed location and depmod
has been used properly, which I doubt is the case in this experiment.

> You can't load brcmfmac.ko without loading brcmutil.ko first.

Indeed.

Regards,
Arend

      reply	other threads:[~2016-07-01  9:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-30 19:24 building brcmfmac driver for iMX6 Ultralite platform Michael Eskowitz
2016-07-01  7:49 ` Arend Van Spriel
2016-07-12 19:17   ` Michael Eskowitz
2016-07-12 21:10     ` Rafał Miłecki
2016-07-12 21:32       ` Arend Van Spriel
2016-07-13 14:51       ` Michael Eskowitz
2016-07-01  9:07 ` Rafał Miłecki
2016-07-01  9:14   ` Arend Van Spriel [this message]

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=293add70-308d-fe78-d5d5-ba8b6079658d@broadcom.com \
    --to=arend.vanspriel@broadcom.com \
    --cc=MichaelE@inventeksys.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=zajec5@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox