Hi,各位TI 的FAE,你们好
我想请教一下关于SmartReflex的
情况:最近公司产品所使用的AM3354( SDK6.0 ),部分无法启动,大多是系统驱动基本加载完的时候,卡住,偶尔系统崩溃。
SDK6.0和3354已经用了2年多了,也不排除板子间(电阻电容)有所差异,但原理图是绝对没有改变过的。
调试:1. 产品Boot里面设置CPU 频率 600,电压参考800频率的电压,内核带SmartReflex,CPUFreq governor 使用userspace;
2. 当boot把cpu改为800时,有问题的产品大多能启动,偶尔还是跑崩
3. 当把内核SmartReflex 取消,产品启动就没有任何问题了。
4. 部分产品还用 SDK7.0,SDK7.0里面却已经没有SmartReflex 这个东西,SDK7.0启动也没有任何问题。
问题:SmartReflex 这个技术难度是有bug?还是说cpu间存在体制差异?
SDK之间的差异有没有可能说明一下?例如SDK6.0 对于usb虚拟多个串口就存在很多bug,而SDK7.0对于wl1271这个模块支持的不太好。
jianhui alvin:
回复 Steven Liu1:
你好,首先非常感谢你的回复,而且关于电源的那个链接也很有参考价值。
另外我还有个疑问,我们一直用wl1271这个wifi模块,在SDK6的内核上是支持的比较好的,但到了SDK7,就没有把这个模块的驱动单独出来,而我用内核自带的驱动,用起来总有问题:
这个sdk其他方面都证实没什么大问题,如果wl1271这里的问题没能解决,会影响好几个新项目的进展,希望你帮忙看看
[20282.788017] wlcore: Beacon loss detected. roles:0xff[20284.687885] wlcore: Beacon loss detected. roles:0xff[20287.596205] wlcore: Connection loss work (role_id: 0).[20287.601712] wlan0: Connection to AP 54:e6:fc:52:7e:b0 lost[20287.644488] cfg80211: Calling CRDA to update world regulatory domain[20288.132878] wlan0: authenticate with 54:e6:fc:52:7e:b0[20288.143350] wlcore: ERROR command execute failure 19[20288.148663] ————[ cut here ]————[20288.153652] WARNING: CPU: 0 PID: 1600 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x74/0x80 [wlcore]()[20288.166086] Modules linked in: sw232_485(O) oem_enable(O) led(O) msp430(O) sim(O) bt_enable(O) g_mass_storage usb_f_mass_storage libcomposite configfs wl12xx wlcore wlcore_sdio[20288.182813] CPU: 0 PID: 1600 Comm: wpa_supplicant Tainted: G W O 3.12.10-ti2013.12.01 #370[20288.192297] Backtrace:[20288.194905] [<c0017868>] (dump_backtrace+0x0/0x10c) from [<c0017a04>] (show_stack+0x18/0x1c)[20288.203838] r6:bf014a00 r5:00000009 r4:00000000 r3:00000000[20288.209859] [<c00179ec>] (show_stack+0x0/0x1c) from [<c050c2f8>] (dump_stack+0x20/0x28)[20288.218348] [<c050c2d8>] (dump_stack+0x0/0x28) from [<c004552c>] (warn_slowpath_common+0x70/0x90)[20288.227747] [<c00454bc>] (warn_slowpath_common+0x0/0x90) from [<c0045570>] (warn_slowpath_null+0x24/0x2c)[20288.237877] r8:001e80a5 r7:c0768960 r6:dc0ad540 r5:00000013 r4:dc3c4c20[20288.245016] [<c004554c>] (warn_slowpath_null+0x0/0x2c) from [<bf014a00>] (wl12xx_queue_recovery_work+0x74/0x80 [wlcore])[20288.256581] [<bf01498c>] (wl12xx_queue_recovery_work+0x0/0x80 [wlcore]) from[<bf018288>] (wlcore_cmd_send_failsafe+0x21c/0x4c0 [wlcore])[20288.269648] r4:dc3c4c20 r3:00000001[20288.273479] [<bf01806c>] (wlcore_cmd_send_failsafe+0x0/0x4c0 [wlcore]) from [<bf018550>] (wl1271_cmd_send+0x24/0x30 [wlcore])[20288.285495] [<bf01852c>] (wl1271_cmd_send+0x0/0x30 [wlcore]) from [<bf018efc>] (wl12xx_cmd_role_start_sta+0x180/0x254 [wlcore])[20288.297691] [<bf018d7c>] (wl12xx_cmd_role_start_sta+0x0/0x254 [wlcore]) from[<bf013a4c>] (wl1271_op_bss_info_changed+0xb70/0xe70 [wlcore])[20288.310986] [<bf012edc>] (wl1271_op_bss_info_changed+0x0/0xe70 [wlcore]) from [<c04cd298>] (ieee80211_bss_info_change_notify+0xbc/0x118)[20288.323973] [<c04cd1dc>] (ieee80211_bss_info_change_notify+0x0/0x118) from [<c04f494c>] (ieee80211_prep_connection+0x3d8/0x808)[20288.336115] r7:dd765440 r6:00000000 r5:dc07f568 r4:00000084[20288.342132] [<c04f4574>] (ieee80211_prep_connection+0x0/0x808) from [<c04f9630>] (ieee80211_mgd_auth+0x230/0x298)[20288.353017] [<c04f9400>] (ieee80211_mgd_auth+0x0/0x298) from [<c04e0ba8>] (ieee80211_auth+0x18/0x1c)[20288.362674] r8:dc3c4100 r7:dd765000 r6:00000001 r5:dc3c4000 r4:00000000[20288.369799] [<c04e0b90>] (ieee80211_auth+0x0/0x1c) from [<c04c4388>] (cfg80211_mlme_auth+0x14c/0x164)[20288.379560] [<c04c423c>] (cfg80211_mlme_auth+0x0/0x164) from [<c04c0fb8>] (nl80211_authenticate+0x28c/0x2bc)[20288.389978] [<c04c0d2c>] (nl80211_authenticate+0x0/0x2bc) from [<c03c2bd0>] (genl_rcv_msg+0x1f4/0x370)[20288.399832] [<c03c29dc>] (genl_rcv_msg+0x0/0x370) from [<c03c20e4>] (netlink_rcv_skb+0xb4/0xc8)[20288.409047] [<c03c2030>] (netlink_rcv_skb+0x0/0xc8) from [<c03c22c8>] (genl_rcv+0x28/0x3c)[20288.417794] r6:dd7b4c00 r5:dd5cb680 r4:c0791998 r3:c03c22a0[20288.423800] [<c03c22a0>] (genl_rcv+0x0/0x3c) from [<c03c1ac8>] (netlink_unicast+0x158/0x1b0)[20288.432731] r5:0000004c r4:dd115000[20288.436532] [<c03c1970>] (netlink_unicast+0x0/0x1b0) from [<c03c1e88>] (netlink_sendmsg+0x2c0/0x374)[20288.446205] [<c03c1bc8>] (netlink_sendmsg+0x0/0x374) from [<c0391b30>] (sock_sendmsg+0x8c/0xac)[20288.455420] [<c0391aa4>] (sock_sendmsg+0x0/0xac) from [<c0392968>] (___sys_sendmsg.part.26+0x28c/0x29c)[20288.465441] r5:0000004c r4:dc2c3f5c[20288.469311] [<c03926dc>] (___sys_sendmsg.part.26+0x0/0x29c) from [<c0393cb8>](__sys_sendmsg+0x54/0x80)[20288.479349] [<c0393c64>] (__sys_sendmsg+0x0/0x80) from [<c0393cf4>] (SyS_sendmsg+0x10/0x14)[20288.488269] r6:0010fca0 r5:00101078 r4:001010f0[20288.493264] [<c0393ce4>] (SyS_sendmsg+0x0/0x14) from [<c0014660>] (ret_fast_syscall+0x0/0x30)[20288.502364] —[ end trace d30677bcb1df577b ]—[20288.507292] wlcore: ERROR failed to initiate cmd role start sta[20288.513557] wlcore: WARNING cmd join failed -5[20288.521978] wlcore: Hardware recovery in progress. FW ver: Rev 6.3.10.0.133[20288.532882] wlcore: pc: 0x0, hint_sts: 0x00000004 count: 22[20288.539349] wlcore: down[20288.542123] wlan0: failed to insert STA entry for the AP (error -16)[20288.550538] ieee80211 phy0: Hardware restart was requested[20289.008301] wlcore: firmware booted (Rev 6.3.10.0.133)[20289.503656] wlan0: authenticate with 54:e6:fc:52:7e:b0[20289.513209] wlcore: ERROR command execute failure 19[20289.518516] ————[ cut here ]————[20289.523515] WARNING: CPU: 0 PID: 1600 at drivers/net/wireless/ti/wlcore/main.c:802 wl12xx_queue_recovery_work+0x74/0x80 [wlcore]()[20289.535972] Modules linked in: sw232_485(O) oem_enable(O) led(O) msp430(O) sim(O) bt_enable(O) g_mass_storage usb_f_mass_storage libcomposite configfs wl12xx wlcore wlcore_sdio[20289.552697] CPU: 0 PID: 1600 Comm: wpa_supplicant Tainted: G W O 3.12.10-ti2013.12.01 #370[20289.562183] Backtrace:[20289.564789] [<c0017868>] (dump_backtrace+0x0/0x10c) from [<c0017a04>] (show_stack+0x18/0x1c)[20289.573812] r6:bf014a00 r5:00000009 r4:00000000 r3:00000000[20289.579827] [<c00179ec>] (show_stack+0x0/0x1c) from [<c050c2f8>] (dump_stack+0x20/0x28)[20289.588320] [<c050c2d8>] (dump_stack+0x0/0x28) from [<c004552c>] (warn_slowpath_common+0x70/0x90)[20289.597722] [<c00454bc>] (warn_slowpath_common+0x0/0x90) from [<c0045570>] (warn_slowpath_null+0x24/0x2c)[20289.607874] r8:001e812e r7:c0768960 r6:dc0ad7c0 r5:00000013 r4:dc3c4c20[20289.615039] [<c004554c>] (warn_slowpath_null+0x0/0x2c) from [<bf014a00>] (wl12xx_queue_recovery_work+0x74/0x80 [wlcore])[20289.626608] [<bf01498c>] (wl12xx_queue_recovery_work+0x0/0x80 [wlcore]) from[<bf018288>] (wlcore_cmd_send_failsafe+0x21c/0x4c0 [wlcore])[20289.639678] r4:dc3c4c20 r3:00000001[20289.643513] [<bf01806c>] (wlcore_cmd_send_failsafe+0x0/0x4c0 [wlcore]) from [<bf018550>] (wl1271_cmd_send+0x24/0x30 [wlcore])[20289.655531] [<bf01852c>] (wl1271_cmd_send+0x0/0x30 [wlcore]) from [<bf018efc>] (wl12xx_cmd_role_start_sta+0x180/0x254 [wlcore])[20289.667730] [<bf018d7c>] (wl12xx_cmd_role_start_sta+0x0/0x254 [wlcore]) from[<bf013a4c>] (wl1271_op_bss_info_changed+0xb70/0xe70 [wlcore])[20289.681022] [<bf012edc>] (wl1271_op_bss_info_changed+0x0/0xe70 [wlcore]) from [<c04cd298>] (ieee80211_bss_info_change_notify+0xbc/0x118)[20289.694013] [<c04cd1dc>] (ieee80211_bss_info_change_notify+0x0/0x118) from [<c04f494c>] (ieee80211_prep_connection+0x3d8/0x808)[20289.706162] r7:dd765440 r6:00000000 r5:dc07f568 r4:00000084[20289.712169] [<c04f4574>] (ieee80211_prep_connection+0x0/0x808) from [<c04f9630>] (ieee80211_mgd_auth+0x230/0x298)[20289.723047] [<c04f9400>] (ieee80211_mgd_auth+0x0/0x298) from [<c04e0ba8>] (ieee80211_auth+0x18/0x1c)[20289.732714] r8:dc3c4100 r7:dd765000 r6:00000001 r5:dc3c4000 r4:00000000[20289.739834] [<c04e0b90>] (ieee80211_auth+0x0/0x1c) from [<c04c4388>] (cfg80211_mlme_auth+0x14c/0x164)[20289.749604] [<c04c423c>] (cfg80211_mlme_auth+0x0/0x164) from [<c04c0fb8>] (nl80211_authenticate+0x28c/0x2bc)[20289.760023] [<c04c0d2c>] (nl80211_authenticate+0x0/0x2bc) from [<c03c2bd0>] (genl_rcv_msg+0x1f4/0x370)[20289.769882] [<c03c29dc>] (genl_rcv_msg+0x0/0x370) from [<c03c20e4>] (netlink_rcv_skb+0xb4/0xc8)[20289.779097] [<c03c2030>] (netlink_rcv_skb+0x0/0xc8) from [<c03c22c8>] (genl_rcv+0x28/0x3c)[20289.787837] r6:dd7b4c00 r5:dd59fcc0 r4:c0791998 r3:c03c22a0[20289.793841] [<c03c22a0>] (genl_rcv+0x0/0x3c) from [<c03c1ac8>] (netlink_unicast+0x158/0x1b0)[20289.802766] r5:0000004c r4:dd115000[20289.806566] [<c03c1970>] (netlink_unicast+0x0/0x1b0) from [<c03c1e88>] (netlink_sendmsg+0x2c0/0x374)[20289.816244] [<c03c1bc8>] (netlink_sendmsg+0x0/0x374) from [<c0391b30>] (sock_sendmsg+0x8c/0xac)[20289.825461] [<c0391aa4>] (sock_sendmsg+0x0/0xac) from [<c0392968>] (___sys_sendmsg.part.26+0x28c/0x29c)[20289.835410] r5:0000004c r4:dc2c3f5c[20289.839205] [<c03926dc>] (___sys_sendmsg.part.26+0x0/0x29c) from [<c0393cb8>](__sys_sendmsg+0x54/0x80)[20289.849150] [<c0393c64>] (__sys_sendmsg+0x0/0x80) from [<c0393cf4>] (SyS_sendmsg+0x10/0x14)[20289.857981] r6:0010fca0 r5:00101078 r4:001010f0[20289.862898] [<c0393ce4>] (SyS_sendmsg+0x0/0x14) from [<c0014660>] (ret_fast_syscall+0x0/0x30)[20289.871926] —[ end trace d30677bcb1df577c ]—[20289.876827] wlcore: ERROR failed to initiate cmd role start sta[20289.883090] wlcore: WARNING cmd join failed -5[20289.894135] wlcore: Hardware recovery in progress. FW ver: Rev 6.3.10.0.133[20289.907936] wlcore: pc: 0x0, hint_sts: 0x00000004 count: 23[20289.914259] wlcore: down[20289.917272] wlan0: failed to insert STA entry for the AP (error -16)[20289.925932] ieee80211 phy0: Hardware restart was requested[20290.361602] wlcore: firmware booted (Rev 6.3.10.0.133)[20291.357921] wlan0: authenticate with 54:e6:fc:52:7e:b0[20291.385970] wlan0: send auth to 54:e6:fc:52:7e:b0 (try 1/3)[20291.397356] wlan0: authenticated[20291.405514] wlan0: associate with 54:e6:fc:52:7e:b0 (try 1/3)[20291.417563] wlan0: RX AssocResp from 54:e6:fc:52:7e:b0 (capab=0x431 status=0aid=1)[20291.432116] wlan0: associated[20291.679865] wlcore: Association completed.