* Re: add support for brcm43362
[not found] ` <CACiH_1pQPod2zEYFDHbs35QnowmWbhund+tvLxnP1eYQXtX8NQ@mail.gmail.com>
@ 2021-08-14 7:18 ` Arend Van Spriel
2021-08-14 7:22 ` Arend Van Spriel
[not found] ` <CACiH_1ph6bYFtKDLc=mVJP7ntWbhGotWzBH2DOhgK8PPik83=Q@mail.gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Arend Van Spriel @ 2021-08-14 7:18 UTC (permalink / raw)
To: M.Sadegh Zeyghami, Chi-Hsien.Lin; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 2410 bytes --]
+ linux-wireless list
On August 14, 2021 6:07:15 AM "M.Sadegh Zeyghami" <mszeyghami@gmail.com> wrote:
> Hi,
> How are you?
> I've compiled a linux OS using yocto project. I want to have wifi interface
> using WM-N-BM-02SDIO . I have set the WM-N-BM-02SDIO on sdio-1 which is
> considered for sd card. I have successfully added wifi before in a project
> with kernel 4.x.x.
> now I'm trying with new sdk:
> uname -a
> 5.4.3-g9c2490ac8-dirty #3 SMP PREEMPT Sun Aug 8 12:11:16 UTC 2021 armv7l
> GNU/Linux
>
> I have an issue with the brcmfmac kernel module. I have enabled brcmfmac
> debug and enabled all message types in debug messages.
>
> you can see the dmesg output when I put this command insmod /<path to ko
> file>/brcmfmac.ko debug=0x1FFFE :
>
> [ 2526.159218] brcmfmac: brcmfmac_module_init No platform data available.
> [ 2526.168959] brcmfmac: brcmf_ops_sdio_probe Enter
> [ 2526.168979] brcmfmac: brcmf_ops_sdio_probe Class=0
> [ 2526.168991] brcmfmac: brcmf_ops_sdio_probe sdio vendor ID: 0x02d0
> [ 2526.169001] brcmfmac: brcmf_ops_sdio_probe sdio device ID: 0xa962
> [ 2526.169011] brcmfmac: brcmf_ops_sdio_probe Function#: 1
> [ 2526.169347] brcmfmac: brcmf_ops_sdio_probe Enter
> [ 2526.169362] brcmfmac: brcmf_ops_sdio_probe Class=0
> [ 2526.169372] brcmfmac: brcmf_ops_sdio_probe sdio vendor ID: 0x02d0
> [ 2526.169383] brcmfmac: brcmf_ops_sdio_probe sdio device ID: 0xa962
> [ 2526.169392] brcmfmac: brcmf_ops_sdio_probe Function#: 2[
> 3249.364285] brcmfmac: brcmf_sdio_exit Enter
The vendor and device id are correct so can you retry using debug=0x31416
enabling SDIO debug level.
Regards,
Arend
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4219 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: add support for brcm43362
2021-08-14 7:18 ` add support for brcm43362 Arend Van Spriel
@ 2021-08-14 7:22 ` Arend Van Spriel
[not found] ` <CACiH_1ph6bYFtKDLc=mVJP7ntWbhGotWzBH2DOhgK8PPik83=Q@mail.gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Arend Van Spriel @ 2021-08-14 7:22 UTC (permalink / raw)
To: M.Sadegh Zeyghami, Chi-Hsien.Lin; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 2475 bytes --]
On August 14, 2021 9:18:52 AM Arend Van Spriel
<arend.vanspriel@broadcom.com> wrote:
> + linux-wireless list
>
> On August 14, 2021 6:07:15 AM "M.Sadegh Zeyghami" <mszeyghami@gmail.com> wrote:
>
>> Hi,
>> How are you?
>> I've compiled a linux OS using yocto project. I want to have wifi interface
>> using WM-N-BM-02SDIO . I have set the WM-N-BM-02SDIO on sdio-1 which is
>> considered for sd card. I have successfully added wifi before in a project
>> with kernel 4.x.x.
>> now I'm trying with new sdk:
>> uname -a
>> 5.4.3-g9c2490ac8-dirty #3 SMP PREEMPT Sun Aug 8 12:11:16 UTC 2021 armv7l
>> GNU/Linux
>>
>> I have an issue with the brcmfmac kernel module. I have enabled brcmfmac
>> debug and enabled all message types in debug messages.
>>
>> you can see the dmesg output when I put this command insmod /<path to ko
>> file>/brcmfmac.ko debug=0x1FFFE :
>>
>> [ 2526.159218] brcmfmac: brcmfmac_module_init No platform data available.
>> [ 2526.168959] brcmfmac: brcmf_ops_sdio_probe Enter
>> [ 2526.168979] brcmfmac: brcmf_ops_sdio_probe Class=0
>> [ 2526.168991] brcmfmac: brcmf_ops_sdio_probe sdio vendor ID: 0x02d0
>> [ 2526.169001] brcmfmac: brcmf_ops_sdio_probe sdio device ID: 0xa962
>> [ 2526.169011] brcmfmac: brcmf_ops_sdio_probe Function#: 1
>> [ 2526.169347] brcmfmac: brcmf_ops_sdio_probe Enter
>> [ 2526.169362] brcmfmac: brcmf_ops_sdio_probe Class=0
>> [ 2526.169372] brcmfmac: brcmf_ops_sdio_probe sdio vendor ID: 0x02d0
>> [ 2526.169383] brcmfmac: brcmf_ops_sdio_probe sdio device ID: 0xa962
>> [ 2526.169392] brcmfmac: brcmf_ops_sdio_probe Function#: 2[
>> 3249.364285] brcmfmac: brcmf_sdio_exit Enter
This last line is from doing a rmmod, right?
Regards,
Arend
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4219 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: add support for brcm43362
[not found] ` <CACiH_1pRgjO7X5a5tvc6ygLy13arC4GjCp6qWOY7-Rxe3D93yA@mail.gmail.com>
@ 2021-08-14 12:03 ` Arend Van Spriel
0 siblings, 0 replies; 3+ messages in thread
From: Arend Van Spriel @ 2021-08-14 12:03 UTC (permalink / raw)
To: M.Sadegh Zeyghami; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 5571 bytes --]
Please keep linux-wireless in Cc:
On August 14, 2021 1:14:14 PM "M.Sadegh Zeyghami" <mszeyghami@gmail.com> wrote:
> I have fixed the regulatory.db error. but the issue still persists.
Right. That should not be an issue for you right now. The driver does not
seem to get to a state where that would matter.
So taking a look at brcmf_ops_sdio_probe() [1]. It should end up calling
brcmf_sdiod_probe() which would show up in the kernel log. As it doesn't I
only see two places that may fail but those are allocations so that would
dump a stack trace in the log. So I have no clue unless that SDK you are
using has some modifications in brcmfmac driver.
Regards,
Arend
[1]
https://elixir.bootlin.com/linux/v5.4.3/source/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c#L991
>
> On Sat, Aug 14, 2021 at 2:56 PM M.Sadegh Zeyghami <mszeyghami@gmail.com>
> wrote:
>
>> OK
>> you can see sdio log as below:
>>
>> [ 684.265241] brcmfmac: brcmfmac_module_init No platform data available.
>> [ 684.271302] brcmfmac: brcmf_ops_sdio_probe Enter
>> [ 684.271323] brcmfmac: brcmf_ops_sdio_probe Class=0
>> [ 684.271336] brcmfmac: brcmf_ops_sdio_probe sdio vendor ID: 0x02d0
>> [ 684.271347] brcmfmac: brcmf_ops_sdio_probe sdio device ID: 0xa962
>> [ 684.271357] brcmfmac: brcmf_ops_sdio_probe Function#: 1
>> [ 684.271681] brcmfmac: brcmf_ops_sdio_probe Enter
>> [ 684.271695] brcmfmac: brcmf_ops_sdio_probe Class=0
>> [ 684.271706] brcmfmac: brcmf_ops_sdio_probe sdio vendor ID: 0x02d0
>> [ 684.271713] brcmfmac: brcmf_ops_sdio_probe sdio device ID: 0xa962
>> [ 684.271722] brcmfmac: brcmf_ops_sdio_probe Function#: 2
>>
>> is it possible that the error is related to below error log?
>>
>> [ 18.352425] cfg80211: Loading compiled-in X.509 certificates for
>> regulatory database
>> [ 18.552486] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
>> [ 18.631523] platform regulatory.0: Direct firmware load for
>> regulatory.db failed with error -2
>> [ 18.690135] platform regulatory.0: Falling back to sysfs fallback for:
>> regulatory.db
>>
>> On Sat, Aug 14, 2021 at 11:48 AM Arend Van Spriel <
>> arend.vanspriel@broadcom.com> wrote:
>>
>>> + linux-wireless list
>>>
>>> On August 14, 2021 6:07:15 AM "M.Sadegh Zeyghami" <mszeyghami@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>> How are you?
>>>> I've compiled a linux OS using yocto project. I want to have wifi
>>> interface
>>>> using WM-N-BM-02SDIO . I have set the WM-N-BM-02SDIO on sdio-1 which is
>>>> considered for sd card. I have successfully added wifi before in a
>>> project
>>>> with kernel 4.x.x.
>>>> now I'm trying with new sdk:
>>>> uname -a
>>>> 5.4.3-g9c2490ac8-dirty #3 SMP PREEMPT Sun Aug 8 12:11:16 UTC 2021 armv7l
>>>> GNU/Linux
>>>>
>>>> I have an issue with the brcmfmac kernel module. I have enabled brcmfmac
>>>> debug and enabled all message types in debug messages.
>>>>
>>>> you can see the dmesg output when I put this command insmod /<path to ko
>>>> file>/brcmfmac.ko debug=0x1FFFE :
>>>>
>>>> [ 2526.159218] brcmfmac: brcmfmac_module_init No platform data
>>> available.
>>>> [ 2526.168959] brcmfmac: brcmf_ops_sdio_probe Enter
>>>> [ 2526.168979] brcmfmac: brcmf_ops_sdio_probe Class=0
>>>> [ 2526.168991] brcmfmac: brcmf_ops_sdio_probe sdio vendor ID: 0x02d0
>>>> [ 2526.169001] brcmfmac: brcmf_ops_sdio_probe sdio device ID: 0xa962
>>>> [ 2526.169011] brcmfmac: brcmf_ops_sdio_probe Function#: 1
>>>> [ 2526.169347] brcmfmac: brcmf_ops_sdio_probe Enter
>>>> [ 2526.169362] brcmfmac: brcmf_ops_sdio_probe Class=0
>>>> [ 2526.169372] brcmfmac: brcmf_ops_sdio_probe sdio vendor ID: 0x02d0
>>>> [ 2526.169383] brcmfmac: brcmf_ops_sdio_probe sdio device ID: 0xa962
>>>> [ 2526.169392] brcmfmac: brcmf_ops_sdio_probe Function#: 2[
>>>> 3249.364285] brcmfmac: brcmf_sdio_exit Enter
>>>
>>> The vendor and device id are correct so can you retry using debug=0x31416
>>> enabling SDIO debug level.
>>>
>>> Regards,
>>> Arend
>>>
>>>
>>>
>>> --
>>> This electronic communication and the information and any files
>>> transmitted
>>> with it, or attached to it, are confidential and are intended solely for
>>> the use of the individual or entity to whom it is addressed and may
>>> contain
>>> information that is confidential, legally privileged, protected by
>>> privacy
>>> laws, or otherwise restricted from disclosure to anyone else. If you are
>>> not the intended recipient or the person responsible for delivering the
>>> e-mail to the intended recipient, you are hereby notified that any use,
>>> copying, distributing, dissemination, forwarding, printing, or copying of
>>> this e-mail is strictly prohibited. If you received this e-mail in error,
>>> please return the e-mail to the sender, delete it from your computer, and
>>> destroy any printed copy of it.
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4219 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-14 12:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CACiH_1qejUGY5h84AJwdpzu7hnv1QcpUwxusuUHTYvHudZ1XQQ@mail.gmail.com>
[not found] ` <CACiH_1oOYQtTK+ZHToocwJDFZJwsqfXn+rfNTPNKfs4216tdRQ@mail.gmail.com>
[not found] ` <CACiH_1oJ82bRqf6chxbz60ocU5Lt_U1tzC2BzhxQnc2sPkAH=Q@mail.gmail.com>
[not found] ` <2020122116491715139911@myirtech.com>
[not found] ` <CACiH_1rKWwKBN90cMHyDVfTLjxpq74n8+xR1fLTwUw=omazkRQ@mail.gmail.com>
[not found] ` <202012211717114369410@myirtech.com>
[not found] ` <CACiH_1radH2fiCGEqrFd2KT3LmXXTt0kwS=h1nJ4ONKv86vO=g@mail.gmail.com>
[not found] ` <202101210845326804970@myirtech.com>
[not found] ` <CACiH_1rbn8cvOLOcwPjnh3J18tu1RO-MsSrCPqHn4gX_oxg=sw@mail.gmail.com>
[not found] ` <202105170852049596790@myirtech.com>
[not found] ` <CACiH_1r=yvmZOjCTH+Brrks0uv_+uw1FXyVGO7GW3-g0Qki-iw@mail.gmail.com>
[not found] ` <CACiH_1qG=o9XNw3Fby=ta9edGe4LPMmcZ2qgM3o5unhkmmpxiw@mail.gmail.com>
[not found] ` <202105191404513233631@myirtech.com>
[not found] ` <CACiH_1ryCWNgGJZ7+sCT3EBdDLh98qhNKvn2BHrfYkt+pPpTLA@mail.gmail.com>
[not found] ` <202105200917269788315@myirtech.com>
[not found] ` <CACiH_1r16eNxgT+2iTWOafwh4m+3H1ZoASfAyY-Vyu4z6Xwn_w@mail.gmail.com>
[not found] ` <202106031043566804622@myirtech.com>
[not found] ` <CACiH_1pJAJNSKC=Grkv64itzJZQw6cKF14fW7+QhAouMVgJ6Dw@mail.gmail.com>
[not found] ` <CACiH_1oOxQL2wuv0O7i75WZroUkFqbbaoDsN+Enk51RsiZddPQ@mail.gmail.com>
[not found] ` <202106070850449973117@myirtech.com>
[not found] ` <CACiH_1oNK7c1F9FmMDEA9gsAiQ1Ccp3c_aHFqPesuSFdHZUtMw@mail.gmail.com>
[not found] ` <202106081344596009918@myirtech.com>
[not found] ` <CACiH_1q+6aYHinK=mV1Tux8V-XHJ6cJ9czM8nbMj8n5jk2peqg@mail.gmail.com>
[not found] ` <202106081408186587600@myirtech.com>
[not found] ` <CACiH_1r-PJio4aK5K1muQ=JDkmE__00OsXbmvFzcNkcsqAfQUQ@mail.gmail.com>
[not found] ` <CACiH_1rNAR2E1ybaT8CbHE9dM+1kTxs=DvVpdpUwqAE--yv3eQ@mail.gmail.com>
[not found] ` <2021060909525128128510@myirtech.com>
[not found] ` <CACiH_1qnY+=9NRrpv7Ey1ANSqZ_dO+uxP_gS1X=PAVe2GcUnHQ@mail.gmail.com>
[not found] ` <CACiH_1rMHucS2yKDEAQYChFoEsCSjqpwhw7aDHU7Yh0DyuQRhw@mail.gmail.com>
[not found] ` <CACiH_1q7OAeipL1AUbWnCAt+O+abXKC4-jvd3BAwL_OEqLfKwA@mail.gmail.com>
[not found] ` <CACiH_1pQPod2zEYFDHbs35QnowmWbhund+tvLxnP1eYQXtX8NQ@mail.gmail.com>
2021-08-14 7:18 ` add support for brcm43362 Arend Van Spriel
2021-08-14 7:22 ` Arend Van Spriel
[not found] ` <CACiH_1ph6bYFtKDLc=mVJP7ntWbhGotWzBH2DOhgK8PPik83=Q@mail.gmail.com>
[not found] ` <CACiH_1pRgjO7X5a5tvc6ygLy13arC4GjCp6qWOY7-Rxe3D93yA@mail.gmail.com>
2021-08-14 12:03 ` Arend Van Spriel
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).