RT5370wifi模块拷机中自动卸载又挂载的问题
您好!
我在使用dm8127平台设备进行拷机的过程中,大概拷机5个小时左右就登不了web端(问题复现多次),后来检查发现是wifi模块出现了问题,导致wifi模块自动的卸载后又重新挂载并自动开启了DHCP功能来获取IP和网关,导致wifi的IP和网关改变登不了web端。多次测试发现是wifi驱动代码中检测到一个异常信号,wifi模块保护自动进行了自动卸载然后又加载模块的一个过程。
我就想问一下大概是软件驱动问题还是硬件电路问题? 谢谢
串口打印如下:
root@CSUN_IPNC:~#
[host] MCFW_IPCBITS: Callback function:App_ipcBitsInCbFxn
[host] MCFW_IPCBITS:App_ipcBitsRecvStreamFxn:INFO: periodic print..Bulk In Failed. Status=-71, BIIdx=0x5, BIRIdx=0x5, actual_length= 0x0
usb 1-1: USB disconnect, address 2
rtusb_disconnect: unregister usbnet usb-musb-hdrc.0-1
RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
The 8-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 8
Retry count exhausted or device removed!!!
Retry count exhausted or device removed!!!
Retry count exhausted or device removed!!!
Retry count exhausted or device removed!!!
Retry count exhausted or device removed!!!
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
RTUSB disconnect successfully
usb 1-1: new high speed USB device using musb-hdrc and address 3
=== pAd = cd6b8000, size = 1057280 ===
<-- RTMPAllocAdapterBlock, Status=0
Efuse Size=0x2d [2d0-2fc]
NVM is EFUSE
NICLoadFirmware: firmware loaded already
<-- RTMPAllocTxRxRingMemory, Status=0
RTMP_TimerListAdd: add timer obj cd773010!
RTMP_TimerListAdd: add timer obj cd773028!
RTMP_TimerListAdd: add timer obj cd773040!
RTMP_TimerListAdd: add timer obj cd772ff8!
RTMP_TimerListAdd: add timer obj cd772fb0!
RTMP_TimerListAdd: add timer obj cd772fc8!
RTMP_TimerListAdd: add timer obj cd73d644!
RTMP_TimerListAdd: add timer obj cd729bdc!
RTMP_TimerListAdd: add timer obj cd729bf8!
RTMP_TimerListAdd: add timer obj cd73d6a0!
RTMP_TimerListAdd: add timer obj cd72c5b0!
RTMP_TimerListAdd: add timer obj cd72bc60!
RTMP_TimerListAdd: add timer obj cd72c594!
RTMP_TimerListAdd: add timer obj cd72c87c!
RTMP_TimerListAdd: add timer obj cd72c62c!
RTMP_TimerListAdd: add timer obj cd72c648!
RTMP_TimerListAdd: add timer obj cd72c5cc!
RTMP_TimerListAdd: add timer obj cd72c5e8!
RTMP_TimerListAdd: add timer obj cd72c604!
RTMP_TimerListAdd: add timer obj cd6bc988!
RTMP_TimerListAdd: add timer obj cd6bc038!
RTMP_TimerListAdd: add timer obj cd6bc96c!
RTMP_TimerListAdd: add timer obj cd6bcc54!
RTMP_TimerListAdd: add timer obj cd6bca04!
RTMP_TimerListAdd: add timer obj cd6bca20!
RTMP_TimerListAdd: add timer obj cd6bcbcc!
RTMP_TimerListAdd: add timer obj cd6f2b18!
RTMP_TimerListAdd: add timer obj cd6f21c8!
RTMP_TimerListAdd: add timer obj cd6f2afc!
RTMP_TimerListAdd: add timer obj cd6f2de4!
RTMP_TimerListAdd: add timer obj cd6f2b94!
RTMP_TimerListAdd: add timer obj cd6f2bb0!
RTMP_TimerListAdd: add timer obj cd6f2b34!
RTMP_TimerListAdd: add timer obj cd6f2b50!
RTMP_TimerListAdd: add timer obj cd6f2b6c!
RTMP_TimerListAdd: add timer obj cd73d614!
RTMP_TimerListAdd: add timer obj cd73d684!
RTMP_TimerListAdd: add timer obj cd7b7e30!
RTMP_TimerListAdd: add timer obj cd7b7e48!
RTMP_TimerListAdd: add timer obj cd7b7e60!
RTMP_TimerListAdd: add timer obj cd7b7e78!
RTMP_TimerListAdd: add timer obj cd7b7e90!
RTMP_TimerListAdd: add timer obj cd7b7eac!
RTMP_TimerListAdd: add timer obj cd772fe0!
RTMP_TimerListAdd: add timer obj cd728fc8!
RTMP_TimerListAdd: add timer obj cd728fb0!
RTMP_TimerListAdd: add timer obj cd728f98!
RTMP_TimerListAdd: add timer obj cd73d62c!
RTMP_TimerListAdd: add timer obj cd72c8ac!
RTMP_TimerListAdd: add timer obj cd72c8c4!
RTMP_TimerListAdd: add timer obj cd72c8dc!
RTMP_TimerListAdd: add timer obj cd72c8f4!
P2pGroupTabInit .
P2pScanChannelDefault <=== count = 3, Channels are 1, 6,11 separately
P2pCfgInit::
RTMP_TimerListAdd: add timer obj cd6b9910!
RTMP_TimerListAdd: add timer obj cd6bcfd0!
RTMP_TimerListAdd: add timer obj cd6c0690!
RTMP_TimerListAdd: add timer obj cd6c3d50!
RTMP_TimerListAdd: add timer obj cd6c7410!
RTMP_TimerListAdd: add timer obj cd6caad0!
RTMP_TimerListAdd: add timer obj cd6ce190!
RTMP_TimerListAdd: add timer obj cd6f2e6c!
RTMP_TimerListAdd: add timer obj cd72cf00!
ERROR (audio_capture.c|Audio_recordMain|276): Audio short read, read 24 frames
ERROR (audio_capture.c|RecordAudio|499): audio overrun occur-->RTUSBVenderReset
red
<--RTUSBVenderReset
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 5
2. Phy Mode = 5
NVM is Efuse and its size =2d[2d0-2fc]
ERROR (audio_capture.c|Audio_recordMain|276): Audio short read, read 511 frames
ERROR (audio_capture.c|RecordAudio|499): audio overrun occurred
phy mode> Error! The chip does not support 5G band 15!
RTMPSetPhyMode: channel is out of range, use first channel=1
3. Phy Mode = 9
AntCfgInit: primary/secondary ant 0/1
NICInitRT5390RFRegisters: Initialize frequency - EEPROM = 41, RF_R17 = 48
AsicSetRxAnt, switch to main antenna
bAutoTxAgcG = 0
---> InitFrequencyCalibration
InitFrequencyCalibration: frequency offset in the EEPROM = 41
<--- InitFrequencyCalibration
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
部分驱动代码如下:
你这个应该是Ralink的WIFI模块? 你可以问问他们。