Wifi firmware debug prints causing huge data logged in dmesg

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AnAn_4811536
Level 1
Level 1
Welcome! First question asked First reply posted

Hi ,

I've been working on Nvidia Jetson Platform with :

Kernel: 4.15.0-122-generic

OS : Ubuntu 18.04

I've followed the steps @https://community.cypress.com/community/software-forums/linux/blog/2020/02/04/fmac-debugging

And found the WiFi driver from https://community.cypress.com/docs/DOC-21490 and built it.

When we insert the module using the following command :-

$insmod brcmfmac.ko

without debug level, WiFi interface is not working as expected. Only when the debug level #define BRCMF_FWCON_VAL 0x00100000 is passed along with the insmod command the WiFi interface is working properly.

But it is causing huge dmesg data logged. We have attached the dmesg logs:-  https://pastebin.com/H4U9R167

1) Is there a solution to skip DEBUG_LEVEL specification for insmod command above or skip logging to dmesg ?

2) Is there a updated Firmware release which eradicates Debug log printing ?

Thanks in advance,

Regards,

Ann Rose Antony

0 Likes
1 Solution
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hello,

I see from the dmesg logs "chanspec BCME -20 (Bad Channel)".

Can you provide us with the clm_blob and the NVRAM file used in this project? Also, can you provide us with the country code and the channels set?

For inserting the module , you are using the command

$insmod brcmfmac.ko

Have you followed the steps in the README document? The README document provides the steps to load the cypress wifi driver. If not, then can you follow the steps specified in the document and let us know if you're facing the same issues.

Thanks

Aditi

View solution in original post

2 Replies
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hello,

I see from the dmesg logs "chanspec BCME -20 (Bad Channel)".

Can you provide us with the clm_blob and the NVRAM file used in this project? Also, can you provide us with the country code and the channels set?

For inserting the module , you are using the command

$insmod brcmfmac.ko

Have you followed the steps in the README document? The README document provides the steps to load the cypress wifi driver. If not, then can you follow the steps specified in the document and let us know if you're facing the same issues.

Thanks

Aditi