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.

WiLinkTM7.0 WL1283 - WiFi is not working from GUI

Other Parts Discussed in Thread: WL1283, WL1271

Hi,

We are using TI BLAZE board with WiLinkTM7.0 WL1283 wifi chip embedded. From the android settings, we are trying to turn on wifi but failing. Below logs we are the logs from the adb logcat:

D/WifiService(  377): setWifiEnabled: true pid=1766, uid=1000
E/audio_hw_primary(  121): XRUN detected
E/WifiStateMachine(  377): Failed to load driver!
E/WifiStateMachine(  377): DriverFailedState

We followed below link to build the modules
 

And init.omap4blazeboard.rc script loading the modules i.e.

# wi-fi
        mkdir /data/misc/wifi/sockets 0770 wifi wifi
        mkdir /data/misc/dhcp 0770 dhcp dhcp
        insmod /system/lib/modules/compat.ko
        insmod /system/lib/modules/cfg80211.ko
        insmod /system/lib/modules/mac80211.ko
        insmod /system/lib/modules/wlcore.ko
        insmod /system/lib/modules/wl12xx.ko
        insmod /system/lib/modules/wl18xx.ko board_type=com8

From the adb shell, wifi modules are veified by lsmod commands and all the modules are loaded 

successfully

 


Also attaching the kernel log for the same

1727.kernel_wifi.log

thanks

Raj

  • Hi Raj,

    Since you are using the wl1283 chip family, you woundn't need the below line in your init.rc file.
    insmod /system/lib/modules/wl18xx.ko board_type=com8

    Please remove this and let me know if it helps.

    Also, the wl12xx drivers should be built using the below script:

    https://github.com/TI-ECS/build-utilites/blob/master/wl12xx_build.sh

    Regards,
    Gigi Joseph.

  • Hi joseph,

    We are able to load  modules, comapt.ko, cfg80211.ko, mac80211.ko, wlcore.ko, wl12xx.ko. But, after loading,

    the kernel panic occuring and device is restarting.  What could be the problem?

    The panic message is:

    [ 9.942199] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
    [ 10.608703] wlcore: wl12xx driver version: BETA_01202012_01-1895-g1f21f8e-dirty
    [ 10.674041] android_usb: a lready disabled
    [ 10.680847] warning: `adbd' uses 32-bit capabilities (legacy support in use)
    shell@android:/ [ 10.688781] adb_open
    $ [ 10.692230] mtp_bind_config
    [ 10.695434] adb_bind_config
    [ 10.814544] misc dsscomp: [c73c7400] ignoring set failure -22
    [ 10.991149] android_work: sent uevent USB_STATE=CONNECTED
    [ 10.996093] android_work: sent uevent USB_STATE=DISCONNECTED
    [ 11.123168] android_work: sent uevent USB_STATE=CONNECTED
    [ 11.131378] android_usb gadget: high speed config #1: android
    [ 11.139892] android_work: sent uevent USB_STATE=CONFIGURED
    [ 12.927551] omap-rproc omap-rproc.1: rproc_watchdog_isr
    [ 13.071411] omap-rproc omap-rproc.1: rproc_watchdog_isr
    [ 21.034637] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [ 21.043853] pgd = c6810000
    [ 21.047241] [00000000] *pgd=00000000
    [ 21.052947] Internal error: Oops: 5 [#1] PREEMPT SMP
    [ 21.058502] Modules linked in: wlcore_sdio(+) wl12xx wlcore mac80211 pvrsrvkm_sgx540_120 cfg80211 compat
    [ 21.070617] CPU: 0 Not tainted (3.0.31-01895-g1f21f8e #1)
    [ 21.077148] PC is at register_netdevice+0x80/0x3fc
    [ 21.082519] LR is at __dev_get_by_name+0x20/0xb8
    [ 21.087829] pc : [<c0499cf0>] lr : [<c0499928>] psr: 60000013
    [ 21.087860] sp : c69ebb40 ip : 00000300 fp : c69ebb64
    [ 21.100708] r10: c7aa0484 r9 : c7aa048c r8 : 0000001e
    [ 21.106536] r7 : 00000003 r6 : 00000000 r5 : c09ece04 r4 : c7aa0000
    [ 21.113891] r3 : 00000000 r2 : 9af296ac r1 : c790b400 r0 : 00000000
    [ 21.121093] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    [ 21.129150] Control: 10c5387d Table: 8681004a DAC: 00000015
    [ 21.135528]
    [ 21.135528] PC: 0xc0499c70:
    [ 21.140655] 9c70 e1a0c00d e92dd8f0 e24cb004 e24dd008 e59f33c0 e1a04000 e5933000 e3530000
    [ 21.151367] 9c90 1a0000e9 eb002e4d e3500000 0a0000e0 e59f03a4 e3011544 e3a02000 ebefd957
    [ 21.162231] 9cb0 e5d4324c e3530000 1a0000d6 e59f538c e2840f49 e59f1388 e28520a8 ebf764cd
    [ 21.173095] 9cd0 e3e03000 e1a00004 e5843074 e1a01004 ebffffbf e2506000 ba000046 e59430d8
    [ 21.183959] 9cf0 e5933000 e3530000 0a000003 e1a00004 e12fff33 e2506000 1a000041 e59f7344
    [ 21.194641] 9d10 e3a0e001 e59500a8 e59f6330 e597c060 e2800001 e58500a8 e3500000 d586e0a8
    [ 21.205505] 9d30 c20030ff d3a03004 d1a0000e c1a03103 e79c3003 e3530000 1a000003 ea000008
    [ 21.216400] 9d50 e5933000 e3530000 0a000005 e2432f8f e5921070 e1510000 1afffff8 e3520000
    [ 21.227264]
    [ 21.227264] LR: 0xc04998a8:
    [ 21.232238] 98a8 e1a05000 ebf1513e e1a01004 e1a00005 ebffff9f e2504000 0a00000c e10f2000
    [ 21.243103] 98c8 f10c0080 e1a0300d e3c31d7f e5943230 e3c1103f e5910014 e59f101c e7911100
    [ 21.253814] 98e8 e7930001 e2800001 e7830001 e121f002 ebf15622 e1a00004 e89da830 c0808898
    [ 21.264678] 9908 e1a0c00d e92dd8f0 e24cb004 e1a06001 e1a04000 e3a01010 e1a00006 ebf7440d
    [ 21.275543] 9928 e3500000 0a00000f e3a03000 e1a02003 e7d61003 e2833001 e1500003 e1a0c201
    [ 21.286407] 9948 e08c1221 e0812002 e0821102 e0822081 1afffff6 e3003001 e3493e37 e0020293
    [ 21.297119] 9968 e1a00c22 e1a00100 e594105c e7914000 e3540000 1a000003 ea00000b e5944000
    [ 21.307983] 9988 e3540000 0a000008 e2445028 e1a01006 e1a00005 e3a02010 ebf7437b e3500000
    [ 21.318878]
    [ 21.318878] SP: 0xc69ebac0:
    [ 21.323822] bac0 c02234e4 c05dcd18 c6495bf4 00000000 c7aa048c c7aa0480 ffffffff c69ebb2c
    [ 21.334686] bae0 00000000 00000003 c69ebb64 c69ebaf8 c05df1ac c004f50c 00000000 c790b400
    [ 21.345550] bb00 9af296ac 00000000 c7aa0000 c09ece04 00000000 00000003 0000001e c7aa048c
    [ 21.356262] bb20 c7aa0484 c69ebb64 00000300 c69ebb40 c0499928 c0499cf0 60000013 ffffffff
    [ 21.367126] bb40 bf0bf7e0 bf0ec3b8 c7aa0000 c6a24be0 c7aa0480 00000003 c69ebc04 c69ebb68
    [ 21.377990] bb60 bf0bfb90 c0499c7c 00000001 c086935c c69ebb94 c69ebb80 c05decd4 c00d2664
    [ 21.388702] bb80 c69ea000 c0873740 00000000 c69ebb98 c05dd0f8 c00d2634 c0869358 c0873758
    [ 21.399566] bba0 22222222 22222222 00000000 c6a25468 c7aa0108 00000002 00000012 00000001
    [ 21.410278]
    [ 21.410278] FP: 0xc69ebae4:
    [ 21.415252] bae4 00000003 c69ebb64 c69ebaf8 c05df1ac c004f50c 00000000 c790b400 9af296ac
    [ 21.426116] bb04 00000000 c7aa0000 c09ece04 00000000 00000003 0000001e c7aa048c c7aa0484
    [ 21.436981] bb24 c69ebb64 00000300 c69ebb40 c0499928 c0499cf0 60000013 ffffffff bf0bf7e0
    [ 21.447692] bb44 bf0ec3b8 c7aa0000 c6a24be0 c7aa0480 00000003 c69ebc04 c69ebb68 bf0bfb90
    [ 21.458557] bb64 c0499c7c 00000001 c086935c c69ebb94 c69ebb80 c05decd4 c00d2664 c69ea000
    [ 21.469238] bb84 c0873740 00000000 c69ebb98 c05dd0f8 c00d2634 c0869358 c0873758 22222222
    [ 21.480102] bba4 22222222 00000000 c6a25468 c7aa0108 00000002 00000012 00000001 c7aa0488
    [ 21.490844] bbc4 00000001 c7aa0830 c69ebbd8 bf0c2dc8 c04a55dc c05dd9c8 c6a24be0 00000000
    [ 21.501708]
    [ 21.501708] R1: 0xc790b380:
    [ 21.506683] b380 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.517547] b3a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.528228] b3c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.539093] b3e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.549804] b400 00000000 00000000 00000000 00000000 c7b10028 00000000 00000000 00000000
    [ 21.560668] b420 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.571533] b440 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.582366] b460 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.593078]
    [ 21.593109] R4: 0xc7a9ff80:
    [ 21.598205] ff80 c00bc054 c782bd5c c7a9ffb8 c7a77300 c00bc054 00000000 00000000 00000000
    [ 21.608917] ffa0 c7a9fff4 c7a9ffb0 c00c0c78 c00bc060 00000000 c7a77300 00000000 00000000
    [ 21.619781] ffc0 c782bd5c dead4ead ffffffff ffffffff c7a9ffd0 c7a9ffd0 c782bd5c c00c0be8
    [ 21.630645] ffe0 c00a4a0c 00000013 00000000 c7a9fff8 c00a4a0c c00c0bf4 00000000 00000000
    [ 21.641510] 0000 6e616c77 00000030 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.652221] 0020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.663085] 0040 00000000 00000000 00000000 00000000 c7aa0050 c7aa0050 c7aa0058 c7aa0058
    [ 21.673950] 0060 00000000 00000000 00000000 00000000 00000000 ffffffff 00000000 00000000
    [ 21.684661]
    [ 21.684661] R5: 0xc09ecd84:
    [ 21.689788] cd84 00000000 00000000 00000000 00000000 00000000 00000000 00000000 eb161adc
    [ 21.700653] cda4 94888cba 7676b963 77fcabc5 3c610b6e dd1c81e4 d6503934 d8bff9e9 ee4658b4
    [ 21.711364] cdc4 7e4ac31b 6870b457 9f4eb4ce 9a3e6286 153f4415 967b84ec f76e84ff 00000000
    [ 21.722229] cde4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.733123] ce04 00000000 00000000 00000000 c051ae74 00000000 00000000 00000000 00000000
    [ 21.743835] ce24 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.754699] ce44 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.765563] ce64 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.776275]
    [ 21.776275] R9: 0xc7aa040c:
    [ 21.781219] 040c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.792083] 042c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.802795] 044c 00000000 00000000 00000000 00000000 c7aa045c c7aa045c 00000000 00000000
    [ 21.813659] 046c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c6a24180
    [ 21.824523] 048c 00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.835205] 04ac 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.845916] 04cc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.856781] 04ec 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.867645]
    [ 21.867645] R10: 0xc7aa0404:
    [ 21.872680] 0404 00010000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.883392] 0424 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.894256] 0444 00000000 00000000 00000000 00000000 00000000 00000000 c7aa045c c7aa045c
    [ 21.904968] 0464 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.915832] 0484 00000000 c6a24180 00000002 00000000 00000000 00000000 00000000 00000000
    [ 21.926666] 04a4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.937530] 04c4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.948211] 04e4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 21.959075] Process Thread-57 (pid: 355, stack limit = 0xc69ea2f8)
    [ 21.966094] Stack: (0xc69ebb40 to 0xc69ec000)
    [ 21.970977] bb40: bf0bf7e0 bf0ec3b8 c7aa0000 c6a24be0 c7aa0480 00000003 c69ebc04 c69ebb68
    [ 21.980133] bb60: bf0bfb90 c0499c7c 00000001 c086935c c69ebb94 c69ebb80 c05decd4 c00d2664
    [ 21.989135] bb80: c69ea000 c0873740 00000000 c69ebb98 c05dd0f8 c00d2634 c0869358 c0873758
    [ 21.998291] bba0: 22222222 22222222 00000000 c6a25468 c7aa0108 00000002 00000012 00000001
    [ 22.007446] bbc0: c7aa0488 00000001 c7aa0830 c69ebbd8 bf0c2dc8 c04a55dc c05dd9c8 c6a24be0
    [ 22.016601] bbe0: 00000000 00000001 bf15ea08 00000001 00000000 00000001 c69ebc3c c69ebc08
    [ 22.025604] bc00: bf0b0718 bf0bf870 00000000 c6a26498 00001018 c6a25c20 00000003 00080028
    [ 22.034759] bc20: 00000008 c6a26498 00001018 c6976040 c69ebc74 c69ebc40 bf15e674 bf0b020c
    [ 22.043914] bc40: 00000000 c6a25c20 c0197184 c6a1f240 c08e64b4 c6a25c20 00000000 00000016
    [ 22.052917] bc60: c699b200 bf17e788 c69ebcac c69ebc78 bf17e718 bf15de94 c08e6490 c6a1f080
    [ 22.062072] bc80: c69ebc9c c699b208 c08e64b4 c02ee70c bf1818dc c08e6490 c69ea000 00000000
    [ 22.071228] bca0: c69ebcbc c69ebcb0 c02efa14 bf17e42c c69ebce4 c69ebcc0 c02ee564 c02efa00
    [ 22.080383] bcc0: bf1818dc c699b208 c02ee70c 00000000 c08e6490 c69ea000 c69ebcfc c69ebce8
    [ 22.089385] bce0: c02ee750 c02ee4d0 c699b208 c69ebd00 c69ebd24 c69ebd00 c02ed9f0 c02ee718
    [ 22.098541] bd00: c7804c70 c6d096a8 c699b208 c699b23c 00000000 c7326608 c69ebd44 c69ebd28
    [ 22.107696] bd20: c02ee81c c02ed994 c699b208 c699b210 00000000 c7326608 c69ebd54 c69ebd48
    [ 22.116851] bd40: c02ed7f4 c02ee78c c69ebd9c c69ebd58 c02ec61c c02ed7d4 00000000 00000000
    [ 22.125854] bd60: c78a01a0 c7326608 c69ebd90 c69ebd78 c02eb534 c699b200 c699b208 00000001
    [ 22.135009] bd80: c7326608 00000000 c69ea000 00000000 c69ebdbc c69ebda0 c02f00bc c02ec164
    [ 22.144165] bda0: 00000000 c6a1f0a0 c78a01a0 c7326608 c69ebdfc c69ebdc0 bf189684 c02effc8
    [ 22.153167] bdc0: c7326608 000000d5 00000000 bf189928 00000400 00000000 00000000 00000000
    [ 22.162322] bde0: bf18973c c7326600 c7326608 bf1899ac c69ebe24 c69ebe00 c04049b4 bf1894ac
    [ 22.171478] be00: c7326608 c08e64b4 c732663c bf1899bc c0055528 c69ea000 c69ebe4c c69ebe28
    [ 22.180633] be20: c02ee564 c040484c c7326608 bf1899bc c732663c 00000000 c0055528 c69ea000
    [ 22.189605] be40: c69ebe6c c69ebe50 c02ee708 c02ee4d0 bf1899bc c69ebe70 c02ee674 00000000
    [ 22.198760] be60: c69ebe94 c69ebe70 c02edcf8 c02ee680 c791324c c735f4c4 bf1899bc c086910c
    [ 22.207916] be80: c698f780 00000000 c69ebea4 c69ebe98 c02ee3b4 c02edc9c c69ebed4 c69ebea8
    [ 22.217102] bea0: c02ed61c c02ee39c bf18997c c69ebeb8 5bf74008 bf1899bc 00000000 00055e9b
    [ 22.226074] bec0: c0055528 00000000 c69ebefc c69ebed8 c02eed6c c02ed498 5bf74008 c087e240
    [ 22.235229] bee0: 00000000 00055e9b c0055528 c69ea000 c69ebf0c c69ebf00 c0404b64 c02eecf8
    [ 22.244384] bf00: c69ebf1c c69ebf10 bf18b018 c0404b44 c69ebf7c c69ebf20 c004f618 bf18b00c
    [ 22.253387] bf20: c00c6504 c026a2d8 c69ebf64 c69ea000 bf18b000 00000000 00000000 00000000
    [ 22.262542] bf40: 00000000 5bf74008 bf189a0c 00000000 00055e9b 5bf74008 bf189a0c 00000000
    [ 22.271697] bf60: 00055e9b c0055528 c69ea000 00000000 c69ebfa4 c69ebf80 c00dcb5c c004f5e0
    [ 22.280853] bf80: c013e11c c013dffc 5bf74008 59a19008 40103a6c 00000080 00000000 c69ebfa8
    [ 22.289855] bfa0: c0055380 c00dcadc 5bf74008 59a19008 5bf74008 00055e9b 4046ed28 ee349444
    [ 22.299011] bfc0: 5bf74008 59a19008 40103a6c 00000080 5fcf3c80 5a08bfb0 59a19018 5fcf3c94
    [ 22.308166] bfe0: 40470f4c 5fcf3bf0 4046bd21 400c0960 20000010 5bf74008 00000000 00000000
    [ 22.317291] Backtrace:
    [ 22.320648] [<c0499c70>] (register_netdevice+0x0/0x3fc) from [<bf0bfb90>] (ieee80211_if_add+0x32c/0x840 [mac80211])
    [ 22.332244] r7:00000003 r6:c7aa0480 r5:c6a24be0 r4:c7aa0000
    [ 22.339782] [<bf0bf864>] (ieee80211_if_add+0x0/0x840 [mac80211]) from [<bf0b0718>] (ieee80211_register_hw+0x518/0x6fc [mac80211])
    [ 22.353057] [<bf0b0200>] (ieee80211_register_hw+0x0/0x6fc [mac80211]) from [<bf15e674>] (wlcore_probe+0x7ec/0x970 [wlcore])
    [ 22.365539] [<bf15de88>] (wlcore_probe+0x0/0x970 [wlcore]) from [<bf17e718>] (wl12xx_probe+0x2f8/0x344 [wl12xx])
    [ 22.376831] r8:bf17e788 r7:c699b200 r6:00000016 r5:00000000 r4:c6a25c20
    [ 22.385406] [<bf17e420>] (wl12xx_probe+0x0/0x344 [wl12xx]) from [<c02efa14>] (platform_drv_probe+0x20/0x24)
    [ 22.396240] [<c02ef9f4>] (platform_drv_probe+0x0/0x24) from [<c02ee564>] (driver_probe_device+0xa0/0x1b0)
    [ 22.406738] [<c02ee4c4>] (driver_probe_device+0x0/0x1b0) from [<c02ee750>] (__device_attach+0x44/0x48)
    [ 22.417114] r9:c69ea000 r8:c08e6490 r7:00000000 r6:c02ee70c r5:c699b208
    [ 22.425262] r4:bf1818dc
    [ 22.428680] [<c02ee70c>] (__device_attach+0x0/0x48) from [<c02ed9f0>] (bus_for_each_drv+0x68/0x94)
    [ 22.438659] r5:c69ebd00 r4:c699b208
    [ 22.443115] [<c02ed988>] (bus_for_each_drv+0x0/0x94) from [<c02ee81c>] (device_attach+0x9c/0xc0)
    [ 22.452911] r7:c7326608 r6:00000000 r5:c699b23c r4:c699b208
    [ 22.459960] [<c02ee780>] (device_attach+0x0/0xc0) from [<c02ed7f4>] (bus_probe_device+0x2c/0x48)
    [ 22.469757] r7:c7326608 r6:00000000 r5:c699b210 r4:c699b208
    [ 22.476989] [<c02ed7c8>] (bus_probe_device+0x0/0x48) from [<c02ec61c>] (device_add+0x4c4/0x590)
    [ 22.486724] [<c02ec158>] (device_add+0x0/0x590) from [<c02f00bc>] (platform_device_add+0x100/0x19c)
    [ 22.496673] [<c02effbc>] (platform_device_add+0x0/0x19c) from [<bf189684>] (wl1271_probe+0x1e4/0x240 [wlcore_sdio])
    [ 22.508239] r7:c7326608 r6:c78a01a0 r5:c6a1f0a0 r4:00000000
    [ 22.515502] [<bf1894a0>] (wl1271_probe+0x0/0x240 [wlcore_sdio]) from [<c04049b4>] (sdio_bus_probe+0x174/0x180)
    [ 22.526611] r7:bf1899ac r6:c7326608 r5:c7326600 r4:bf18973c
    [ 22.533660] [<c0404840>] (sdio_bus_probe+0x0/0x180) from [<c02ee564>] (driver_probe_device+0xa0/0x1b0)
    [ 22.544006] r9:c69ea000 r8:c0055528 r7:bf1899bc r6:c732663c r5:c08e64b4
    [ 22.552154] r4:c7326608
    [ 22.555572] [<c02ee4c4>] (driver_probe_device+0x0/0x1b0) from [<c02ee708>] (__driver_attach+0x94/0x98)
    [ 22.565917] r9:c69ea000 r8:c0055528 r7:00000000 r6:c732663c r5:bf1899bc
    [ 22.573913] r4:c7326608
    [ 22.577331] [<c02ee674>] (__driver_attach+0x0/0x98) from [<c02edcf8>] (bus_for_each_dev+0x68/0x94)
    [ 22.587310] r7:00000000 r6:c02ee674 r5:c69ebe70 r4:bf1899bc
    [ 22.594543] [<c02edc90>] (bus_for_each_dev+0x0/0x94) from [<c02ee3b4>] (driver_attach+0x24/0x28)
    [ 22.604187] r7:00000000 r6:c698f780 r5:c086910c r4:bf1899bc
    [ 22.611419] [<c02ee390>] (driver_attach+0x0/0x28) from [<c02ed61c>] (bus_add_driver+0x190/0x268)
    [ 22.621246] [<c02ed48c>] (bus_add_driver+0x0/0x268) from [<c02eed6c>] (driver_register+0x80/0x14c)
    [ 22.631256] [<c02eecec>] (driver_register+0x0/0x14c) from [<c0404b64>] (sdio_register_driver+0x2c/0x30)
    [ 22.641540] r9:c69ea000 r8:c0055528 r7:00055e9b r6:00000000 r5:c087e240
    [ 22.649688] r4:5bf74008
    [ 22.653106] [<c0404b38>] (sdio_register_driver+0x0/0x30) from [<bf18b018>] (__init_compat+0x18/0x20 [wlcore_sdio])
    [ 22.664642] [<bf18b000>] (__init_compat+0x0/0x20 [wlcore_sdio]) from [<c004f618>] (do_one_initcall+0x44/0x1a4)
    [ 22.675781] [<c004f5d4>] (do_one_initcall+0x0/0x1a4) from [<c00dcb5c>] (sys_init_module+0x8c/0x1a4)
    [ 22.685882] [<c00dcad0>] (sys_init_module+0x0/0x1a4) from [<c0055380>] (ret_fast_syscall+0x0/0x30)
    [ 22.695861] r7:00000080 r6:40103a6c r5:59a19008 r4:5bf74008
    [ 22.702911] Code: ebffffbf e2506000 ba000046 e59430d8 (e5933000)
    [ 22.713592] ---[ end trace b48db9521b3361b9 ]---
    [ 22.718841] Kernel panic - not syncing: Fatal exception
    [ 22.724914] Backtrace:
    [ 22.727630] [<c005937c>] (dump_backtrace+0x0/0x10c) from [<c05db410>] (dump_stack+0x18/0x1c)
    [ 22.727661] r7:00000005 r6:c69d4680 r5:00000001 r4:c0881368
    [ 22.727722] [<c05db3f8>] (dump_stack+0x0/0x1c) from [<c05db490>] (panic+0x7c/0x1c0)
    [ 22.727752] [<c05db414>] (panic+0x0/0x1c0) from [<c00598a4>] (die+0x188/0x1b8)
    [ 22.727783] r3:00000001 r2:c69eb930 r1:60000013 r0:c073caec
    [ 22.727844] [<c005971c>] (die+0x0/0x1b8) from [<c005d284>] (__do_kernel_fault+0x6c/0x8c)
    [ 22.727874] r8:c732a8c0 r7:00000005 r6:00000000 r5:00000000 r4:c69ebaf8
    [ 22.727935] [<c005d218>] (__do_kernel_fault+0x0/0x8c) from [<c05e14e0>] (do_page_fault+0xd8/0x28c)
    [ 22.727966] r9:c732a908 r8:00010000 r7:00000005 r6:00000000 r5:c732a8c0
    [ 22.728027] r4:c69ebaf8
    [ 22.728057] [<c05e1408>] (do_page_fault+0x0/0x28c) from [<c05e1734>] (do_translation_fault+0xa0/0xa8)
    [ 22.728118] [<c05e1694>] (do_translation_fault+0x0/0xa8) from [<c004f53c>] (do_DataAbort+0x3c/0xa4)
    [ 22.728118] r7:c69ebaf8 r6:00000000 r5:c08109e4 r4:00000005
    [ 22.728210] [<c004f500>] (do_DataAbort+0x0/0xa4) from [<c05df1ac>] (__dabt_svc+0x4c/0x60)
    [ 22.728240] Exception stack(0xc69ebaf8 to 0xc69ebb40)
    [ 22.728271] bae0: 00000000 c790b400
    [ 22.728302] bb00: 9af296ac 00000000 c7aa0000 c09ece04 00000000 00000003 0000001e c7aa048c
    [ 22.728332] bb20: c7aa0484 c69ebb64 00000300 c69ebb40 c0499928 c0499cf0 60000013 ffffffff
    [ 22.728363] r7:00000003 r6:00000000 r5:c69ebb2c r4:ffffffff
    [ 22.728729] [<c0499c70>] (register_netdevice+0x0/0x3fc) from [<bf0bfb90>] (ieee80211_if_add+0x32c/0x840 [mac80211])
    [ 22.728759] r7:00000003 r6:c7aa0480 r5:c6a24be0 r4:c7aa0000
    [ 22.729309] [<bf0bf864>] (ieee80211_if_add+0x0/0x840 [mac80211]) from [<bf0b0718>] (ieee80211_register_hw+0x518/0x6fc [mac80211])
    [ 22.729705] [<bf0b0200>] (ieee80211_register_hw+0x0/0x6fc [mac80211]) from [<bf15e674>] (wlcore_probe+0x7ec/0x970 [wlcore])
    [ 22.729858] [<bf15de88>] (wlcore_probe+0x0/0x970 [wlcore]) from [<bf17e718>] (wl12xx_probe+0x2f8/0x344 [wl12xx])
    [ 22.729888] r8:bf17e788 r7:c699b200 r6:00000016 r5:00000000 r4:c6a25c20
    [ 22.729980] [<bf17e420>] (wl12xx_probe+0x0/0x344 [wl12xx]) from [<c02efa14>] (platform_drv_probe+0x20/0x24)
    [ 22.730041] [<c02ef9f4>] (platform_drv_probe+0x0/0x24) from [<c02ee564>] (driver_probe_device+0xa0/0x1b0)
    [ 22.730072] [<c02ee4c4>] (driver_probe_device+0x0/0x1b0) from [<c02ee750>] (__device_attach+0x44/0x48)
    [ 22.730163] r9:c69ea000 r8:c08e6490 r7:00000000 r6:c02ee70c r5:c699b208
    [ 22.730194] r4:bf1818dc
    [ 22.730255] [<c02ee70c>] (__device_attach+0x0/0x48) from [<c02ed9f0>] (bus_for_each_drv+0x68/0x94)
    [ 22.730285] r5:c69ebd00 r4:c699b208
    [ 22.730316] [<c02ed988>] (bus_for_each_drv+0x0/0x94) from [<c02ee81c>] (device_attach+0x9c/0xc0)
    [ 22.730346] r7:c7326608 r6:00000000 r5:c699b23c r4:c699b208
    [ 22.730407] [<c02ee780>] (device_attach+0x0/0xc0) from [<c02ed7f4>] (bus_probe_device+0x2c/0x48)
    [ 22.730438] r7:c7326608 r6:00000000 r5:c699b210 r4:c699b208
    [ 22.730499] [<c02ed7c8>] (bus_probe_device+0x0/0x48) from [<c02ec61c>] (device_add+0x4c4/0x590)
    [ 22.730529] [<c02ec158>] (device_add+0x0/0x590) from [<c02f00bc>] (platform_device_add+0x100/0x19c)
    [ 22.730590] [<c02effbc>] (platform_device_add+0x0/0x19c) from [<bf189684>] (wl1271_probe+0x1e4/0x240 [wlcore_sdio])
    [ 22.730621] r7:c7326608 r6:c78a01a0 r5:c6a1f0a0 r4:00000000
    [ 22.730712] [<bf1894a0>] (wl1271_probe+0x0/0x240 [wlcore_sdio]) from [<c04049b4>] (sdio_bus_probe+0x174/0x180)
    [ 22.730743] r7:bf1899ac r6:c7326608 r5:c7326600 r4:bf18973c
    [ 22.730804] [<c0404840>] (sdio_bus_probe+0x0/0x180) from [<c02ee564>] (driver_probe_device+0xa0/0x1b0)
    [ 22.730834] r9:c69ea000 r8:c0055528 r7:bf1899bc r6:c732663c r5:c08e64b4
    [ 22.730865] r4:c7326608
    [ 22.730895] [<c02ee4c4>] (driver_probe_device+0x0/0x1b0) from [<c02ee708>] (__driver_attach+0x94/0x98)
    [ 22.730926] r9:c69ea000 r8:c0055528 r7:00000000 r6:c732663c r5:bf1899bc
    [ 22.730987] r4:c7326608
    [ 22.731018] [<c02ee674>] (__driver_attach+0x0/0x98) from [<c02edcf8>] (bus_for_each_dev+0x68/0x94)
    [ 22.731048] r7:00000000 r6:c02ee674 r5:c69ebe70 r4:bf1899bc
    [ 22.731109] [<c02edc90>] (bus_for_each_dev+0x0/0x94) from [<c02ee3b4>] (driver_attach+0x24/0x28)
    [ 22.731109] r7:00000000 r6:c698f780 r5:c086910c r4:bf1899bc
    [ 22.731170] [<c02ee390>] (driver_attach+0x0/0x28) from [<c02ed61c>] (bus_add_driver+0x190/0x268)
    [ 22.731231] [<c02ed48c>] (bus_add_driver+0x0/0x268) from [<c02eed6c>] (driver_register+0x80/0x14c)
    [ 22.731262] [<c02eecec>] (driver_register+0x0/0x14c) from [<c0404b64>] (sdio_register_driver+0x2c/0x30)
    [ 22.731292] r9:c69ea000 r8:c0055528 r7:00055e9b r6:00000000 r5:c087e240
    [ 22.731353] r4:5bf74008
    [ 22.731384] [<c0404b38>] (sdio_register_driver+0x0/0x30) from [<bf18b018>] (__init_compat+0x18/0x20 [wlcore_sdio])
    [ 22.731475] [<bf18b000>] (__init_compat+0x0/0x20 [wlcore_sdio]) from [<c004f618>] (do_one_initcall+0x44/0x1a4)
    [ 22.731506] [<c004f5d4>] (do_one_initcall+0x0/0x1a4) from [<c00dcb5c>] (sys_init_module+0x8c/0x1a4)
    [ 22.731567] [<c00dcad0>] (sys_init_module+0x0/0x1a4) from [<c0055380>] (ret_fast_syscall+0x0/0x30)
    [ 22.731597] r7:00000080 r6:40103a6c r5:59a19008 r4:5bf74008
    [ 22.737274] CPU1: stopping
    [ 22.737304] Backtrace:
    [ 22.737365] [<c005937c>] (dump_backtrace+0x0/0x10c) from [<c05db410>] (dump_stack+0x18/0x1c)
    [ 22.737396] r7:00000000 r6:c004e020 r5:c0808898 r4:c7af2000
    [ 22.737457] [<c05db3f8>] (dump_stack+0x0/0x1c) from [<c004f3b0>] (do_IPI+0x160/0x194)
    [ 22.737518] [<c004f250>] (do_IPI+0x0/0x194) from [<c05df208>] (__irq_svc+0x48/0xe0)
    [ 22.737548] Exception stack(0xc7af3d50 to 0xc7af3d98)
    [ 22.737579] 3d40: 0000d1d8 0000000f c0851040 c083fc50
    [ 22.737609] 3d60: 0000d1d8 0000d1d8 c083fc50 c08817a8 60000013 c08817a8 ffff2e28 c7af3dc4
    [ 22.737640] 3d80: c7af3d98 c7af3d98 c00a12b0 c00a12b4 60000013 ffffffff
    [ 22.737701] [<c00a1278>] (console_unlock+0x0/0x1a4) from [<c0079b34>] (omap4_dpll_cascading_blocker_release+0xa8/0x5f4)
    [ 22.738067] [<c0079a8c>] (omap4_dpll_cascading_blocker_release+0x0/0x5f4) from [<bf06ccf8>] (DisableSGXClocks+0x54/0x90 [pvrsrvkm_sgx540_120])
    [ 22.738098] r6:bf05ea88 r5:bf08a948 r4:bf08f058
    [ 22.738647] [<bf06cca4>] (DisableSGXClocks+0x0/0x90 [pvrsrvkm_sgx540_120]) from [<bf06b034>] (SysDevicePrePowerState+0x34/0x3c [pvrsrvkm_sgx540_120])
    [ 22.738677] r5:00000002 r4:c6de7780
    [ 22.739135] [<bf06b000>] (SysDevicePrePowerState+0x0/0x3c [pvrsrvkm_sgx540_120]) from [<bf05eaf8>] (PVRSRVDevicePrePowerStateKM_AnyVaCb+0x70/0x7c [pvrsrvkm_sgx540_120])
    [ 22.739562] [<bf05ea88>] (PVRSRVDevicePrePowerStateKM_AnyVaCb+0x0/0x7c [pvrsrvkm_sgx540_120]) from [<bf05e114>] (List_PVRSRV_POWER_DEV_PVRSRV_ERROR_Any_va+0x3c/0x60 [pvrsrvkm_sgx540_120])
    [ 22.739593] r5:c7af3e60 r4:00000000
    [ 22.740020] [<bf05e0d8>] (List_PVRSRV_POWER_DEV_PVRSRV_ERROR_Any_va+0x0/0x60 [pvrsrvkm_sgx540_120]) from [<bf05ed7c>] (PVRSRVSetDevicePowerStateKM+0x40/0xdc [pvrsrvkm_sgx540_120])
    [ 22.740051] r3:00000000 r2:00000000 r1:bf05ea88
    [ 22.740081] r6:bf08f054 r5:00000002 r4:fffffffd
    [ 22.740539] [<bf05ed3c>] (PVRSRVSetDevicePowerStateKM+0x0/0xdc [pvrsrvkm_sgx540_120]) from [<bf074d40>] (SGXTestActivePowerEvent+0xf8/0x16c [pvrsrvkm_sgx540_120])
    [ 22.740600] r7:00000000 r6:c7398c00 r5:c8f2c120 r4:fffffffd
    [ 22.741119] [<bf074c48>] (SGXTestActivePowerEvent+0x0/0x16c [pvrsrvkm_sgx540_120]) from [<bf0734ec>] (SGX_MISRHandler+0x50/0x5c [pvrsrvkm_sgx540_120])
    [ 22.741149] r7:c6d31600 r6:c08a2f00 r5:bf05f690 r4:c7398c00
    [ 22.741607] [<bf07349c>] (SGX_MISRHandler+0x0/0x5c [pvrsrvkm_sgx540_120]) from [<bf05f6b0>] (PVRSRVMISR_ForEachCb+0x20/0x24 [pvrsrvkm_sgx540_120])
    [ 22.741668] r4:c7398c00 r3:bf07349c
    [ 22.742065] [<bf05f690>] (PVRSRVMISR_ForEachCb+0x0/0x24 [pvrsrvkm_sgx540_120]) from [<bf05dfc4>] (List_PVRSRV_DEVICE_NODE_ForEach+0x20/0x30 [pvrsrvkm_sgx540_120])
    [ 22.742492] [<bf05dfa4>] (List_PVRSRV_DEVICE_NODE_ForEach+0x0/0x30 [pvrsrvkm_sgx540_120]) from [<bf060b60>] (PVRSRVMISR+0x20/0x8c [pvrsrvkm_sgx540_120])
    [ 22.742523] r5:c7af2000 r4:bf08f124
    [ 22.742858] [<bf060b40>] (PVRSRVMISR+0x0/0x8c [pvrsrvkm_sgx540_120]) from [<bf04ba90>] (MISRWrapper+0x14/0x18 [pvrsrvkm_sgx540_120])
    [ 22.742919] r4:c7ad47c0 r3:bf04ba7c
    [ 22.743072] [<bf04ba7c>] (MISRWrapper+0x0/0x18 [pvrsrvkm_sgx540_120]) from [<c00b9c70>] (process_one_work+0x13c/0x4b0)
    [ 22.743133] [<c00b9b34>] (process_one_work+0x0/0x4b0) from [<c00ba370>] (worker_thread+0x190/0x460)
    [ 22.743164] [<c00ba1e0>] (worker_thread+0x0/0x460) from [<c00c0c78>] (kthread+0x90/0x98)
    [ 22.743225] [<c00c0be8>] (kthread+0x0/0x98) from [<c00a4a0c>] (do_exit+0x0/0x72c)
    [ 22.743255] r7:00000013 r6:c00a4a0c r5:c00c0be8 r4:c783de94
    [ 22.743316] Rebooting in 5 seconds..
    [ 27.750946] Restarting Linux version 3.0.31-01895-g1f21f8e (inskumar01@INBADL008736A) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Wed Apr 23 13:31:47 IST 2014
    [ 27.750976]
    [ 27.800994] arm_restart: Console was locked! Busting

    thanks

    raj

  • Hi Raj,

    I recommend that you upgrade to the latest driver/firmware versions ("ol_R5.SP7.01").
    https://github.com/TI-ECS/build-utilites/blob/master/wl12xx_build.sh

    Regards,
    Gigi Joseph.