Beagleboard Toys Wlan Adapter (LS240) and Devkit

Hi Beagle friends,

A quick question. Has anyone done any work on getting the BBToys Wlan
Adapter (the one that uses the LS240/WL1271) working with Devkit
(either froyo or gingerbread)? While I'm here, are there any pre-built
images (or even source tarballs) for the BBToy-Wifi that are known to
work?

Thanks,
jaya

jaya, isn’t it supposed to be plug n play … one the Beagleboard?

Mark

Only if you are using angstrom :slight_smile:

Good thing this post came. I have one that I’ve not yet tried. Now here to find the drivers for Ubuntu and Android?

Mark

Good luck on that one, the ubuntu/linaro guys have no support for any
expansion boards...

As long as you have the firmware installed my 3.0.x deb on rcn-ee.net
has support for the wifi adapter.. (personally untested, but from
koen's patchset. )

Regards,

The BeagleToys/Curcuitco link to a supposed download has nothing. Haven’t tried it in a month so I don’t know if that changed. Patience.

Mark.

I checked at:
http://beagleboardtoys.com/wlan/

which links to:
http://www.beagleboardtoys.com/wlan/support/

which says:
"under construction"

which I think means I'm on my own for now. Based on Koen's reply, I
think my next step is to try oe narcissus. I'll report back if it
includes ls240 wifi.

Thanks,
jaya

The BeagleToys/Curcuitco link to a supposed download has nothing. Haven't
tried it in a month so I don't know if that changed. Patience.

I checked at:
http://beagleboardtoys.com/wlan/

which links to:
http://www.beagleboardtoys.com/wlan/support/

which says:
"under construction"

which I think means I'm on my own for now. Based on Koen's reply, I
think my next step is to try oe narcissus.

oe has no Narcissus, only angstrom does

I think Narcissus looks good, I see:

$ find . -name \*wl12xx_sdio\*
./lib/modules/2.6.39/kernel/drivers/net/wireless/wl12xx/wl12xx_sdio.ko

$ egrep -i texas usr/sbin/hciattach
Binary file usr/sbin/hciattach matches

but I don't see wl1271 firmware, wl1271-fw-2.bin files. I'll try
adding that manually from the devkit 2.1 gingerbread files and see how
that goes.

Thanks,
jaya

Links to the SW and relevant info:

http://linuxwireless.org/en/users/Drivers/wl12xx

http://processors.wiki.ti.com/index.php/OMAP35x_Wireless_Connectivity_Solution_Hardware

http://processors.wiki.ti.com/index.php/ARM_Processor_Wireless_Connectivity_Software_specifications

http://processors.wiki.ti.com/index.php/ARM_Processor_Wireless_Connectivity_Downloads

Mark.

Links to the SW and relevant info:

http://linuxwireless.org/en/users/Drivers/wl12xx

http://processors.wiki.ti.com/index.php/OMAP35x_Wireless_Connectivity

http://processors.wiki.ti.com/index.php/ARM_Processor_Wireless_Connec

http://processors.wiki.ti.com/index.php/ARM_Processor_Wireless_Connec

Mark,

Not sure I understand what you mean. None of above are solutions for
BBXM+BBToys WLan. Did I misunderstand your post?

Thanks,
jaya

Just use angstrom, it works out of the box with that.

Jaya, when I asked BeagleboardToys for the SW, those were the links they sent. So I assume they’re for development.

Mark.

Thanks Koen. I agree that Angstrom gets to the point where the
interface is created. But I don't think it works fully, angstrom fresh
out of the box gets:

[ 11.276519] wl1271: ERROR could not get nvs file: -2
[ 11.317138] wl1271_sdio mmc1:0001:2: wlan0: Features changed:
0x00004800 -> 0x00004000
[ 11.333923] wl1271: loaded
[ 11.336791] wl1271: initialized

beagleboard login: root
root@beagleboard:~# ifconfig wlan0 up
ifconfig: SIOCSIFFLAGS: Cannot assign requested address
root@beagleboard:~# iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down

I'm guessing that it is missing the ls240 firmware files. I'm planning
on adding:

ls linux-firmware/ti-connectivity/
TIInit_7.2.31.bts wl1271-fw-ap.bin wl1271-nvs.bin wl127x-fw-
plt-3.bin wl128x-fw-3.bin wl128x-fw.bin wl128x-nvs.bin
wl1271-fw-2.bin wl1271-fw.bin wl127x-fw-3.bin wl127x-
nvs.bin wl128x-fw-ap.bin wl128x-fw-plt-3.bin wl12xx-nvs.bin

to the rootfs. Hopefully that'll fix things up.

Thanks,
jaya

Just a quick followup, once I added the ti-connectivity stuff, the
interface comes up and I'm able to scan and even connect to open
access points. But trying to connect to a WPA-PSK AP does not work and
causes the wl1271 driver to get very unhappy.

U-Boot 2011.03-rc1-00000-g5ace684-dirty (May 15 2011 - 18:50:56)

OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In: serial
Out: serial
Err: serial
Beagle xM Rev A
Recognized BeagleBoardToys WiFi board
Die ID #298600019ff80000015eeaa10100301f

root@beagleboard:~# ifconfig wlan0 up ; iwlist wlan0 scan
wlan0 Scan completed :
         Cell 01 - Address: 00:0E:8E:14:A8:7D
                   Channel:3
                   Frequency:2.422 GHz (Channel 3)
                   Quality=65/70 Signal level=-45 dBm
                   Encryption key:on
                   ESSID:"yobeaglesofat"
                   Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                             18 Mb/s; 36 Mb/s; 54 Mb/s
                   Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                   Mode:Master
                   Extra:tsf=00000a64e2d42f70
                   Extra: Last beacon: 1726ms ago
                   IE: Unknown: 00085769736572313233
                   IE: Unknown: 010882848B961224486C
                   IE: Unknown: 030103
                   IE: Unknown: 2A0100
                   IE: Unknown: 32048C98B060
                   IE: Unknown:
2D1AEE110FFFFF0000010000000000000000000000000C0000000000
                   IE: Unknown:
3D1603050700000000000000000000000000000000000000
                   IE: Unknown: 3E0100
                   IE: WPA Version 1
                       Group Cipher : CCMP
                       Pairwise Ciphers (1) : CCMP
                       Authentication Suites (1) : PSK
                   IE: Unknown:
DD180050F2020101000003A4000027A4000042435E0062322F00
                   IE: Unknown: 7F0101
                   IE: Unknown: DD07000C4304000000
                   IE: Unknown:
DD1E00904C33EE110FFFFF0000010000000000000000000000000C0000000000
                   IE: Unknown:
DD1A00904C3403050700000000000000000000000000000000000000

root@beagleboard:~# iwconfig wlan0 essid Wireless ap any ; udhcpc -i
wlan0
udhcpc (v1.18.5) started
Sending discover...
[ 267.485229] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 267.492462] wl1271: Association completed.
Sending discover...
[ 271.621520] wl1271: AP with dysfunctional ps-poll, trying to work
around it.
Sending select for 192.168.100.164...
Lease of 192.168.100.164 obtained, lease time 3600
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
adding dns 8.8.8.8
adding dns 208.67.222.222

Crashes when doing secured wpa-psk AP configured in the interfaces
config file.

root@beagleboard:~# ifdown wlan0; sleep 2;ifup wlan0
[ 335.047393] cfg80211: Calling CRDA to update world regulatory
domain
[ 335.056884] wl1271: down
[ 338.156036] omap_hsmmc omap_hsmmc.1: could not set regulator OCR
(-22)
[ 339.976501] wl1271: ERROR timeout waiting for the hardware to
complete initialization
[ 339.985107] ------------[ cut here ]------------
[ 339.989959] WARNING: at drivers/regulator/core.c:1389
_regulator_disable+0x3c/0x120()
[ 339.998229] unbalanced disables for dummy
[ 340.002716] Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
btsdio rfcomm ircomm_tty ircomm irda ipv6 hidp
[ 340.013641] [<c0046984>] (unwind_backtrace+0x0/0xe0) from
[<c006c738>] (warn_slowpath_common+0x4c/0x64)
[ 340.023498] [<c006c738>] (warn_slowpath_common+0x4c/0x64) from
[<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c)
[ 340.033538] [<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c) from
[<c0279818>] (_regulator_disable+0x3c/0x120)
[ 340.043487] [<c0279818>] (_regulator_disable+0x3c/0x120) from
[<c0279928>] (regulator_disable+0x2c/0x68)
[ 340.053466] [<c0279928>] (regulator_disable+0x2c/0x68) from
[<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8)
[ 340.063873] [<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8) from
[<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc)
[ 340.074462] [<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc) from
[<c036832c>] (mmc_power_off+0x58/0x5c)
[ 340.084045] [<c036832c>] (mmc_power_off+0x58/0x5c) from
[<c0368408>] (mmc_power_save_host+0xd8/0xe0)
[ 340.093902] [<c0368408>] (mmc_power_save_host+0xd8/0xe0) from
[<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88 [wl12xx_sdio])
[ 340.105560] [<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88
[wl12xx_sdio]) from [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx])
[ 340.118621] [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx]) from [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
[ 340.131164] [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
from [<c03d1a34>] (__dev_open+0x9c/0xf4)
[ 340.141479] [<c03d1a34>] (__dev_open+0x9c/0xf4) from [<c03d1c54>]
(__dev_change_flags+0x8c/0x110)
[ 340.150787] [<c03d1c54>] (__dev_change_flags+0x8c/0x110) from
[<c03d1d44>] (dev_change_flags+0x10/0x44)
[ 340.160675] [<c03d1d44>] (dev_change_flags+0x10/0x44) from
[<c04198e4>] (devinet_ioctl+0x2e8/0x668)
[ 340.170166] [<c04198e4>] (devinet_ioctl+0x2e8/0x668) from
[<c03bf8e0>] (sock_ioctl+0x1f8/0x244)
[ 340.179290] [<c03bf8e0>] (sock_ioctl+0x1f8/0x244) from [<c00edf80>]
(do_vfs_ioctl+0x4a4/0x518)
[ 340.188598] [<c00edf80>] (do_vfs_ioctl+0x4a4/0x518) from
[<c00ee028>] (sys_ioctl+0x34/0x54)
[ 340.197387] [<c00ee028>] (sys_ioctl+0x34/0x54) from [<c0042480>]
(ret_fast_syscall+0x0/0x30)
[ 340.206237] ---[ end trace 79bdf8fe1b0000c5 ]---
[ 340.241790] omap_hsmmc omap_hsmmc.1: could not set regulator OCR
(-22)
[ 342.059020] wl1271: ERROR timeout waiting for the hardware to
complete initialization
[ 342.067932] ------------[ cut here ]------------
[ 342.072845] WARNING: at drivers/regulator/core.c:1389
_regulator_disable+0x3c/0x120()
[ 342.081054] unbalanced disables for dummy
[ 342.085235] Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
btsdio rfcomm ircomm_tty ircomm irda ipv6 hidp
[ 342.096191] [<c0046984>] (unwind_backtrace+0x0/0xe0) from
[<c006c738>] (warn_slowpath_common+0x4c/0x64)
[ 342.106018] [<c006c738>] (warn_slowpath_common+0x4c/0x64) from
[<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c)
[ 342.116058] [<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c) from
[<c0279818>] (_regulator_disable+0x3c/0x120)
[ 342.126007] [<c0279818>] (_regulator_disable+0x3c/0x120) from
[<c0279928>] (regulator_disable+0x2c/0x68)
[ 342.135955] [<c0279928>] (regulator_disable+0x2c/0x68) from
[<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8)
[ 342.146331] [<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8) from
[<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc)
[ 342.157165] [<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc) from
[<c036832c>] (mmc_power_off+0x58/0x5c)
[ 342.166748] [<c036832c>] (mmc_power_off+0x58/0x5c) from
[<c0368408>] (mmc_power_save_host+0xd8/0xe0)
[ 342.176330] [<c0368408>] (mmc_power_save_host+0xd8/0xe0) from
[<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88 [wl12xx_sdio])
[ 342.187957] [<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88
[wl12xx_sdio]) from [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx])
[ 342.201019] [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx]) from [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
[ 342.213562] [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
from [<c03d1a34>] (__dev_open+0x9c/0xf4)
[ 342.223876] [<c03d1a34>] (__dev_open+0x9c/0xf4) from [<c03d1c54>]
(__dev_change_flags+0x8c/0x110)
[ 342.233184] [<c03d1c54>] (__dev_change_flags+0x8c/0x110) from
[<c03d1d44>] (dev_change_flags+0x10/0x44)
[ 342.243011] [<c03d1d44>] (dev_change_flags+0x10/0x44) from
[<c04198e4>] (devinet_ioctl+0x2e8/0x668)
[ 342.252807] [<c04198e4>] (devinet_ioctl+0x2e8/0x668) from
[<c03bf8e0>] (sock_ioctl+0x1f8/0x244)
[ 342.261932] [<c03bf8e0>] (sock_ioctl+0x1f8/0x244) from [<c00edf80>]
(do_vfs_ioctl+0x4a4/0x518)
[ 342.270965] [<c00edf80>] (do_vfs_ioctl+0x4a4/0x518) from
[<c00ee028>] (sys_ioctl+0x34/0x54)
[ 342.279724] [<c00ee028>] (sys_ioctl+0x34/0x54) from [<c0042480>]
(ret_fast_syscall+0x0/0x30)
[ 342.288543] ---[ end trace 79bdf8fe1b0000c6 ]---
[ 342.320190] omap_hsmmc omap_hsmmc.1: could not set regulator OCR
(-22)
[ 344.152740] wl1271: ERROR timeout waiting for the hardware to
complete initialization
[ 344.161346] ------------[ cut here ]------------
[ 344.166229] WARNING: at drivers/regulator/core.c:1389
_regulator_disable+0x3c/0x120()
[ 344.174438] unbalanced disables for dummy
[ 344.178619] Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
btsdio rfcomm ircomm_tty ircomm irda ipv6 hidp
[ 344.189575] [<c0046984>] (unwind_backtrace+0x0/0xe0) from
[<c006c738>] (warn_slowpath_common+0x4c/0x64)
[ 344.199401] [<c006c738>] (warn_slowpath_common+0x4c/0x64) from
[<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c)
[ 344.209442] [<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c) from
[<c0279818>] (_regulator_disable+0x3c/0x120)
[ 344.219665] [<c0279818>] (_regulator_disable+0x3c/0x120) from
[<c0279928>] (regulator_disable+0x2c/0x68)
[ 344.229583] [<c0279928>] (regulator_disable+0x2c/0x68) from
[<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8)
[ 344.239990] [<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8) from
[<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc)
[ 344.250579] [<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc) from
[<c036832c>] (mmc_power_off+0x58/0x5c)
[ 344.260131] [<c036832c>] (mmc_power_off+0x58/0x5c) from
[<c0368408>] (mmc_power_save_host+0xd8/0xe0)
[ 344.269714] [<c0368408>] (mmc_power_save_host+0xd8/0xe0) from
[<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88 [wl12xx_sdio])
[ 344.281341] [<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88
[wl12xx_sdio]) from [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx])
[ 344.294372] [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx]) from [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
[ 344.306915] [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
from [<c03d1a34>] (__dev_open+0x9c/0xf4)
[ 344.317474] [<c03d1a34>] (__dev_open+0x9c/0xf4) from [<c03d1c54>]
(__dev_change_flags+0x8c/0x110)
[ 344.326782] [<c03d1c54>] (__dev_change_flags+0x8c/0x110) from
[<c03d1d44>] (dev_change_flags+0x10/0x44)
[ 344.336639] [<c03d1d44>] (dev_change_flags+0x10/0x44) from
[<c04198e4>] (devinet_ioctl+0x2e8/0x668)
[ 344.346130] [<c04198e4>] (devinet_ioctl+0x2e8/0x668) from
[<c03bf8e0>] (sock_ioctl+0x1f8/0x244)
[ 344.355255] [<c03bf8e0>] (sock_ioctl+0x1f8/0x244) from [<c00edf80>]
(do_vfs_ioctl+0x4a4/0x518)
[ 344.364288] [<c00edf80>] (do_vfs_ioctl+0x4a4/0x518) from
[<c00ee028>] (sys_ioctl+0x34/0x54)
[ 344.373046] [<c00ee028>] (sys_ioctl+0x34/0x54) from [<c0042480>]
(ret_fast_syscall+0x0/0x30)
[ 344.381896] ---[ end trace 79bdf8fe1b0000c7 ]---
[ 344.386749] wl1271: ERROR firmware boot failed despite 3 retries
ifconfig: SIOCSIFFLAGS: Input/output error
[ 359.820129] omap_hsmmc omap_hsmmc.1: could not set regulator OCR
(-22)
[ 361.648071] wl1271: ERROR timeout waiting for the hardware to
complete initialization
[ 361.656951] ------------[ cut here ]------------
[ 361.661804] WARNING: at drivers/regulator/core.c:1389
_regulator_disable+0x3c/0x120()
[ 361.670043] unbalanced disables for dummy
[ 361.674255] Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
btsdio rfcomm ircomm_tty ircomm irda ipv6 hidp
[ 361.685180] [<c0046984>] (unwind_backtrace+0x0/0xe0) from
[<c006c738>] (warn_slowpath_common+0x4c/0x64)
[ 361.695037] [<c006c738>] (warn_slowpath_common+0x4c/0x64) from
[<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c)
[ 361.705078] [<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c) from
[<c0279818>] (_regulator_disable+0x3c/0x120)
[ 361.714996] [<c0279818>] (_regulator_disable+0x3c/0x120) from
[<c0279928>] (regulator_disable+0x2c/0x68)
[ 361.724945] [<c0279928>] (regulator_disable+0x2c/0x68) from
[<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8)
[ 361.735351] [<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8) from
[<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc)
[ 361.745941] [<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc) from
[<c036832c>] (mmc_power_off+0x58/0x5c)
[ 361.755828] [<c036832c>] (mmc_power_off+0x58/0x5c) from
[<c0368408>] (mmc_power_save_host+0xd8/0xe0)
[ 361.765411] [<c0368408>] (mmc_power_save_host+0xd8/0xe0) from
[<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88 [wl12xx_sdio])
[ 361.777038] [<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88
[wl12xx_sdio]) from [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx])
[ 361.790100] [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx]) from [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
[ 361.802642] [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
from [<c03d1a34>] (__dev_open+0x9c/0xf4)
[ 361.812957] [<c03d1a34>] (__dev_open+0x9c/0xf4) from [<c03d1c54>]
(__dev_change_flags+0x8c/0x110)
[ 361.822265] [<c03d1c54>] (__dev_change_flags+0x8c/0x110) from
[<c03d1d44>] (dev_change_flags+0x10/0x44)
[ 361.832122] [<c03d1d44>] (dev_change_flags+0x10/0x44) from
[<c04198e4>] (devinet_ioctl+0x2e8/0x668)
[ 361.841613] [<c04198e4>] (devinet_ioctl+0x2e8/0x668) from
[<c03bf8e0>] (sock_ioctl+0x1f8/0x244)
[ 361.851043] [<c03bf8e0>] (sock_ioctl+0x1f8/0x244) from [<c00edf80>]
(do_vfs_ioctl+0x4a4/0x518)
[ 361.860076] [<c00edf80>] (do_vfs_ioctl+0x4a4/0x518) from
[<c00ee028>] (sys_ioctl+0x34/0x54)
[ 361.868835] [<c00ee028>] (sys_ioctl+0x34/0x54) from [<c0042480>]
(ret_fast_syscall+0x0/0x30)
[ 361.877685] ---[ end trace 79bdf8fe1b0000c8 ]---
[ 361.913940] omap_hsmmc omap_hsmmc.1: could not set regulator OCR
(-22)
[ 363.741973] wl1271: ERROR timeout waiting for the hardware to
complete initialization
[ 363.750549] ------------[ cut here ]------------
[ 363.755432] WARNING: at drivers/regulator/core.c:1389
_regulator_disable+0x3c/0x120()
[ 363.763641] unbalanced disables for dummy
[ 363.767852] Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
btsdio rfcomm ircomm_tty ircomm irda ipv6 hidp
[ 363.778778] [<c0046984>] (unwind_backtrace+0x0/0xe0) from
[<c006c738>] (warn_slowpath_common+0x4c/0x64)
[ 363.788635] [<c006c738>] (warn_slowpath_common+0x4c/0x64) from
[<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c)
[ 363.798645] [<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c) from
[<c0279818>] (_regulator_disable+0x3c/0x120)
[ 363.808593] [<c0279818>] (_regulator_disable+0x3c/0x120) from
[<c0279928>] (regulator_disable+0x2c/0x68)
[ 363.818847] [<c0279928>] (regulator_disable+0x2c/0x68) from
[<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8)
[ 363.829223] [<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8) from
[<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc)
[ 363.839813] [<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc) from
[<c036832c>] (mmc_power_off+0x58/0x5c)
[ 363.849395] [<c036832c>] (mmc_power_off+0x58/0x5c) from
[<c0368408>] (mmc_power_save_host+0xd8/0xe0)
[ 363.858978] [<c0368408>] (mmc_power_save_host+0xd8/0xe0) from
[<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88 [wl12xx_sdio])
[ 363.870605] [<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88
[wl12xx_sdio]) from [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx])
[ 363.883666] [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx]) from [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
[ 363.896209] [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
from [<c03d1a34>] (__dev_open+0x9c/0xf4)
[ 363.906768] [<c03d1a34>] (__dev_open+0x9c/0xf4) from [<c03d1c54>]
(__dev_change_flags+0x8c/0x110)
[ 363.916076] [<c03d1c54>] (__dev_change_flags+0x8c/0x110) from
[<c03d1d44>] (dev_change_flags+0x10/0x44)
[ 363.925933] [<c03d1d44>] (dev_change_flags+0x10/0x44) from
[<c04198e4>] (devinet_ioctl+0x2e8/0x668)
[ 363.935424] [<c04198e4>] (devinet_ioctl+0x2e8/0x668) from
[<c03bf8e0>] (sock_ioctl+0x1f8/0x244)
[ 363.944549] [<c03bf8e0>] (sock_ioctl+0x1f8/0x244) from [<c00edf80>]
(do_vfs_ioctl+0x4a4/0x518)
[ 363.953582] [<c00edf80>] (do_vfs_ioctl+0x4a4/0x518) from
[<c00ee028>] (sys_ioctl+0x34/0x54)
[ 363.962341] [<c00ee028>] (sys_ioctl+0x34/0x54) from [<c0042480>]
(ret_fast_syscall+0x0/0x30)
[ 363.971191] ---[ end trace 79bdf8fe1b0000c9 ]---
[ 364.000061] omap_hsmmc omap_hsmmc.1: could not set regulator OCR
(-22)
[ 365.828247] wl1271: ERROR timeout waiting for the hardware to
complete initialization
[ 365.836853] ------------[ cut here ]------------
[ 365.841705] WARNING: at drivers/regulator/core.c:1389
_regulator_disable+0x3c/0x120()
[ 365.849914] unbalanced disables for dummy
[ 365.854125] Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
btsdio rfcomm ircomm_tty ircomm irda ipv6 hidp
[ 365.865051] [<c0046984>] (unwind_backtrace+0x0/0xe0) from
[<c006c738>] (warn_slowpath_common+0x4c/0x64)
[ 365.875183] [<c006c738>] (warn_slowpath_common+0x4c/0x64) from
[<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c)
[ 365.885192] [<c006c7d0>] (warn_slowpath_fmt+0x2c/0x3c) from
[<c0279818>] (_regulator_disable+0x3c/0x120)
[ 365.895141] [<c0279818>] (_regulator_disable+0x3c/0x120) from
[<c0279928>] (regulator_disable+0x2c/0x68)
[ 365.905090] [<c0279928>] (regulator_disable+0x2c/0x68) from
[<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8)
[ 365.915466] [<c03739c4>] (omap_hsmmc_235_set_power+0xa4/0xf8) from
[<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc)
[ 365.926055] [<c03744fc>] (omap_hsmmc_set_ios+0x70/0x3bc) from
[<c036832c>] (mmc_power_off+0x58/0x5c)
[ 365.935607] [<c036832c>] (mmc_power_off+0x58/0x5c) from
[<c0368408>] (mmc_power_save_host+0xd8/0xe0)
[ 365.945190] [<c0368408>] (mmc_power_save_host+0xd8/0xe0) from
[<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88 [wl12xx_sdio])
[ 365.956817] [<bf1d309c>] (wl1271_sdio_set_power+0x68/0x88
[wl12xx_sdio]) from [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx])
[ 365.970153] [<bf18d100>] (wl1271_op_add_interface+0x108/0x1d4
[wl12xx]) from [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
[ 365.982666] [<bf12f0c0>] (ieee80211_do_open+0x2bc/0x5a0 [mac80211])
from [<c03d1a34>] (__dev_open+0x9c/0xf4)
[ 365.992980] [<c03d1a34>] (__dev_open+0x9c/0xf4) from [<c03d1c54>]
(__dev_change_flags+0x8c/0x110)
[ 366.002288] [<c03d1c54>] (__dev_change_flags+0x8c/0x110) from
[<c03d1d44>] (dev_change_flags+0x10/0x44)
[ 366.012115] [<c03d1d44>] (dev_change_flags+0x10/0x44) from
[<c04198e4>] (devinet_ioctl+0x2e8/0x668)
[ 366.021606] [<c04198e4>] (devinet_ioctl+0x2e8/0x668) from
[<c03bf8e0>] (sock_ioctl+0x1f8/0x244)
[ 366.030731] [<c03bf8e0>] (sock_ioctl+0x1f8/0x244) from [<c00edf80>]
(do_vfs_ioctl+0x4a4/0x518)
[ 366.039764] [<c00edf80>] (do_vfs_ioctl+0x4a4/0x518) from
[<c00ee028>] (sys_ioctl+0x34/0x54)
[ 366.048522] [<c00ee028>] (sys_ioctl+0x34/0x54) from [<c0042480>]
(ret_fast_syscall+0x0/0x30)
[ 366.057373] ---[ end trace 79bdf8fe1b0000ca ]---
[ 366.062500] wl1271: ERROR firmware boot failed despite 3 retries
ifconfig: SIOCSIFFLAGS: Input/output error

Hi Jaya,

I’m also facing the same problem on AM3707 .
How did you fix the above issue.
Please provide some pointers for the same.

with regards,
Pavan.