AnsweredAssumed Answered

LSR TiWi5 (WL1273L) integration with IMX6DL - Calibrator issue

Question asked by Ganesan K on Feb 16, 2015
Latest reply on Feb 13, 2018 by Prasanna Kalansuriya



We are facing a problem while trying to calibrate TiWi5 module. See below for details.  Can anyone has successfully integrated so far? Please help to resolve this issue.

Issue Description:

SDIO interface is working fine. Chip ID could be read (CHIP ID=4030111) and we are able to download the PLT firmware but calibration is failing due to timeout error.  Also when we tried with default wl1271-nvs.bin, no access-points were detected, scan results were always empty so we thought that performing calibration might help but it didn’t work either (See below for the logs). When I search for clues in web there have been similar problems reported but no one has posted any conclusive solution to this issue. May be we are missing something trivial here.


HW platform: Freescale i.MX6 Dual Core  (Custom Board)

WLAN Module: TiWi5 (WL1273)

OS: Linux (Linux mx6q-ba16 3.10.17-1.0.2_ga+yocto+g8cfd44e #5 SMP Fri Feb 13 18:54:07 IST 2015 armv7l GNU/Linux)

OS Build environment: Yocto (Flat device tree is used)

Calibrator Tool version: version 0.73  (Downloaded from

PLT Firmware File & version: wl127x-fw-5-plt.bin, version: PLT (Downloaded from git://


Ouput of “iwconfig” command:


wlan0     IEEE 802.11abgn ESSID:off/any 

          Mode:Managed Access Point: Not-Associated   Tx-Power=0 dBm  

          Retry long limit:7   RTS thr:off   Fragment thr:off

Encryption key:off

          Power Management:on


sit0      no wireless extensions.


lo        no wireless extensions.


eth0      no wireless extensions.


CHIP ID was read successfully: CHIP ID=4030111


Issue Logs:


root@mx6q-ba16:~# /opt/calibrator-tool/calibrator wlan0 plt power_mode on

wlcore: power up

wlcore: firmware booted in PLT mode PLT_ON (PLT



wlcore: power up

wlcore: firmware booted in PLT mode PLT_ON (PLT

Unknown arch. Not setting nvs ver 2.1Calibrate ./new-nvs.bin

wlcore: ERROR command complete timeout

------------[ cut here ]------------

WARNING: at drivers/net/wireless/ti/wlcore/main.c:791 wl12xx_queue_recovery_work+0x64/0x68 [wlcore]()

Modules linked in: bluetooth arc4 wl12xx wlcore mac80211 cfg80211 wlcore_sdio

CPU: 0 PID: 612 Comm: calibrator Not tainted 3.10.17-1.0.2_ga+yocto+g8cfd44e #5


[<c0011da8>] (dump_backtrace+0x0/0x10c) from [<c0011fbc>] (show_stack+0x18/0x1c)

r6:bf094684 r5:00000009 r4:00000000 r3:00000000

[<c0011fa4>] (show_stack+0x0/0x1c) from [<c05dc6d8>] (dump_stack+0x24/0x28)

[<c05dc6b4>] (dump_stack+0x0/0x28) from [<c002780c>] (warn_slowpath_common+0x5c/0x74)

[<c00277b0>] (warn_slowpath_common+0x0/0x74) from [<c00278c8>] (warn_slowpath_null+0x24/0x2c)

r8:ffffb4e3 r7:000000c8 r6:c07fc0c0 r5:00000095 r4:dc030dc0


[<c00278a4>] (warn_slowpath_null+0x0/0x2c) from [<bf094684>] (wl12xx_queue_recovery_work+0x64/0x68 [wlcore])

[<bf094620>] (wl12xx_queue_recovery_work+0x0/0x68 [wlcore]) from [<bf097bd4>] (wlcore_cmd_send_failsafe+0x78/0x418 [wlcore])

r4:dc030dc0 r3:00000006

[<bf097b5c>] (wlcore_cmd_send_failsafe+0x0/0x418 [wlcore]) from [<bf097ff4>] (wl1271_cmd_test+0x54/0xa0 [wlcore])

[<bf097fa0>] (wl1271_cmd_test+0x0/0xa0 [wlcore]) from [<bf0a6688>] (wl1271_tm_cmd+0x1a0/0x548 [wlcore])

r5:dc030dc0 r4:00000000

[<bf0a64e8>] (wl1271_tm_cmd+0x0/0x548 [wlcore]) from [<bf0566d4>] (ieee80211_testmode_cmd+0x2c/0x3c [mac80211])

[<bf0566a8>] (ieee80211_testmode_cmd+0x0/0x3c [mac80211]) from [<bf00f1c4>] (nl80211_testmode_do+0x54/0x70 [cfg80211])

[<bf00f170>] (nl80211_testmode_do+0x0/0x70 [cfg80211]) from [<c051be08>] (genl_rcv_msg+0x2a0/0x390)

r4:bf02b600 r3:bf00f170

[<c051bb68>] (genl_rcv_msg+0x0/0x390) from [<c051b2c8>] (netlink_rcv_skb+0xa8/0xc4)

[<c051b220>] (netlink_rcv_skb+0x0/0xc4) from [<c051bb58>] (genl_rcv+0x2c/0x3c)

r6:dc62c000 r5:dc61ad80 r4:c08320bc r3:c051bb2c

[<c051bb2c>] (genl_rcv+0x0/0x3c) from [<c051acfc>] (netlink_unicast+0x140/0x1b8)

r5:0000023c r4:dc152c00

[<c051abbc>] (netlink_unicast+0x0/0x1b8) from [<c051b0b0>] (netlink_sendmsg+0x280/0x2f8)

r8:00000000 r7:dc61ad80 r6:dc62c000 r5:dc9a9d68 r4:00000000

[<c051ae30>] (netlink_sendmsg+0x0/0x2f8) from [<c04ea2cc>] (sock_sendmsg+0x80/0xa4)

[<c04ea24c>] (sock_sendmsg+0x0/0xa4) from [<c04eb0c4>] (___sys_sendmsg+0x310/0x328)

r7:dc9a9e58 r6:dc9a8028 r5:0000023c r4:dc9a9f5c

[<c04eadb4>] (___sys_sendmsg+0x0/0x328) from [<c04ec8e4>] (__sys_sendmsg+0x44/0x74)

[<c04ec8a0>] (__sys_sendmsg+0x0/0x74) from [<c04ec924>] (SyS_sendmsg+0x10/0x14)

r6:012e0008 r5:012e00e0 r4:012e0080

[<c04ec914>] (SyS_sendmsg+0x0/0x14) from [<c000e440>] (ret_fast_syscall+0x0/0x30)

---[ end trace 6e56f111abfbe392 ]---

wlcore: WARNING TEST command failed

wlcore: WARNING testmode cmd test failed: -110

Failed to calibratewlcore: power down