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.

AM335x Wifi failed

Other Parts Discussed in Thread: WL1271

Hi Team,

on my am335x board i see following error:

[   37.226959] ------------[ cut here ]------------
[   37.231964] WARNING: at /home/oleg/TI_Android_JB_4.2.2_DevKit_4.1.1/hardware/ti/wlan/mac80211/compat_wl12xx/drivers/net/wireless/wl12xx/sdio.c:126 wl12xx_sdio_raw_write+0xa8/0xe0 [wl12xx_sdio]()
[   37.250244] Modules linked in: wl12xx_sdio(O+) omaplfb(O) wl12xx(O) pvrsrvkm(O) mac80211(O) cfg80211(O) compat(O)
[   37.261108] Backtrace:
[   37.263732] [<c00176e8>] (dump_backtrace+0x0/0x114) from [<c05a4b50>] (dump_stack+0x20/0x24)
[   37.272644]  r6:0000007e r5:bf1311e0 r4:00000000 r3:c08023a0
[   37.278656] [<c05a4b30>] (dump_stack+0x0/0x24) from [<c0041f74>] (warn_slowpath_common+0x5c/0x74)
[   37.288055] [<c0041f18>] (warn_slowpath_common+0x0/0x74) from [<c0041fb8>] (warn_slowpath_null+0x2c/0x34)
[   37.298156]  r8:00000004 r7:cbfbc940 r6:cbfbe608 r5:0001ffc4 r4:cf307e00
[   37.305084] r3:00000009
[   37.307861] [<c0041f8c>] (warn_slowpath_null+0x0/0x34) from [<bf1311e0>] (wl12xx_sdio_raw_write+0xa8/0xe0 [wl12xx_sdio])
[   37.319458] [<bf131138>] (wl12xx_sdio_raw_write+0x0/0xe0 [wl12xx_sdio]) from [<bf0f9620>] (wl1271_set_partition+0x88/0x3fc [wl12xx])
[   37.332061]  r8:0000030e r7:00000001 r6:bf117610 r5:bf117444 r4:cbfcd780
[   37.339233] [<bf0f9598>] (wl1271_set_partition+0x0/0x3fc [wl12xx]) from [<bf0efe04>] (wl12xx_set_power_on+0x7c/0x15c [wl12xx])
[   37.351257]  r6:cbfcc100 r5:00000000 r4:cbfcd780
[   37.356201] [<bf0efd88>] (wl12xx_set_power_on+0x0/0x15c [wl12xx]) from [<bf10b688>] (wl12xx_probe+0xa78/0x12b8 [wl12xx])
[   37.367706]  r5:cbfce00c r4:cbfcd780
[   37.371520] [<bf10ac10>] (wl12xx_probe+0x0/0x12b8 [wl12xx]) from [<c02d562c>] (platform_drv_probe+0x28/0x2c)
[   37.381927] [<c02d5604>] (platform_drv_probe+0x0/0x2c) from [<c02d40f0>] (driver_probe_device+0xa0/0x1bc)
[   37.392059] [<c02d4050>] (driver_probe_device+0x0/0x1bc) from [<c02d42f8>] (__device_attach+0x4c/0x50)
[   37.401885]  r8:c088bd34 r7:00000000 r6:c02d42ac r5:cbfbe608 r4:bf116e50
[   37.408782] r3:c02d5f0c
[   37.411560] [<c02d42ac>] (__device_attach+0x0/0x50) from [<c02d2e30>] (bus_for_each_drv+0x6c/0x98)
[   37.421020]  r5:00000000 r4:cbfbe608
[   37.424835] [<c02d2dc4>] (bus_for_each_drv+0x0/0x98) from [<c02d3ffc>] (device_attach+0xa4/0xc8)
[   37.434082]  r6:cf307e08 r5:cbfbe63c r4:cbfbe608
[   37.438995] [<c02d3f58>] (device_attach+0x0/0xc8) from [<c02d377c>] (bus_probe_device+0x34/0x50)
[   37.448272]  r6:cf307e08 r5:cbfbe610 r4:cbfbe608 r3:00000001
[   37.454284] [<c02d3748>] (bus_probe_device+0x0/0x50) from [<c02d1b4c>] (device_add+0x4c4/0x590)
[   37.463470] [<c02d1688>] (device_add+0x0/0x590) from [<c02d5c94>] (platform_device_add+0x108/0x1b8)
[   37.473052] [<c02d5b8c>] (platform_device_add+0x0/0x1b8) from [<bf131594>] (wl1271_probe+0x1b8/0x210 [wl12xx_sdio])
[   37.484069]  r7:cf307e08 r6:cf0adc80 r5:cbfbcc80 r4:00000000
[   37.490081] [<bf1313dc>] (wl1271_probe+0x0/0x210 [wl12xx_sdio]) from [<c03f0460>] (sdio_bus_probe+0xdc/0x108)
[   37.500549]  r7:bf13164c r6:bf131880 r5:cf307e00 r4:cf307e08
[   37.506530] [<c03f0384>] (sdio_bus_probe+0x0/0x108) from [<c02d40f0>] (driver_probe_device+0xa0/0x1bc)
[   37.516357]  r8:bf131880 r7:00000000 r6:cf307e3c r5:c088bd58 r4:cf307e08
[   37.523284] r3:c03f0384
[   37.526062] [<c02d4050>] (driver_probe_device+0x0/0x1bc) from [<c02d42a8>] (__driver_attach+0x9c/0xa0)
[   37.535888]  r8:00000001 r7:00000000 r6:cf307e3c r5:bf131880 r4:cf307e08
[   37.542816] r3:00000000
[   37.545593] [<c02d420c>] (__driver_attach+0x0/0xa0) from [<c02d3194>] (bus_for_each_dev+0x6c/0x98)
[   37.555053]  r6:c02d420c r5:00000000 r4:bf131880 r3:c02d420c
[   37.561065] [<c02d3128>] (bus_for_each_dev+0x0/0x98) from [<c02d3d64>] (driver_attach+0x2c/0x30)
[   37.570343]  r6:cbfb1ec0 r5:c0833c0c r4:bf131880
[   37.575225] [<c02d3d38>] (driver_attach+0x0/0x30) from [<c02d39fc>] (bus_add_driver+0x188/0x248)
[   37.584533] [<c02d3874>] (bus_add_driver+0x0/0x248) from [<c02d47ec>] (driver_register+0x88/0x140)
[   37.593994] [<c02d4764>] (driver_register+0x0/0x140) from [<c03f05cc>] (sdio_register_driver+0x34/0x38)
[   37.603912]  r8:00000001 r7:00000001 r6:00000000 r5:c0844b40 r4:cbfc0000
[   37.610839] r3:bf131870
[   37.613616] [<c03f0598>] (sdio_register_driver+0x0/0x38) from [<bf133014>] (wl1271_init+0x14/0x1c [wl12xx_sdio])
[   37.624359] [<bf133000>] (wl1271_init+0x0/0x1c [wl12xx_sdio]) from [<c0008780>] (do_one_initcall+0x124/0x18c)
[   37.634857] [<c000865c>] (do_one_initcall+0x0/0x18c) from [<c0075b98>] (sys_init_module+0x3ec/0x1bd8)
[   37.644592] [<c00757ac>] (sys_init_module+0x0/0x1bd8) from [<c00138e0>] (ret_fast_syscall+0x0/0x30)
[   37.654144] ---[ end trace 0c99914adebf5520 ]---
[   37.659027] wl1271_sdio mmc1:0001:2: sdio write failed (-84)
[   37.668273] wl12xx: ERROR couldn't get hw info
[   37.691070] wl12xx_driver: probe of wl12xx failed with error -84

bootlog and logcat are attached, what could be the problem?

Thanks and regards,

Oleg