自己玩openwrt,移植原厂wifi到mt7688,出现ERROR!!! MCUSysInit: NICLoadFirmware failed, Status[=0x00000001]

具体log如下:[ 3449.880000] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 3449.900000] --> RTMPFreeTxRxRingMemory
[ 3449.900000] <-- RTMPFreeTxRxRingMemory
[ 3450.020000] ===> rt2880_probe
[ 3450.030000] --> RTMPAllocAdapterBlock
[ 3450.040000] 
[ 3450.040000] 
[ 3450.040000] === pAd = c15d2000, size = 792032 ===
[ 3450.040000] 
[ 3450.060000] -->RTMPAllocTxRxRingMemory
[ 3450.070000] TxRing[0]: total 512 bytes allocated
[ 3450.080000] TxRing[1]: total 512 bytes allocated
[ 3450.090000] TxRing[2]: total 512 bytes allocated
[ 3450.090000] TxRing[3]: total 512 bytes allocated
[ 3450.100000] MGMT Ring: total 512 bytes allocated
[ 3450.110000] CTRL Ring: total 512 bytes allocated
[ 3450.120000] Beacon Ring: total 320 bytes allocated
[ 3450.130000] TxBmcRing: total 512 bytes allocated
[ 3450.140000] Rx[0] Ring: total 512 bytes allocated
[ 3450.150000] Rx[1] Ring: total 512 bytes allocated
[ 3450.160000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x
[ 3450.170000] <-- RTMPAllocAdapterBlock, Status=0
[ 3450.180000] AP Driver version-4.0.1.3
[ 3450.190000] pAd->infType=4
[ 3450.190000] RtmpChipOpsHook(492): Not support for HIF_MT yet!
[ 3450.200000] CN: 3637544d     CID = 10102
[ 3450.210000] mt7628_init()-->
[ 3450.220000] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
[ 3450.230000] e2.bin mt7628_init(1119)::(2), pChipCap->fw_len(63056)
[ 3450.240000] mt_bcn_buf_init(218): Not support for HIF_MT yet!
[ 3450.250000] <--mt7628_init()
[ 3450.260000] Chip specific bbpRegTbSize=0!
[ 3450.270000] Chip VCO calibration mode = 0!
[ 3450.270000] get_dev_name_prefix(): dev_idx = 0, dev_name_prefix=ra
[ 3450.290000] Allocate a net device with private data size=16!
[ 3450.300000] Allocate net device ops success!
[ 3450.310000] The name of the new ra interface is ra0
[ 3450.320000] Assign wdev_idx=0
[ 3450.320000] RtmpOSNetDevAttach()--->
[ 3450.330000] <---RtmpOSNetDevAttach(), ret=0
[ 3450.340000] ra0: at CSR addr 0xb0300000, IRQ 4. 
[ 3450.350000] <=== rt2880_probe
root@Widora:/tmp# ifconfig ra0 up
[ 3454.530000] MAC[Ver:Rev/ID=0x76280000 : 0x00007628]
[ 3454.540000] hif_sys_init()-->
[ 3454.550000] hif_sys_init():Disable WPDMA
[ 3454.560000] TxRing[0]: total 32 entry initialized
[ 3454.570000] TxRing[1]: total 32 entry initialized
[ 3454.580000] TxRing[2]: total 32 entry initialized
[ 3454.590000] TxRing[3]: total 32 entry initialized
[ 3454.600000] TX_BCN DESC a6fcd000 size = 320
[ 3454.600000] RX[0] DESC a5d90000 size = 512
[ 3454.610000] RX[1] DESC a5d91000 size = 512
[ 3454.620000] ==>  DMAIdle, GloCfg=0x52000870
[ 3454.630000] -->TX_RING_0[0x4310]: Base=0x5b3f000, Cnt=32!
[ 3454.640000] -->TX_RING_1[0x4300]: Base=0x593d000, Cnt=32!
[ 3454.650000] -->TX_RING_2[0x4320]: Base=0x593f000, Cnt=32!
[ 3454.660000] -->TX_RING_3[0x4330]: Base=0x6fc9000, Cnt=32!
[ 3454.670000] -->TX_BMC_RING [0x4380]: Base=0x6fce000, Cnt=32!
[ 3454.680000] -->TX_RING_MGMT[0x4340]: Base=0x6fcb000, Cnt=32!
[ 3454.690000] -->TX_RING_BCN: Base=0x6fcd000, Cnt=20!
[ 3454.700000] -->TX_RING_CTRL: Base=0x6fcc000, Cnt=32!
[ 3454.710000] -->RX_RING0[0x4400]: Base=0x5d90000, Cnt=32
[ 3454.720000] -->RX_RING1[0x4410]: Base=0x5d91000, Cnt=32
[ 3454.730000] <--hif_sys_init(), Success!
[ 3454.740000] -->WscThreadInit()
[ 3454.750000] <--WscThreadInit(), status=0!
[ 3454.760000] --> MLME Initialize
[ 3454.770000] <-- MLME Initialize
[ 3454.770000] --> UserCfgInit
[ 3454.780000] --> UserCfgInit. BACapability = 0x3024040
[ 3454.790000] <-- UserCfgInit
[ 3454.790000] CountryRegion=5
[ 3454.800000] CountryRegionABand=7
[ 3454.810000] E2pAccessMode=0
[ 3454.810000] CountryCode=EU 
[ 3454.820000] SSID[0]=SMWK-300A1-888888
[ 3454.830000] Channel=0
[ 3454.830000] cfg_mode=9
[ 3454.840000] BSS0 PhyMode=14
[ 3454.840000] cfg_mode=9
[ 3454.850000] Old WirelessMode:B/G(0x6), New WirelessMode:B/G/gN(0xe)!
[ 3454.860000] wmode_band_equal(): Band Equal!
[ 3454.870000] RT_CfgSetWirelessMode(): Set WMODE=B/G/gN(0xe)
[ 3454.880000] PhyMode=14
[ 3454.880000] BasicRate=15
[ 3454.890000] BeaconPeriod=200
[ 3454.890000] DtimPeriod=1
[ 3454.900000] TxPower=100
[ 3454.900000] BGProtection=0
[ 3454.910000] OLBCDetection=0
[ 3454.920000] TxPreamble=1
[ 3454.920000] RTSThreshold=2347
[ 3454.930000] FragThreshold=2346
[ 3454.930000] TxBurst=1
[ 3454.940000] PktAggregate=1
[ 3454.940000] I/F(ra0) WmmCapable=1
[ 3454.950000] I/F(ra0) DLSCapable=0
[ 3454.960000] APAifsn[0]=3
[ 3454.960000] APAifsn[1]=7
[ 3454.970000] APAifsn[2]=1
[ 3454.970000] APAifsn[3]=1
[ 3454.980000] APCwmin[0]=4
[ 3454.980000] APCwmin[1]=4
[ 3454.990000] APCwmin[2]=3
[ 3454.990000] APCwmin[3]=2
[ 3455.000000] APCwmax[0]=6
[ 3455.000000] APCwmax[1]=10
[ 3455.010000] APCwmax[2]=4
[ 3455.010000] APCwmax[3]=3
[ 3455.020000] APTxop[0]=0
[ 3455.020000] APTxop[1]=0
[ 3455.030000] APTxop[2]=94
[ 3455.030000] APTxop[3]=47
[ 3455.040000] APACM[0]=0
[ 3455.040000] APACM[1]=0
[ 3455.050000] APACM[2]=0
[ 3455.050000] APACM[3]=0
[ 3455.060000] BSSAifsn[0]=3
[ 3455.060000] BSSAifsn[1]=7
[ 3455.070000] BSSAifsn[2]=2
[ 3455.070000] BSSAifsn[3]=2
[ 3455.080000] BSSCwmin[0]=4
[ 3455.080000] BSSCwmin[1]=4
[ 3455.090000] BSSCwmin[2]=3
[ 3455.090000] BSSCwmin[3]=2
[ 3455.100000] BSSCwmax[0]=10
[ 3455.100000] BSSCwmax[1]=10
[ 3455.110000] BSSCwmax[2]=4
[ 3455.110000] BSSCwmax[3]=3
[ 3455.120000] BSSTxop[0]=0
[ 3455.120000] BSSTxop[1]=0
[ 3455.130000] BSSTxop[2]=94
[ 3455.130000] BSSTxop[3]=47
[ 3455.140000] BSSACM[0]=0
[ 3455.150000] BSSACM[1]=0
[ 3455.150000] BSSACM[2]=0
[ 3455.150000] BSSACM[3]=0
[ 3455.160000] AckPolicy[0]=0
[ 3455.170000] AckPolicy[1]=0
[ 3455.170000] AckPolicy[2]=0
[ 3455.180000] AckPolicy[3]=0
[ 3455.180000] APSDCapable[0]=0
[ 3455.190000] APSDCapable[1]=0
[ 3455.190000] APSDCapable[2]=0
[ 3455.200000] APSDCapable[3]=0
[ 3455.200000] APSDCapable[4]=0
[ 3455.210000] APSDCapable[5]=0
[ 3455.220000] APSDCapable[6]=0
[ 3455.220000] APSDCapable[7]=0
[ 3455.230000] APSDCapable[8]=0
[ 3455.230000] APSDCapable[9]=0
[ 3455.240000] APSDCapable[10]=0
[ 3455.240000] APSDCapable[11]=0
[ 3455.250000] APSDCapable[12]=0
[ 3455.260000] APSDCapable[13]=0
[ 3455.260000] APSDCapable[14]=0
[ 3455.270000] APSDCapable[15]=0
[ 3455.270000] default ApCliAPSDCapable[0]=0
[ 3455.280000] default ApCliAPSDCapable[1]=0
[ 3455.290000] I/F(ra0) NoForwarding=0
[ 3455.300000] NoForwardingBTNBSSID=0
[ 3455.300000] I/F(ra0) HideSSID=0
[ 3455.310000] AutoChannelAtBootup=0
[ 3455.320000] ShortSlot=1
[ 3455.320000] IEEE80211H=0
[ 3455.330000] IF(ra0)::AuthMode=9
[ 3455.340000] I/F(ra0) EncrypType=8
[ 3455.340000] I/F(ra0) ReKeyMethod=0
[ 3455.350000] I/F(ra0) ReKeyInterval=3600
[ 3455.360000] I/F(ra0) PMKCachePeriod=60000
[ 3455.370000] I/F(ra0) WPAPSK_KEY=SilverCrest
[ 3455.560000] I/F(ra0) WPAPSK Key => 
[ 3455.570000] ce:58:c1:13:3d:37:09:b7:08:5a:4a:c3:a7:e6:d1:11:
[ 3455.580000] d7:dd:b6:a6:ef:64:ae:fc:85:ac:dd:fd:a3:58:ab:52:
[ 3455.590000] 
[ 3455.600000] I/F(ra0) DefaultKeyID(0~3)=0
[ 3455.600000] Key1Str is Invalid key length(0) or Type(0)
[ 3455.620000] Key2Str is Invalid key length(0) or Type(0)
[ 3455.630000] Key3Str is Invalid key length(0) or Type(0)
[ 3455.640000] Key4Str is Invalid key length(0) or Type(0)
[ 3455.650000] AccessPolicy0=0
[ 3455.650000] AccessControlList0=Get 0 Mac Address
[ 3455.660000] ApCliEntry[0].Enable=1
[ 3455.670000] ApCliEntry[0].CfgSsidLen=10, CfgSsid=ClientSSID
[ 3455.680000] I/F(apcli0) ApCli_AuthMode=0 
[ 3455.690000] I/F(apcli0) APCli_EncrypType = 1 
[ 3455.700000] I/F(apcli0) DefaultKeyID(0~3)=0
[ 3455.710000] I/F(ra0) PreAuth=0
[ 3455.720000] IF(ra0), IEEE8021X=0
[ 3455.730000] HT: Protection  = Enable
[ 3455.730000] HT: BA Decline  = Disable
[ 3455.740000] HT: Auto BA  = Enable
[ 3455.750000] HT: RDG = Disable
[ 3455.750000] HT: Tx A-MSDU = Disable
[ 3455.760000] HT: MPDU Density = 5
[ 3455.770000] HT: BA Windw Size = 64
[ 3455.780000] HT: Guard Interval = 400
[ 3455.780000] HT: Operate Mode = Mixed Mode
[ 3455.790000] HT: Channel Width = 40 MHz
[ 3455.800000] HT: Ext Channel = ABOVE
[ 3455.810000] (IF-ra0) HT: MCS = AUTO(33)
[ 3455.810000] HT: STBC = 1
[ 3455.820000] HT: 40MHZ INTOLERANT = 0
[ 3455.830000] HT: Tx Stream = 2
[ 3455.830000] HT: Rx Stream = 2
[ 3455.840000] HT: Disallow TKIP mode = ON
[ 3455.850000] HT: 20/40 BssCoexSupport = OFF
[ 3455.860000] I/F(ra0) WscConfMode=0
[ 3455.860000] I/F(ra0) WscConfStatus=2
[ 3455.880000] RTMPSetDefaultChannel() : default channel to 1 
[ 3455.890000] MCUSysInit
[ 3455.890000] AndesMTPciFwInit
[ 3455.900000] ==>  DMAIdle, GloCfg=0x52000850
[ 3455.910000] <== RT28XXDMAEnable(): WPDMABurstSIZE = 3
[ 3455.920000] load fw image from fw_header_image
[ 3455.930000] AndesMTLoadFwMethod1(2174)::pChipCap->fw_len(63056)
[ 3455.940000] FW Version:_e2_mp
[ 3455.940000] FW Build Date:20150211175503
[ 3455.950000] Start address = 100000, DL length = 63020, Data mode = 80000000
[ 3456.870000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3456.880000] CmdSlotTimeSet:(ret = 0)
[ 3456.890000] MtAsicSetSlotTime(1226): SetSlotTime!
[ 3457.880000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3458.890000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3459.900000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3460.910000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3461.920000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3462.930000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3463.940000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3464.950000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3465.960000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3466.970000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3467.980000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3468.990000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3470.000000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3471.010000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3472.020000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3473.030000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3474.040000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3475.050000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3476.060000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3477.070000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3478.080000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3479.090000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3480.100000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3481.110000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3482.120000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3483.130000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3484.140000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3485.150000] Not expected one of them is 0, TxTotalByteCnt = 0, RxTotalByteCnt = 0
[ 3485.970000] :hxq:command (1), ext_cmd_type (0), seq(1), timeout(30000ms)
[ 3485.980000] txq qlen = 0
[ 3485.980000] rxq qlen = 0
[ 3485.990000] kickq qlen = 0
[ 3485.990000] ackq qlen = 1
[ 3486.000000] tx_doneq.qlen = 0
[ 3486.000000] rx_done qlen = 0
[ 3486.010000] AndesSendCmdMsg: msg state = 8
[ 3486.020000] msg->retransmit_times = 0
[ 3486.030000] CmdAddressLenReq:(ret = 1)
[ 3486.030000] NICLoadFirmware::load fw spent 30110ms
[ 3486.040000] ERROR!!! MCUSysInit: NICLoadFirmware failed, Status[=0x00000001]
[ 3486.060000] AndesMTPciFwExit
[ 3486.060000] tx_kickout_fail_count = 0
[ 3486.070000] tx_timeout_fail_count = 1
[ 3486.080000] rx_receive_fail_count = 0
[ 3486.080000] alloc_cmd_msg = 2
[ 3486.090000] free_cmd_msg = 2
[ 3486.100000] ==> MlmeHalt
[ 3486.100000] <---MlmeThread
[ 3486.110000] --->Disable TSF synchronization
[ 3486.120000] <== MlmeHalt
[ 3486.120000] <---RTPCICmdThread
[ 3486.130000] !!! rt28xx init fail !!!
[ 3486.140000] rt28xx_open return fail!
ifconfig: SIOCSIFFLAGS: Operation not permitted
已邀请:

要回复问题请先登录注册