Other Parts Discussed in Thread: WL1271, DM385, TPS65910, WL1837
Tool/software: Linux
I tried following the instructions given here, but when I try to run p2p_group_add on the first EVM, the kernel pukes:
[ 3690.539587] ------------[ cut here ]------------
[ 3690.544446] WARNING: CPU: 0 PID: 77 at drivers/net/wireless/ti/wlcore/main.c:811 wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore]()
[ 3690.556733] Modules linked in: ti81xxhdmi vpss osa_kermod(O) g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wl18xx wlcore wlcore_sdio mac80211 cfg80211
[ 3690.572776] CPU: 0 PID: 77 Comm: kworker/0:3 Tainted: G W O 4.4.12-svn12125 #1
[ 3690.581009] Hardware name: Generic TI81xx (Flattened Device Tree)
[ 3690.587409] Workqueue: events cfg80211_mlme_unreg_wk [cfg80211]
[ 3690.593367] Backtrace:
[ 3690.595894] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
[ 3690.603499] r7:bf0b9fac r6:0000032b r5:00000009 r4:00000000
[ 3690.609261] [<c0012784>] (show_stack) from [<c0236f28>] (dump_stack+0x24/0x28)
[ 3690.616558] [<c0236f04>] (dump_stack) from [<c0032660>] (warn_slowpath_common+0x88/0xb4)
[ 3690.624694] [<c00325d8>] (warn_slowpath_common) from [<c0032730>] (warn_slowpath_null+0x24/0x2c)
[ 3690.633536] r8:bf0d67c0 r7:00052c3b r6:00000000 r5:c06d9980 r4:c264eb80
[ 3690.640447] [<c003270c>] (warn_slowpath_null) from [<bf0b9fac>] (wl12xx_queue_recovery_work.part.9+0x6c/0x70 [wlcore])
[ 3690.651369] [<bf0b9f40>] (wl12xx_queue_recovery_work.part.9 [wlcore]) from [<bf0bc3b0>] (wl12xx_queue_recovery_work+0x1c/0x20 [wlcore])
[ 3690.663617] r5:c06d9980 r4:c264eb80
[ 3690.667390] [<bf0bc394>] (wl12xx_queue_recovery_work [wlcore]) from [<bf0c59e8>] (wl1271_ps_elp_wakeup+0xdc/0x1d8 [wlcore])
[ 3690.678742] [<bf0c590c>] (wl1271_ps_elp_wakeup [wlcore]) from [<bf0b7314>] (wl1271_op_configure_filter+0x5c/0x12c [wlcore])
[ 3690.689941] r10:c264ebb8 r9:bf05ddc0 r8:c265de74 r7:c0905380 r6:c264eb80 r5:bf0b72b8
[ 3690.697858] r4:c264e3c0
[ 3690.700816] [<bf0b72b8>] (wl1271_op_configure_filter [wlcore]) from [<bf04743c>] (ieee80211_configure_filter+0x150/0x1b4 [mac80211])
[ 3690.712814] r10:c06d7724 r9:bf05ddc0 r8:bf02070c r7:00000000 r6:c0905380 r5:bf0b72b8
[ 3690.720734] r4:c264e3c0
[ 3690.723578] [<bf0472ec>] (ieee80211_configure_filter [mac80211]) from [<bf05de28>] (ieee80211_mgmt_frame_register+0x68/0xfc [mac80211])
[ 3690.735831] r7:c264e060 r6:c265c000 r5:00000000 r4:c264e3c0
[ 3690.741869] [<bf05ddc0>] (ieee80211_mgmt_frame_register [mac80211]) from [<bf02075c>] (cfg80211_process_mlme_unregistrations+0xa4/0x100 [cfg80211])
[ 3690.755172] r5:c264e000 r4:c26522c0
[ 3690.759010] [<bf0206b8>] (cfg80211_process_mlme_unregistrations [cfg80211]) from [<bf0210b4>] (cfg80211_mlme_unreg_wk+0x1c/0x24 [cfg80211])
[ 3690.771606] r9:00000000 r8:c06d7724 r7:c4cf4300 r6:00000000 r5:c26e9480 r4:c264e068
[ 3690.779569] [<bf021098>] (cfg80211_mlme_unreg_wk [cfg80211]) from [<c00449f8>] (process_one_work+0x118/0x3d8)
[ 3690.789547] r5:c26e9480 r4:c264e068
[ 3690.793162] [<c00448e0>] (process_one_work) from [<c0044d18>] (worker_thread+0x60/0x528)
[ 3690.801305] r10:c06d7724 r9:c26e9480 r8:00000008 r7:c265c000 r6:c06d7734 r5:c26e9498
[ 3690.809221] r4:c06d7724
[ 3690.811780] [<c0044cb8>] (worker_thread) from [<c004a258>] (kthread+0xdc/0xf4)
[ 3690.819048] r10:00000000 r9:00000000 r8:00000000 r7:c0044cb8 r6:c26e9480 r5:c26dcd40
[ 3690.826963] r4:00000000
[ 3690.829524] [<c004a17c>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
[ 3690.836793] r7:00000000 r6:00000000 r5:c004a17c r4:c26dcd40
[ 3690.842508] ---[ end trace 534e09cb59f4f385 ]---
[ 3690.855225] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.48
[ 3690.862068] ------------[ cut here ]------------
[ 3690.866931] WARNING: CPU: 0 PID: 467 at drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0xa4/0x47c [wlcore]()
[ 3690.877962] Modules linked in: ti81xxhdmi vpss osa_kermod(O) g_mass_storage usb_f_mass_storage libcomposite configfs sbull syslink(O) wl18xx wlcore wlcore_sdio mac80211 cfg80211
[ 3690.893997] CPU: 0 PID: 467 Comm: kworker/u2:0 Tainted: G W O 4.4.12-svn12125 #1
[ 3690.902404] Hardware name: Generic TI81xx (Flattened Device Tree)
[ 3690.908627] Workqueue: phy0 wl1271_recovery_work [wlcore]
[ 3690.914055] Backtrace:
[ 3690.916558] [<c00125a0>] (dump_backtrace) from [<c001279c>] (show_stack+0x18/0x1c)
[ 3690.924161] r7:bf0c1ee4 r6:00000041 r5:00000009 r4:00000000
[ 3690.929916] [<c0012784>] (show_stack) from [<c0236f28>] (dump_stack+0x24/0x28)
[ 3690.937210] [<c0236f04>] (dump_stack) from [<c0032660>] (warn_slowpath_common+0x88/0xb4)
[ 3690.945362] [<c00325d8>] (warn_slowpath_common) from [<c0032730>] (warn_slowpath_null+0x24/0x2c)
[ 3690.954185] r8:c4802000 r7:c0be2e00 r6:bf0d67c0 r5:bf0f8068 r4:c264eb80
[ 3690.961064] [<c003270c>] (warn_slowpath_null) from [<bf0c1ee4>] (wlcore_set_partition+0xa4/0x47c [wlcore])
[ 3690.970934] [<bf0c1e40>] (wlcore_set_partition [wlcore]) from [<bf0b9908>] (wl1271_recovery_work+0x74/0x5a0 [wlcore])
[ 3690.981610] r6:c264ebb8 r5:c264eb80 r4:c264ee1c
[ 3690.986378] [<bf0b9894>] (wl1271_recovery_work [wlcore]) from [<c00449f8>] (process_one_work+0x118/0x3d8)
[ 3690.996007] r10:c4802000 r9:00000005 r8:c4802000 r7:c0be2e00 r6:00000000 r5:c2653e00
[ 3691.003909] r4:c264ee1c
[ 3691.006483] [<c00448e0>] (process_one_work) from [<c0044d18>] (worker_thread+0x60/0x528)
[ 3691.014608] r10:c4802000 r9:c2653e00 r8:00000088 r7:c0930000 r6:c4802010 r5:c2653e18
[ 3691.022525] r4:c4802000
[ 3691.025083] [<c0044cb8>] (worker_thread) from [<c004a258>] (kthread+0xdc/0xf4)
[ 3691.032351] r10:00000000 r9:00000000 r8:00000000 r7:c0044cb8 r6:c2653e00 r5:c1fab0c0
[ 3691.040266] r4:00000000
[ 3691.042824] [<c004a17c>] (kthread) from [<c000f768>] (ret_from_fork+0x14/0x2c)
[ 3691.050095] r7:00000000 r6:00000000 r5:c004a17c r4:c1fab0c0
[ 3691.055821] ---[ end trace 534e09cb59f4f386 ]---
[ 3691.060476] wlcore: down
[ 3691.063032] wlcore: down
[ 3691.180104] ieee80211 phy0: Hardware restart was requested
Using interface p2p-wlan0-0 with hwaddr 56:4a:16:12:fe:11 and ssid "DIRECT-Nz"
[ 3691.198808] IPv6: ADDRCONF(NETDEV_CHANGE): p2p-wlan0-0: link becomes ready
[ 3691.633020] wlcore: PHY firmware version: Rev 8.2.0.0.232
[ 3691.828285] wlcore: firmware booted (Rev 8.9.0.0.48)
Interface initialization failed
p2p-wlan0-0: interface state UNINITIALIZED->DISABLED
p2p-wlan0-0: AP-DISABLED
p2p-wlan0-0: Unable to setup interface.
Failed to initialize AP interface
p2p-wlan0-0: interface state DISABLED->DISABLED
p2p-wlan0-0: AP-DISABLED
hostapd_free_hapd_data: Interface p2p-wlan0-0 wasn't started
p2p-wlan0-0: CTRL-EVENT-DISCONNECTED bssid=56:4a:16:12:fe:11 reason=3 locally_generated=1
Do I need to modify the build or the default wpa_supplicant.conf somehow to support P2P operation? If so, how?