about nvram file for CYW43438(AW-NM372SM)

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

cross mob
mgkiller
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

I can't find any nvram(parameters) file in cypress-fmac-v5.4.18-2021_0527.zip 's firmware directory, which downloaded form https://www.cypress.com/documentation/software-and-drivers-archive/wifi-bt-linux-archive.

I also notice AN232689 ( Wi-Fi software user guide) says:

NVRAM parameters might be included in the firmware image. Do a strings command in /lib/firmware/cypress/cyfmac43430-sdio.bin to check if the nvram parameters are included in the tail of
firmware image.

aw-nm372sm/firmware$ strings cyfmac43430-sdio.bin
this command output a lot of strings, how to check whether nvram is included in firmware image.

 

if NVRAM parameters already included in the firmware image,  Why the brcmfmac driver  still look for the corresponding nvram file ?  look like:

"brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (err=-2), device will use cypress/cyfmac43430-sdio.txt"

 

if NVRAM parameters not included in the firmware image, , how to get one?

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

Hi,

First of all you need to make sure that you've the NVRAM file with you. If you don't have one, you need to get this from the module vendor/provider. 

Regarding this - "brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (err=-2), device will use cypress/cyfmac43430-sdio.txt" This is not an actual error. It comes because the NVRAM file is not found in the brcmfmac folder, so it checks in the cypress folder. Please make sure you've the right NVRAM file as per your setup.

NVRAM parameters might be included in the firmware image. Do a strings command in /lib/firmware/cypress/cyfmac43430-sdio.bin to check if the nvram parameters are included in the tail of
firmware image.-> This is provided for usb.bin file and not for sdio.bin in the application note.

Thanks

Aditi

View solution in original post

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

Hi,

First of all you need to make sure that you've the NVRAM file with you. If you don't have one, you need to get this from the module vendor/provider. 

Regarding this - "brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (err=-2), device will use cypress/cyfmac43430-sdio.txt" This is not an actual error. It comes because the NVRAM file is not found in the brcmfmac folder, so it checks in the cypress folder. Please make sure you've the right NVRAM file as per your setup.

NVRAM parameters might be included in the firmware image. Do a strings command in /lib/firmware/cypress/cyfmac43430-sdio.bin to check if the nvram parameters are included in the tail of
firmware image.-> This is provided for usb.bin file and not for sdio.bin in the application note.

Thanks

Aditi

Thank you very much @Aditi_B ,  you save my day.