cyfmac43430 start MFG firmware fail

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

Hello, expert

Our product use AW-NM372SM as wireless connect, the chipset of AW-NM372SM is cyfmac43430.Wifi driver is cypress-wifi-v5.4.18-2021_0527, it work well with cyfmac43430-sdio.bin & cyfmac43430-sdio.txt(both are from AZUREWAVE).

Now we need to some RF test and need to replace cyfmac43430-sdio.bin with the cyw43438-7.46.58.26_mfg.bin(also from AZUREWAVE), But at this time the wifi driver fail and exit.

/lib/firmware/cypress # ls -l
total 380
-rw-r--r-- 1 root root 375682 Oct 6 18:14 cyfmac43430-sdio.bin //have been replace with 
cyw43438-7.46.58.26_mfg.bin, which is from AZUREWARE

-rw-r--r-- 1 root root 4733 Aug 5 2021 cyfmac43430-sdio.clm_blob //form Infineon's cypress-wifi-v5.4.18-2021_0527/firmware
-rw-rw-r-- 1 root root 963 Aug 5 2021 cyfmac43430-sdio.txt //from AZUREWARE

 

Here are the logs:

[ 1056.450000] brcmf_sdio_probe Enter
[ 1056.470000] brcmf_chip_recognition found AXI chip: BCM43430/1
[ 1056.580000] brcmf_chip_cores_check [1 ] core 0x800:49 base 0x18000000 wrap 0x18100000
[ 1056.600000] brcmf_chip_cores_check [2 ] core 0x812:39 base 0x18001000 wrap 0x18101000
[ 1056.640000] brcmf_chip_cores_check [3 ] core 0x829:21 base 0x18002000 wrap 0x18102000
[ 1056.640000] brcmf_chip_cores_check [4 ] core 0x82a:9 base 0x18003000 wrap 0x18103000
[ 1056.650000] brcmf_chip_cores_check [5 ] core 0x80e:22 base 0x18004000 wrap 0x18104000
[ 1056.660000] brcmf_chip_cores_check [6 ] core 0x135:0 base 0x00000000 wrap 0x18105000
[ 1056.670000] brcmf_chip_cores_check [7 ] core 0x240:0 base 0x00000000 wrap 0x18106000
[ 1056.680000] brcmf_chip_set_passive Enter
[ 1056.710000] brcmf_chip_get_raminfo RAM: base=0x0 size=524288 (0x80000) sr=65536 (0x10000)
[ 1056.720000] brcmf_chip_setup ccrev=49, pmurev=24, pmucaps=0x39d25f18
[ 1056.720000] brcmf_get_module_param Enter, bus=0, chip=43430, rev=1
[ 1056.730000] brcmf_sdiod_sgtable_alloc nents=35
[ 1056.740000] brcmf_sdio_kso_init Enter
[ 1056.740000] brcmf_sdio_drivestrengthinit No SDIO driver strength init needed for chip BCM43430/1 rev 1 pmurev 24
[ 1056.750000] brcmf_sdio_probe completed!!
[ 1056.760000] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43430-sdio for chip BCM43430/1
[ 1056.770000] brcmf_fw_get_firmwares enter: dev=mmc0:0001:1
[ 1056.780000] brcmf_fw_complete_request firmware cypress/cyfmac43430-sdio.bin found
[ 1056.790000] brcmf_fw_complete_request firmware cypress/cyfmac43430-sdio.txt found
[ 1056.800000] brcmf_fw_request_nvram_done enter: dev=mmc0:0001:1
[ 1056.800000] brcmf_fw_request_nvram_done nvram c10d3800 len 608
[ 1056.810000] brcmf_sdio_download_code_file Enter
[ 1056.850000] brcmf_sdio_verifymemory Compare RAM dl & ul at 0x00000000; size=375682
[ 1056.940000] brcmf_sdio_download_nvram Enter
[ 1056.940000] brcmf_sdio_verifymemory Compare RAM dl & ul at 0x0007fda0; size=608
[ 1056.950000] brcmf_chip_set_active Enter
[ 1057.020000] brcmf_sdio_firmware_callback enable F2: err=0
[ 1057.020000] brcmf_chip_sr_capable Enter
[ 1057.020000] brcmf_sdio_sr_init Enter
[ 1057.030000] brcmf_sdio_sr_init SR enabled
[ 1057.030000] brcmf_sdiod_change_state 0 -> 1
[ 1057.040000] brcmf_bus_change_state 0 -> 1
[ 1057.040000] brcmf_bus_change_state ignoring transition, bus not attached yet
[ 1057.050000] brcmf_alloc Enter
[ 1057.060000] brcmf_sdio_isr Enter
[ 1057.060000] brcmf_chip_sr_capable Enter
[ 1057.070000] brcmf_sdio_readshared sdpcm_shared address 0x0003EB70
[ 1057.070000] brcmf_sdio_isr Enter
[ 1057.080000] brcmf_chip_sr_capable Enter
[ 1057.080000] brcmf_sdio_readshared sdpcm_shared address 0x0003EB70
[ 1057.090000] brcmf_attach Enter
[ 1057.090000] brcmf_proto_attach Enter
[ 1057.100000] brcmf_fweh_register event handler registered for PSM_WATCHDOG
[ 1057.110000] brcmf_bus_started
[ 1057.110000] brcmf_add_if Enter, bsscfgidx=0, ifidx=0
[ 1057.120000] brcmf_sdio_kso_control Enter: on=0
[ 1057.120000] brcmf_add_if allocate netdev interface
[ 1057.130000] brcmf_add_if ==== pid:aa, if:wlan%d (00:00:00:00:00:00) created ===
[ 1057.140000] brcmf_bus_change_state 0 -> 1
[ 1057.140000] brcmf_sdio_bus_txctl Enter
[ 1057.150000] brcmf_sdio_kso_control Enter: on=1
[ 1057.160000] brcmf_sdio_isr Enter
[ 1057.160000] brcmf_sdio_isr Enter
[ 1057.170000] brcmf_sdio_bus_rxctl Enter
[ 1057.170000] brcmf_sdio_bus_txctl Enter
[ 1057.180000] brcmf_sdio_kso_control Enter: on=0
[ 1057.180000] brcmf_sdio_kso_control Enter: on=1
[ 1057.200000] brcmf_sdio_isr Enter
[ 1057.200000] brcmf_sdio_bus_rxctl Enter
[ 1057.200000] brcmf_sdio_isr Enter
[ 1057.210000] brcmf_sdio_bus_txctl Enter
[ 1057.210000] brcmf_sdio_isr Enter
[ 1057.220000] brcmf_sdio_bus_rxctl Enter
[ 1057.230000] brcmf_sdio_bus_txctl Enter
[ 1057.230000] brcmf_sdio_bus_rxctl Enter
[ 1057.230000] brcmf_sdio_isr Enter
[ 1057.240000] brcmf_sdio_bus_txctl Enter
[ 1057.240000] brcmf_sdio_isr Enter
[ 1057.250000] brcmf_sdio_bus_rxctl Enter
[ 1057.250000] brcmf_c_process_clm_blob Enter
[ 1057.250000] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43430-sdio for chip BCM43430/1
[ 1057.260000] brcmf_sdio_bus_txctl Enter
[ 1057.280000] brcmf_sdio_kso_control Enter: on=0
[ 1057.280000] brcmf_sdio_kso_control Enter: on=1
[ 1057.300000] brcmf_sdio_isr Enter
[ 1057.300000] brcmf_sdio_bus_rxctl Enter
[ 1057.300000] brcmf_sdio_isr Enter
[ 1057.310000] ieee80211 phy4: brcmf_c_process_clm_blob: clmload (4733 byte file) failed (-52)
[ 1057.320000] brcmf_sdio_bus_txctl Enter
[ 1057.320000] brcmf_sdio_bus_rxctl Enter
[ 1057.330000] brcmf_sdio_isr Enter
[ 1057.330000] brcmf_c_process_clm_blob clmload_status=0
[ 1057.340000] ieee80211 phy4: brcmf_c_preinit_dcmds: download CLM blob file failed, -5
[ 1057.350000] brcmf_sdio_kso_control Enter: on=0
[ 1057.350000] ieee80211 phy4: brcmf_bus_started: failed: -5
[ 1057.360000] ieee80211 phy4: brcmf_attach: dongle is not responding: err=-5

[ 1057.370000] brcmf_detach Enter
[ 1057.370000] brcmf_bus_change_state 1 -> 0
[ 1057.380000] brcmf_sdio_bus_stop Enter
[ 1057.380000] brcmf_sdio_kso_control Enter: on=1
[ 1057.400000] brcmf_proto_detach Enter
[ 1057.400000] brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed

[ 1057.410000] brcmf_chip_sr_capable Enter
[ 1057.410000] brcmf_sdio_readshared sdpcm_shared address 0x0003EB70
[ 1057.420000] brcmf_sdio_checkdied firmware not built with -assert
[ 1057.430000] brcmf_sdio_firmware_callback failed: dev=mmc0:0001:1, err=-5

[ 1057.440000] brcmf_sdio_remove Enter
[ 1057.440000] brcmf_detach Enter
[ 1057.470000] brcmf_chip_set_passive Enter
[ 1057.510000] brcmf_chip_reset_watchdog Enter
[ 1057.510000] brcmf_sdio_remove Disconnected

Any help is appreciated!

0 Likes
1 Solution
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Hi @mgkiller ,

Firmware v7.46.58.26 is old firmware and is not meant for the FMAC drivers. That is why you see the error.

Your firmware should have a version number like 7.45.98.xxx. (7.45.98.118 is the latest one)

You can check the version of the firmware with "strings <file.bin> | tail" command.

Can you ask Azurewave to provide you the mfg firmware of the correct version? and please mention that you are using FMAC drivers to them. 

 

Thanks,

View solution in original post

2 Replies
raks_99
Moderator
Moderator
Moderator
First question asked 250 replies posted 250 sign-ins

Hi @mgkiller ,

Firmware v7.46.58.26 is old firmware and is not meant for the FMAC drivers. That is why you see the error.

Your firmware should have a version number like 7.45.98.xxx. (7.45.98.118 is the latest one)

You can check the version of the firmware with "strings <file.bin> | tail" command.

Can you ask Azurewave to provide you the mfg firmware of the correct version? and please mention that you are using FMAC drivers to them. 

 

Thanks,

Thanks a lot. 

0 Likes