Hi everyone,
I am facing issue with WL1271 module by LSR TiWi-R2 on my custom board using DM8168... I am using wlan build scripts for building module, firmware and other utilities. Wlan is getting powered on and I get a message firmware is booted, but when i do scan, I get error saying ELP wakeup timeout and then a crash message comes.
Here is my command sequence:
------------------------------------------------------------
root@dm816x-evm:~# ifconfig wlan0 down
root@dm816x-evm:~# ifconfig wlan0 hw ether de:ad:be:ef:c0:fe
root@dm816x-evm:~# ifconfig wlan0 up
Powering on wl12xx
wl1271: firmware booted (Rev 6.3.6.0.79_2)
wl1271: Driver version: R4_SP2_02_03
ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@dm816x-evm:~# iw wlan0 scan
wl1271: ERROR ELP wakeup timeout!
wl1271: Reading FW panic log
------------[ cut here ]------------
WARNING: at /home/ajay/galaxy-ip/mirach/wifibt/compat-wireless/drivers/net/wireless/wl12xx/cmd.c:65 wl1271_cmd_send+0x64/0x374 [wl12xx]()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211 compat
Backtrace:
[<c004bb58>] (dump_backtrace+0x0/0x110) from [<c03d1680>] (dump_stack+0x18/0x1c)
r7:00000000 r6:bf0e3e44 r5:bf0f6fdd r4:00000041
[<c03d1668>] (dump_stack+0x0/0x1c) from [<c006ee1c>] (warn_slowpath_common+0x54/0x6c)
[<c006edc8>] (warn_slowpath_common+0x0/0x6c) from [<c006ee58>] (warn_slowpath_null+0x24/0x2c)
r9:bf0e2c74 r8:cbde29c0 r7:cbde5400 r6:cc80ce40 r5:cc80ce40
r4:00000004
[<c006ee34>] (warn_slowpath_null+0x0/0x2c) from [<bf0e3e44>] (wl1271_cmd_send+0x64/0x374 [wl12xx])
[<bf0e3de0>] (wl1271_cmd_send+0x0/0x374 [wl12xx]) from [<bf0e42d8>] (wl12xx_cmd_stop_fwlog+0x58/0x84 [wl12xx])
[<bf0e4280>] (wl12xx_cmd_stop_fwlog+0x0/0x84 [wl12xx]) from [<bf0e2d18>] (wl1271_recovery_work+0xa4/0x2cc [wl12xx])
r5:c05896ec r4:cc80d078
[<bf0e2c74>] (wl1271_recovery_work+0x0/0x2cc [wl12xx]) from [<c0080fe0>] (process_one_work+0x1ec/0x318)
[<c0080df4>] (process_one_work+0x0/0x318) from [<c0081938>] (worker_thread+0x1b4/0x2d0)
[<c0081784>] (worker_thread+0x0/0x2d0) from [<c0085ca8>] (kthread+0x8c/0x94)
[<c0085c1c>] (kthread+0x0/0x94) from [<c0072008>] (do_exit+0x0/0x5e4)
r7:00000013 r6:c0072008 r5:c0085c1c r4:cca31ee0
---[ end trace 951aa4da8d1b51b8 ]---
command failed: Connection timedFirst address of fwlogger = 0x2603
out (-110)
wl1271: Hardware recovery in progress. FW ver: Rev 6.3.6.0.79_2 pc: 0x0
root@dm816x-evm:wl1271: down
~# Powering off wl12xx
ieee80211 phy0: Hardware restart was requested
Powering on wl12xx
wl1271: firmware booted (Rev 6.3.6.0.79_2)
wl1271: Driver version: R4_SP2_02_03
------------------------------------------------------------
Please help me regarding this issue. I am not able to find the root cause.
Regards,
Ajay Bhargav