Skip to contentSkip to conversation

wl1271 NVS file loading

DISCUSSION Ben Gamari 2 participants 2 messages Apr 2, 2012 1 message not in the archive

lore
Share & tools
lore

Ben Gamari

author
#1 lore raw
In reply to a message not in the archive
Quoted 17 lines · Ben Gamari

Hello all,

I'm running a PandaBoard with Linaro 12.03 and a patched 3.3 kernel. While wl1271 works perfectly with the Linaro kernel, it fails to load in the case of my patched kernel with,

wl12xx: ERROR could not get nvs file ti-connectivity/wl1271-nvs.bin: -2

What is even more perplexing is the fact that the file in question clearly exists,

        $ ls /lib/firmware/ti-connectivity/*-nvs.bin -l
        -rw-r--r-- 1 root root  912 2012-03-24 16:28 /lib/firmware/ti-connectivity/wl1271-nvs.bin
        -rw-r--r-- 1 root root  912 2012-03-24 16:28 /lib/firmware/ti-connectivity/wl127x-nvs.bin
        -rw-r--r-- 1 root root 1113 2012-03-24 16:28 /lib/firmware/ti-connectivity/wl128x-nvs.bin
        lrwxrwxrwx 1 root root   14 2012-01-24 13:10 /lib/firmware/ti-connectivity/wl12xx-nvs.bin -> wl127x-nvs.bin
Quoted 4 lines

It seems that there is no easy way to troubleshoot udev's /lib/udev/firmware script, so I have really no way of tracking this down any further. Any ideas what might be going on here?

It turns out I had neglected to compile wl1271 as a module and the firmware hadn't made it into the initrd. I apologize for the noise.

Cheers,

- Ben

#2 lore raw

Hi Ben,

Quoted 16 lines · Ben Gamari
Quoted 15 lines · Ben Gamari

I'm running a PandaBoard with Linaro 12.03 and a patched 3.3 kernel. While wl1271 works perfectly with the Linaro kernel, it fails to load in the case of my patched kernel with,

wl12xx: ERROR could not get nvs file ti-connectivity/wl1271-nvs.bin: -2

What is even more perplexing is the fact that the file in question clearly exists,

        $ ls /lib/firmware/ti-connectivity/*-nvs.bin -l
        -rw-r--r-- 1 root root  912 2012-03-24 16:28 /lib/firmware/ti-connectivity/wl1271-nvs.bin
        -rw-r--r-- 1 root root  912 2012-03-24 16:28 /lib/firmware/ti-connectivity/wl127x-nvs.bin
        -rw-r--r-- 1 root root 1113 2012-03-24 16:28 /lib/firmware/ti-connectivity/wl128x-nvs.bin
        lrwxrwxrwx 1 root root   14 2012-01-24 13:10 /lib/firmware/ti-connectivity/wl12xx-nvs.bin -> wl127x-nvs.bin
Quoted 6 lines
Quoted 4 lines

It seems that there is no easy way to troubleshoot udev's /lib/udev/firmware script, so I have really no way of tracking this down any further. Any ideas what might be going on here?

It turns out I had neglected to compile wl1271 as a module and the firmware hadn't made it into the initrd. I apologize for the noise.

I'm glad you managed to work around this bug. We need to fix this according to some recent changes in the udev code. The change should be simple and we just need to wait until the firmware is available if we try to load it and it's not ready yet.

This fix will be queued up for 3.5.

Signature · 2 lines
Cheers,
Luca.