* Re: wl1271 NVS file loading [not found] <877gxz6n9i.fsf@gmail.com> @ 2012-04-02 0:10 ` Ben Gamari 2012-04-02 8:54 ` Luciano Coelho 0 siblings, 1 reply; 3+ messages in thread From: Ben Gamari @ 2012-04-02 0:10 UTC (permalink / raw) To: linux-wireless Ben Gamari <bgamari.foss@gmail.com> writes: > 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 > > 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: wl1271 NVS file loading 2012-04-02 0:10 ` wl1271 NVS file loading Ben Gamari @ 2012-04-02 8:54 ` Luciano Coelho 2013-07-09 14:16 ` Ben Gamari 0 siblings, 1 reply; 3+ messages in thread From: Luciano Coelho @ 2012-04-02 8:54 UTC (permalink / raw) To: Ben Gamari; +Cc: linux-wireless Hi Ben, On Sun, 2012-04-01 at 20:10 -0400, Ben Gamari wrote: > Ben Gamari <bgamari.foss@gmail.com> writes: > > 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 > > > > 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. -- Cheers, Luca. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: wl1271 NVS file loading 2012-04-02 8:54 ` Luciano Coelho @ 2013-07-09 14:16 ` Ben Gamari 0 siblings, 0 replies; 3+ messages in thread From: Ben Gamari @ 2013-07-09 14:16 UTC (permalink / raw) To: ravichandra bangalore; +Cc: Luciano Coelho, linux-wireless [-- Attachment #1: Type: text/plain, Size: 1405 bytes --] ravichandra bangalore <ravichandra.bangalore@gmail.com> writes: > Hi > Moving to linux-wireless@ and including Luciano Coelho who replied to my original request. It's often best to reply to the original thread (or at least include the original list) in these cases so others might benefit From the resulting discussion. > This is related to your posting on "wl1271 NVS file loading" in forum > linux-wireless@vger.kernel.org > > We are facing same issue while loading wl12xx.ko > wl12xx: ERROR could not get nvs file ti-connectivity/wl1271-nvs.bin: -2 > Can you please let us know how do you fix this issue. > > How to compile "wl1271 as a module" > I suspect the bug that brought about the need for wl1271 to be a module is probably fixed by now (assuming your kernel is newer than 3.5). Luciano might be able to confirm this. If this is the case, you may want to verify that /lib/firmware/ti-connectivity/wl1271-nvs.bin exists. If it does not, you simply need to install the firmware by whatever means your distribution provides (e.g. Debian/Ubuntu's `linux-firmware` package). Otherwise, you can try compiling as a module. You can do this by either editing `.config` or using the `make menuconfig` command. There are numerous guides describing this to be found online. The relevant confirmation symbol is `CONFIG_WL12XX`, if I recall correctly. Cheers, - Ben [-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-09 14:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <877gxz6n9i.fsf@gmail.com>
2012-04-02 0:10 ` wl1271 NVS file loading Ben Gamari
2012-04-02 8:54 ` Luciano Coelho
2013-07-09 14:16 ` Ben Gamari
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox