2011-08-10 11:45:08

by [email protected]

[permalink] [raw]
Subject: Problem bringing up wlan0 interface up with mainline wl1271 drivers on Panda Board with 2.6.39 Kernel

I am using Panda Board with 2.6.39 Kernel

when ever i insert the driver , error comes out "wl1271: ERROR could not get nvs
file: -2"

as you can see from the logs...

/ # insmod file-sys-2.6.39/lib/modules/2.6.39/kernel/net/wireless/cfg80211.ko
[ 18.853088] cfg80211: Calling CRDA to update world regulatory domain
/ # insmod file-sys-2.6.39/lib/modules/2.6.39/kernel/net/mac80211/mac80211.ko
/ # insmod file-sys-2.6.39/lib/modules/2.6.39/kernel/drivers/net/wireless/wl12xx
/wl12xx.ko
/ # insmod file-sys-2.6.39/lib/modules/2.6.39/kernel/drivers/net/wireless/wl12xx
/wl12xx_sdio.ko
[ 112.121643] wl1271: ERROR could not get nvs file: -2
[ 112.137634] wl1271_sdio mmc1:0001:2: wlan0: Features changed: 0x00004800 ->
0x00004000
[ 112.148712] wl1271: loaded
[ 112.151550] wl1271: initialized
/ # ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

/ # ifconfig wlan0 hw ether 00:22:33:44:55:66
/ # ifconfig wlan0 hw ether 00:22:33:44:55:D1
/ # ifconfig -a
lo Link encap:Local Loopback
LOOPBACK MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:22:33:44:55:D1
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

/ # ifconfig wlan0 down
/ # ifconfig wlan0 up
[ 427.125793] wl1271: ERROR could not get firmware: -2
[ 488.123046] wl1271: ERROR could not get firmware: -2




2011-08-10 11:59:24

by Arik Nemtsov

[permalink] [raw]
Subject: Re: Problem bringing up wlan0 interface up with mainline wl1271 drivers on Panda Board with 2.6.39 Kernel

Hey Amit,

On Wed, Aug 10, 2011 at 14:38, [email protected]
<[email protected]> wrote:
> I am using Panda Board with 2.6.39 Kernel
>
> when ever i insert the driver , error comes out "wl1271: ERROR could not get nvs
> file: -2"
>

You should put a NVS file in the same folder as your FW file. You can
read more about it in
http://linuxwireless.org/en/users/Drivers/wl12xx.

If you're having further issues we're on IRC - #wl12xx on freenode.

Arik