系统启动后总是不断重启

时间:2021-11-24 04:28:13
如题,遇到这个bug. adb 也不能connect,因为不能进入系统。
请大牛们帮我分析一下,从kernel启动进入android系统后就会反复重启.
附串口打印出的数据
这是不断重启时的log打印
[   11.563193] Plug in USB Port2
[   11.695017] usb 1-1: new high speed USB device number 3 using Mstar-ehci-2
[   12.128000] usb 1-1: New USB device found, idVendor=0cf3, idProduct=1023
[   12.134901] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.142247] usb 1-1: Product: USBWLAN
[   12.146003] usb 1-1: Manufacturer: Qualcomm Atheros.
[   12.151091] usb 1-1: SerialNumber: 12345678
[   12.158315] <6>ath6kl: 3VAP/1, P2P enable, concurrent on , with dedicate p2p-device, multi-channel-concurrent enable, p2p-compat enable (ignore p2p_dedicate), sta-p2p-ie removed
[   12.168290] UMP<2>: New session opened
[   12.168408] Mali<2>: Session started
[   12.183160] <6>ath6kl: target bootstrap: 0x00000810
[   12.188309] Enter ath6kl_get_fw
[   12.191586] AR1021C use single band board data
[   12.196181] ath6kl: Get firmware ath6k/AR6004/hw3.0/bdata.bin !!
[   12.202309] Enter ath6kl_get_fw
[   12.205628] <3>ath6kl: ath6kl: Get firmware ath6k/AR6004/hw3.0/softmac.bin fail!!
[   12.213205] Enter ath6kl_get_fw
[   12.216464] <3>ath6kl: ath6kl: Get firmware ath6k/AR6004/hw3.0/softmac_2.bin fail!!
[   12.224244] Enter ath6kl_get_fw
[   12.227429] ath6kl: Get firmware ath6k/AR6004/hw3.0/fw.ram.bin !!
[   12.233568] <6>ath6kl: target's subtype is 0x6, HT20/40 2SS Single-band
[   12.240387] <6>ath6kl: Disable 5G support by board-data!
[   12.253742] <3>ath6kl: wmi fail, cmd_id 0x29 ep_id 0 if_idx 0
[   12.259942] <6>ath6kl: Create HTC cookie, type 1 num 440
[   12.265469] <6>ath6kl: Create HTC cookie, type 2 num 66
[   12.271006] <6>ath6kl: P2P flowctrl enabled
[   12.275312] <6>ath6kl: RX aggregation drop enabled
[   12.280184] <6>ath6kl: Using driver's regdb.
[   12.495769] <6>ath6kl: ar6004 hw 3.0 usb fw 5.0.0.9999
[   12.505734] <6>ath6kl:  skb copy disable
[   12.509903] <6>ath6kl: Create dedicated p2p interface
[   11.378908] Calling CRDA for country: 6A
[   12.973036] UMP<2>: New session opened
[   14.637074] WARNING1!Try to unlock mutex index 90 name TSP_Int_Mutex, but it is not in lock status!!! 

4 个解决方案

#1


正常启动时的打印 
[   13.618121] Enter ath6kl_get_fw
[   13.621406] <3>ath6kl: ath6kl: Get firmware ath6k/AR6004/hw3.0/softmac_2.bin fail!!
[   13.629685] Enter ath6kl_get_fw
[   13.633241] ath6kl: Get firmware ath6k/AR6004/hw3.0/fw.ram.bin !!
[   13.639814] <6>ath6kl: target's subtype is 0x6, HT20/40 2SS Single-band
[   13.647063] <6>ath6kl: Disable 5G support by board-data!
[   13.658552] <3>ath6kl: wmi fail, cmd_id 0x29 ep_id 0 if_idx 0
[   13.665092] <6>ath6kl: Create HTC cookie, type 1 num 440
[   13.671021] <6>ath6kl: Create HTC cookie, type 2 num 66
[   13.676382] <6>ath6kl: P2P flowctrl enabled
[   13.680608] <6>ath6kl: RX aggregation drop enabled
[   13.685519] <6>ath6kl: Using driver's regdb.
[   13.904459] <6>ath6kl: ar6004 hw 3.0 usb fw 5.0.0.79
[   13.911932] <6>ath6kl:  skb copy disable
[   13.915946] <6>ath6kl: Create dedicated p2p interface
[   13.922588] usbcore: registered new interface driver ath6kl_usb
[   13.942536] <3>ath6kl: Not a supported interface type
[   14.365388] Calling CRDA for country: 6A
[   14.637351] UMP<2>: New session opened
[   14.641384] Mali<2>: Session started
[   15.111082] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   15.144389] init: sys_prop: permission denied uid:1010  name:wifi.wpa_supp_ready
[   15.155011] ADDRCONF(NETDEV_UP): p2p0: link is not ready
[   15.180271] init: sys_prop: permission denied uid:1010  name:wifi.wpa_supp_ready
[   16.554203] UMP<2>: New session opened
[   17.994379] WARNING1!Try to unlock mutex index 90 name TSP_Int_Mutex, but it is not in lock status!!!  

#2


你说的正常启动和异常启动,硬件上有什么区别么?
看起来正常启动的时候没有USB WLAN device (Qualcomm Atheros, ath6kl).
异常启动的时候,系统是有USB WLAN 设备的。

#3


看起来和产品相关哟,尽是产品代码

#4


很明显你的WIFI 驱动或配置有问题,还有WIFI的固件(firmware)有没有,路径对不对!

#1


正常启动时的打印 
[   13.618121] Enter ath6kl_get_fw
[   13.621406] <3>ath6kl: ath6kl: Get firmware ath6k/AR6004/hw3.0/softmac_2.bin fail!!
[   13.629685] Enter ath6kl_get_fw
[   13.633241] ath6kl: Get firmware ath6k/AR6004/hw3.0/fw.ram.bin !!
[   13.639814] <6>ath6kl: target's subtype is 0x6, HT20/40 2SS Single-band
[   13.647063] <6>ath6kl: Disable 5G support by board-data!
[   13.658552] <3>ath6kl: wmi fail, cmd_id 0x29 ep_id 0 if_idx 0
[   13.665092] <6>ath6kl: Create HTC cookie, type 1 num 440
[   13.671021] <6>ath6kl: Create HTC cookie, type 2 num 66
[   13.676382] <6>ath6kl: P2P flowctrl enabled
[   13.680608] <6>ath6kl: RX aggregation drop enabled
[   13.685519] <6>ath6kl: Using driver's regdb.
[   13.904459] <6>ath6kl: ar6004 hw 3.0 usb fw 5.0.0.79
[   13.911932] <6>ath6kl:  skb copy disable
[   13.915946] <6>ath6kl: Create dedicated p2p interface
[   13.922588] usbcore: registered new interface driver ath6kl_usb
[   13.942536] <3>ath6kl: Not a supported interface type
[   14.365388] Calling CRDA for country: 6A
[   14.637351] UMP<2>: New session opened
[   14.641384] Mali<2>: Session started
[   15.111082] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   15.144389] init: sys_prop: permission denied uid:1010  name:wifi.wpa_supp_ready
[   15.155011] ADDRCONF(NETDEV_UP): p2p0: link is not ready
[   15.180271] init: sys_prop: permission denied uid:1010  name:wifi.wpa_supp_ready
[   16.554203] UMP<2>: New session opened
[   17.994379] WARNING1!Try to unlock mutex index 90 name TSP_Int_Mutex, but it is not in lock status!!!  

#2


你说的正常启动和异常启动,硬件上有什么区别么?
看起来正常启动的时候没有USB WLAN device (Qualcomm Atheros, ath6kl).
异常启动的时候,系统是有USB WLAN 设备的。

#3


看起来和产品相关哟,尽是产品代码

#4


很明显你的WIFI 驱动或配置有问题,还有WIFI的固件(firmware)有没有,路径对不对!