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.

WL1837 SDIO Read Error

Other Parts Discussed in Thread: WL1837MOD, WL1271, WL1837

Hello All,

                 We are trying to bring up the WL1837Mod for am437x platform. We are getting SDIO read errot. SDIO write is fine. Please help. Below is the log

] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 6.686424] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 6.754008] _gpio_request: gpio-167 (kim) status -517
[ 6.754026] (stk) : gpio 167 request failed
[ 6.777533] platform kim.7: Driver kim requests probe deferral
[ 6.786391] cpu cpu0: cpu0 regulator not ready, retry
[ 6.794527] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[ 6.882644] omapfb omapfb: no displays
[ 6.888739] omapfb omapfb: failed to setup omapfb
[ 6.898907] platform omapfb: Driver omapfb requests probe deferral
[ 6.938616] cryptodev: disagrees about version of symbol module_layout
[ 7.024739] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[ 7.138943] wl1271_sdio mmc1:0001:2: sdio write 53 addr 0x1ffc4, 4 bytes
[ 7.139092] wl1271_sdio mmc1:0001:2: sdio write 53 addr 0x1ffc0, 4 bytes
[ 7.139162] wl1271_sdio mmc1:0001:2: sdio write 53 addr 0x1ffcc, 4 bytes
[ 7.139221] wl1271_sdio mmc1:0001:2: sdio write 53 addr 0x1ffc8, 4 bytes
[ 7.139276] wl1271_sdio mmc1:0001:2: sdio write 53 addr 0x1ffd4, 4 bytes
[ 7.139329] wl1271_sdio mmc1:0001:2: sdio write 53 addr 0x1ffd0, 4 bytes
[ 7.139382] wl1271_sdio mmc1:0001:2: sdio write 53 addr 0x1ffd8, 4 bytes
[ 7.139452] wl1271_sdio mmc1:0001:2: sdio write 52 addr 0x1fffc, byte 0x01
[ 7.164558] wl1271_sdio mmc1:0001:2: sdio read 53 addr 0x13738, 4 bytes
[ 7.164572] ------------[ cut here ]------------
[ 7.169538] WARNING: CPU: 0 PID: 47 at drivers/net/wireless/ti/wlcore/sdio.c:108 wl12xx_sdio_raw_read+0xc4/0x170 [wlcore_sdio]()
[ 7.181871] Modules linked in: wl18xx wlcore mac80211 cfg80211 wlcore_sdio bluetooth
[ 7.190179] CPU: 0 PID: 47 Comm: kworker/0:1 Not tainted 3.12.10-ti2013.12.01 #5
[ 7.198072] Workqueue: events request_firmware_work_func
[ 7.203746] Backtrace:
[ 7.206371] [<c001745c>] (dump_backtrace+0x0/0x10c) from [<c00175fc>] (show_stack+0x18/0x1c)
[ 7.215378] r6:bf042c18 r5:0000006c r4:00000000 r3:c07f534c
[ 7.221460] [<c00175e4>] (show_stack+0x0/0x1c) from [<c056c2a0>] (dump_stack+0x20/0x28)
[ 7.230016] [<c056c280>] (dump_stack+0x0/0x28) from [<c00469c0>] (warn_slowpath_common+0x6c/0x8c)
[ 7.239492] [<c0046954>] (warn_slowpath_common+0x0/0x8c) from [<c0046a04>] (warn_slowpath_null+0x24/0x2c)
[ 7.249694] r8:ec332bc0 r7:00000004 r6:ed432010 r5:ed2cb000 r4:00013738
[ 7.256873] [<c00469e0>] (warn_slowpath_null+0x0/0x2c) from [<bf042484>] (wl12xx_sdio_raw_read+0xc4/0x170 [wlcore_sdio])
[ 7.268545] [<bf0423c0>] (wl12xx_sdio_raw_read+0x0/0x170 [wlcore_sdio]) from [<bf0dd4e0>] (wlcore_nvs_cb+0x6f0/0x9ac [wlcore])
[ 7.280697] r8:ec3d0600 r7:bf0f7874 r6:ed432000 r5:00000000 r4:ed3d4c20
[ 7.287896] [<bf0dcdf0>] (wlcore_nvs_cb+0x0/0x9ac [wlcore]) from [<c0341dfc>] (request_firmware_work_func+0x40/0x60)
[ 7.299135] [<c0341dbc>] (request_firmware_work_func+0x0/0x60) from [<c00596b8>] (process_one_work+0xf8/0x33c)
[ 7.309800] r4:ed0d3940
[ 7.312511] [<c00595c0>] (process_one_work+0x0/0x33c) from [<c0059cb8>] (worker_thread+0x128/0x384)
[ 7.322169] [<c0059b90>] (worker_thread+0x0/0x384) from [<c005f74c>] (kthread+0xac/0xb8)
[ 7.330817] [<c005f6a0>] (kthread+0x0/0xb8) from [<c0014238>] (ret_from_fork+0x14/0x3c)
[ 7.339353] r7:00000000 r6:00000000 r5:c005f6a0 r4:ed095e78
[ 7.345402] ---[ end trace d1fb6a1215e3dc2a ]---
[ 7.350338] wl1271_sdio mmc1:0001:2: sdio read failed (-84)
[ 7.372310] wlcore: ERROR couldn't get hw info

Regards,

Rudresh