- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
planform: IMX8MM DDR4 EVK
Kernel:Linux imx8mmevk 5.4.47-lts-lf-5.4.y+g88b2efd7d692 #1 SMP PREEMPT Tue Sep 28 02:56:42 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
step
1.tar zxvf cypress-firmware*.tar.gz
copy to
2.build ko and insmod that.
3.show some error
[ 39.203712] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43455-sdio for chip BCM4345/6
[ 39.213195] usbcore: registered new interface driver brcmfmac
root@imx8mmevk:~/driver_5.4#
root@imx8mmevk:~/driver_5.4# [ 99.339971] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (err=-11), device will use cypress/cyfmac43455-sdio.txt
[ 99.354189] brcmfmac mmc0:0001:1: Direct firmware load for cypress/cyfmac43455-sdio.txt failed with error -2
[ 99.364115] brcmfmac mmc0:0001:1: Falling back to sysfs fallback for: cypress/cyfmac43455-sdio.txt
[ 161.787139] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
The attached file is log and dmesg
Is he missing brcmfmac43455-sdio.txt ? Can it be provided? Could you help to bring up wifi ,thanks
B.R.
Bill
Solved! Go to Solution.
- Labels:
-
Wi-Fi Bluetooth for Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Bill_123 ,
The NVRAM file 'brcmfmac43455-sdio.txt' is specific to the module being used. It will be provided by the Module partner. Are you using a muRata based 43455 module?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Bill_123 ,
The NVRAM file 'brcmfmac43455-sdio.txt' is specific to the module being used. It will be provided by the Module partner. Are you using a muRata based 43455 module?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear raks_99
YES.
B.R.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Bill_123 ,
Can you ask Murata to provide the NVRAM file? After you get the file if you still see the same issue then please post the NVRAM file here.
Thnaks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Raks_99,
Got it , we will ask you if we still have any questions.
I appreciate your help very much.
B.R.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Raks_99,
I misspoke.
Below is our setting .
Is it not the Murata module?
By the way, I used the NVRAM file that provide form Murata but it is still error.
[ 63.148294] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 63.163468] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 77.077874] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[ 77.086183] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 77.093375] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[ 77.101806] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[ 77.109901] mmc0: queuing unknown CIS tuple 0x80 (6 bytes)
[ 77.217693] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43455-sdio for chip BCM4345/6
[ 77.227209] usbcore: registered new interface driver brcmfmac
root@imx8mmevk:~/driver_5.4# [ 138.251982] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (err=-11), device will use cypress/cyfmac43455-sdio.txt
[ 138.394513] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43455-sdio for chip BCM4345/6
[ 138.407771] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
Attached file is our error log:20211004_log.txt
Used NVRAM file:cyfmac43455-sdio.txt
B.R.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bill,
I do not see the 'HT Avail timeout (1000000): clkctl 0x50' error in the new logs. Is that error resolved?
Do you see the wlan0 interface now after loading the driver?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear raks_99,
I do not see the 'HT Avail timeout (1000000): clkctl 0x50' error in the new logs. Is that error resolved?
--->I only add NVRAM file in the system and not show it.
Do you see the wlan0 interface now after loading the driver?
--->Below is shown wlan0.
But when I used "wl ver",it is shown "-sh: wl: command not found".
root@imx8mmevk:~/driver_5.4# wl ver
-sh: wl: command not found
Does it bring up for wifi ?
B.R.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bill, the wl executable needs to be present in '/bin' or '/usr/bin' for the wl command to work.
Do you have the wl executable program with you? If not then can you tell me the output of 'uname -a' command so I can provide you the right program?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear raks_99
Could you provide us, thanks,
root@imx8mmevk:~# uname -a
Linux imx8mmevk 5.4.47-lts-lf-5.4.y+g88b2efd7d692 #1 SMP PREEMPT Tue Sep 28 02:56:42 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
B.R.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear raks_99,
We appreciate your help very much.
The command (./wl64 ver) is shown version on screen.
Two log times are too long.What was the cause of long time.
B.R.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bill,
I do not seem to see this issue in my setup . Here is my "dmesg -wH" output
Do you see the same delay every time you reload drivers?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Raks_99,
1.Do you see the same delay every time you reload drivers?
--->Yes.
2.Is this error causing the delay?
"board-specific nvram available (err=-11)"
[ 61.644701] usbcore: registered new interface driver brcmfmac
root@imx8mmevk:~/driver_5.4# [ 121.867914] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (err=-11), device will use cypress/cyfmac43455-sdio.txt
[ 122.009118] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43455-sdio for chip BCM4345/6
[ 122.023743] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
3.Could you provide your test NVRAM to us.
B.R.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bill,
2. Is this error causing the delay? "board-specific NVRAM available (err=-11)"
>> Probably not because I too see the same message on my raspberry pi but there is no delay of 10 seconds. Let me check this on an imx8m setup and get back to you.
3. Could you provide your test NVRAM to us.
>>My test device was a RaspberryPi4, so this is the default NVRAM that comes loaded with Raspberry Pi OS. I do not recommend changing NVRAM since some critical parameters are configured in it so it is best to get the right one from the module vendor.
However, I do not think this delay is due to NVRAM. Let me check and get back
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear raks_99,
Got it ,we appreciate your help very much.
B.R.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bill,
I observed the delay is constant 60 seconds for our other WiFi radios as well. I tested on EA IMX8M. Not sure of the reason but I think the driver is looking for the .txt file. I'll update you after I debug further.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Bill_123 ,
If you still see the issue with the new FMAC release
https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Cypress-Linux-WiFi-Driver-Release-FMAC-2021-10-20/m-p/322639#M2155
Can you create a separate thread for the issue? and you can @raks_99 so that I get notified of the new thread.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear raks_99,
After using new FMAC release and new Nvram(from module ), the wifi can bring up.
we appreciate your help very much.
B.R.
Bill