This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1837MOD: Error while loading firmware

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1837,

Hi,

We are using Wl1837 chip with i.MX6 based custom board running Linux kernel version 3.14.28. We are using a prebuilt firmware file which was tested with 4.9.11. We are getting below error while the wifi driver is loading.

wl18xx_driver wl18xx.0.auto: Direct firmware load failed with error -2
wl18xx_driver wl18xx.0.auto: Falling back to user helper
wlcore: ERROR configuration binary file size is wrong, expected 1226 got 1229

 


Also, We tried generating new firmware with wlconf provided with ti-utils package.
Command used to generate firmware:

./wlconf  -I  WL1837MOD_INI_FCC_CE.ini   -o  wl18xx-conf-default.bin


With the above generated firmware, driver is getting loaded but below error log is generated while hostapd config is running:

Line 14: DEPRECATED: 'dump_file' configuration variable is not used anymore
HT (IEEE 802.11n) with WPA/WPA2 requires CCMP/GCMP to be enabled, disabling HT capabilities
rfkill: Cannot open RFKILL control device
wlcore: ERROR firmware size is not multiple of 32 bits: 1226
wlcore: ERROR firmware size is not multiple of 32 bits: 1226
wlcore: ERROR firmware size is not multiple of 32 bits: 1226
wlcore: ERROR firmware boot failed despite 3 retries
Could not set interface wlan0 flags (UP): Invalid or incomplete multibyte or wide character
nl80211: Could not set interface 'wlan0' UP
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface wlan0 wasn't started
wlcore: ERROR firmware size is not multiple of 32 bits: 1226
wlcore: ERROR firmware size is not multiple of 32 bits: 1226
wlcore: ERROR firmware size is not multiple of 32 bits: 1226
wlcore: ERROR firmware boot failed despite 3 retries
SIOCSIFFLAGS: Invalid or incomplete multibyte or wide character
wlcore: ERROR firmware size is not multiple of 32 bits: 1226
wlcore: ERROR firmware size is not multiple of 32 bits: 1226
wlcore: ERROR firmware size is not multiple of 32 bits: 1226
wlcore: ERROR firmware boot failed despite 3 retries
SIOCSIFFLAGS: Invalid or incomplete multibyte or wide character


Do we need to use any specific ini file for Linux kernel version 3.14.28?
What needs to be done to fix this issue?


Thanks,
Sandeep

  • Hi, 

    Can you please let us know the WiLink driver version used for the same? R8.7_SP3? Also are you trying to update the FW with newer version? If yes can you please specify the older FW version and the new FW version that you are using? 

    Is there a requirement to use kernel 3.14? Currently the driver is supported with v4.19. Please let me know if there is an option to upgrade the driver. 

    Regards, 

    Sudhasrhan K N