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.

Linux/WL1837MOD: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2

Part Number: WL1837MOD

Tool/software: Linux

I am using the linux of the Angstrom Distribution v2016.12 for colibri-imx6 to manage the MOD1837MOD on the target board, till now both the wifi and bluetooth can work, but there is a question during booting, 
that is the wl1271-nvs.bin file can not be loaded. so my question are
  • what is the file wl1271-nvs,bin for?
  • why it can not be loaded?

I have checked the file assistance and the file can be copied to other place, so it should not be corrupted file.

this file is a link to wl127x-nvs.bin, so I also tried to rename the wl127x-nvs.bin to wl1271-nvs.bin to avoid the use of file link. but the error message in booting is same with the ret=2.

the ret=2 should be the "#define    ENOENT         2    /* No such file or directory */" in the linux kernel file errno-base.h

the following is the segment of the log, there are some additional printk() output for trace the source of the error

[    2.030958] wl18xx_driver wl18xx.0.auto: fw_path[0]=
[    2.035976] wl18xx_driver wl18xx.0.auto: fw_path[1]=/lib/firmware/updates/4.1.41-2.7.3+g82f0f4f
[    2.044719] wl18xx_driver wl18xx.0.auto: firmware path= /lib/firmware/updates/4.1.41-2.7.3+g82f0f4f/ti-connectivity/wl1271-nvs.bin
[    2.059596] filp_open filename is right
[    2.063459] into do_filp_open
[    2.066513] wl18xx_driver wl18xx.0.auto: fail to open /lib/firmware/updates/4.1.41-2.7.3+g82f0f4f/ti-connectivity/wl1271-nvs.bin, ret=-2
[    2.074802] Bluetooth: ECDH test passed in 49788 usecs
[    2.084122] wl18xx_driver wl18xx.0.auto: fw_path[2]=/lib/firmware/updates
[    2.090944] wl18xx_driver wl18xx.0.auto: firmware path= /lib/firmware/updates/ti-connectivity/wl1271-nvs.bin
[    2.097445] Bluetooth: SMP test passed in 159 usecs
[    2.097469] Bluetooth: Finished self testing
[    2.099767] ALSA device list:
[    2.099771]   #0: imx6-colibri-sgtl5000
[    2.116861] filp_open filename is right
[    2.116863] into do_filp_open
[    2.116892] wl18xx_driver wl18xx.0.auto: fail to open /lib/firmware/updates/ti-connectivity/wl1271-nvs.bin, ret=-2
[    2.116899] wl18xx_driver wl18xx.0.auto: fw_path[3]=/lib/firmware/4.1.41-2.7.3+g82f0f4f
[    2.116905] wl18xx_driver wl18xx.0.auto: firmware path= /lib/firmware/4.1.41-2.7.3+g82f0f4f/ti-connectivity/wl1271-nvs.bin
[    2.116908] filp_open filename is right
[    2.116909] into do_filp_open
[    2.116923] wl18xx_driver wl18xx.0.auto: fail to open /lib/firmware/4.1.41-2.7.3+g82f0f4f/ti-connectivity/wl1271-nvs.bin, ret=-2
[    2.116928] wl18xx_driver wl18xx.0.auto: fw_path[4]=/lib/firmware
[    2.116935] wl18xx_driver wl18xx.0.auto: firmware path= /lib/firmware/ti-connectivity/wl1271-nvs.bin
[    2.116937] filp_open filename is right
[    2.116938] into do_filp_open
[    2.116951] wl18xx_driver wl18xx.0.auto: fail to open /lib/firmware/ti-connectivity/wl1271-nvs.bin, ret=-2
[    2.116958] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2