IMX6ULL设备上面调试SDIOwifi。

1、核心板:IMX6ULL

2、接口SDIO:SD2

硬件原理图:

 

3、设备树:

&usdhc2 {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_usdhc2_alt>;
    bus-width = <4>;
    wifi-host;
    non-removable;    
    status = "okay";
};

4、wifi驱动:rtl8192FS_WiFi_linux_v5.8.10_36391.20200304

驱动Makefile修改:

CROSS_COMPILE := arm-linux-gnueabihf-                                                                  
AL_KER_PATH=$(shell cd ../../iMX-Linux/ && pwd )                                                      
$(info $(AL_KER_PATH) )                                                                                       
KSRC = $(AL_KER_PATH)                                                                                                
AL_OVER_FS_PATH=$(shell cd ../../iMX-Rootfs/rootfs && pwd ) 
$(info $(AL_OVER_FS_PATH) )   
MODDESTDIR = $(AL_OVER_FS_PATH)/lib/modules/4.1.15/kernel/drivers/net/wireless/
$(info $(MODDESTDIR) )

编译生成 819sfs.ko

insmod 8192fs.ko。

5、加载驱动报错:

------------------------wifi-err.log

RTW: module init start
RTW: rtl8192fs v5.8.10_36391.20200304_beta
RTW: build time: Jul  3 2020 11:45:13
RTW: rtw_inetaddr_notifier_register
RTW: == SDIO Card Info ==
RTW:   card: 8c446800
RTW:   clock: 50000000 Hz
RTW:   timing spec: sd high-speed
RTW:   sd3_bus_mode: FALSE
RTW:   func num: 1
RTW:   func1: 8c472600 (*)
RTW: ================
RTW: CHIP TYPE: RTL8192F
RTW: Chip Version Info: CHIP_8192F_U2_2T2R_RomVer(0)
RTW: SetHwReg: hci_sus_state=1
RTW: SetHwReg: bMacPwrCtrlOn=1
RTW: SetHwReg: hci_sus_state=2
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: val_mix:0x0000063f, res:0xffffffff
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:0).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:1).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:2).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:3).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:4).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:5).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:6).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:7).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:8).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:9).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:10).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:11).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:12).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:13).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:14).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:15).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:16).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:17).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:18).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:19).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:20).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:21).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:22).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:23).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:24).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:25).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:26).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:27).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:28).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:29).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:30).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:31).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:32).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:33).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:34).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:35).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:36).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:37).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:38).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:39).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:40).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:41).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:42).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:43).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:44).
^C^Cmmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:45).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:46).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:47).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:48).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:49).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:50).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:51).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:52).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:53).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:54).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:55).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:56).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:57).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:58).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:59).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:60).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:61).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:62).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:63).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:64).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:65).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:66).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:67).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:68).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:69).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:70).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:71).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:72).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:73).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:74).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:75).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:76).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:77).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:78).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:79).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:80).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:81).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:82).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:83).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:84).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:85).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:86).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:87).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:88).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:89).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:90).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:91).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:92).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:93).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:94).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:95).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:96).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:97).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:98).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:99).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: fail at cmd52, cmd53.
RTW: ERROR Dump MAC Page0 register:
RTW: 0x00: 9e 82 00 dc 92 00 03 14 23 7c 20 00 00 00 00 00 
RTW: 0x10: 43 6f 4e 48 55 a9 a3 95 00 01 40 00 00 11 24 07 
RTW: 0x20: 3d 1d 00 0b c7 fd cf 41 c1 89 06 6d 48 04 a3 08 
RTW: 0x30: 00 00 60 10 80 fc ff ff 00 10 00 0e 00 00 00 00 
RTW: 0x40: 00 01 00 00 02 00 00 00 00 02 00 00 82 82 c2 00 
RTW: 0x50: 00 00 00 00 00 0c 00 80 01 00 00 00 c0 00 00 00 
RTW: 0x60: 00 00 00 02 00 20 27 06 05 68 00 00 10 50 e0 88 
RTW: 0x70: 00 00 83 00 15 04 00 00 fb 02 30 07 ab 00 b0 89 
RTW: 0x80: 05 13 60 07 00 00 00 00 00 00 00 00 00 00 00 00 
RTW: 0x90: 00 b5 00 d4 70 00 00 20 00 00 00 00 00 00 00 00 
RTW: 0xa0: 20 06 00 00 30 04 71 42 20 70 00 00 4b 15 de 40 
RTW: 0xb0: 00 00 00 00 00 00 00 e1 00 00 00 00 00 02 00 00 
RTW: 0xc0: ea ea ea ea 00 00 00 00 ea ea ea ea 29 00 00 69 
RTW: 0xd0: 00 ff 0f 00 00 00 00 bc 00 00 00 00 cc 00 00 00 
RTW: 0xe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 af ff 01 
RTW: 0xf0: 33 11 48 0c c0 28 24 00 29 81 09 00 0d 02 00 00 
RTW: Power on Fail! do it again
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: val_mix:0x0000063f, res:0xffffffff
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:0).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:1).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:2).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:3).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:4).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:5).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:6).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:7).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:8).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:9).
^Cmmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:10).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:11).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:12).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:13).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:14).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:15).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:16).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:17).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:18).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:19).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:20).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:21).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:22).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:23).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:24).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:25).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:26).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:27).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:28).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:29).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:30).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:31).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:32).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:33).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:34).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:35).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:36).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:37).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:38).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:39).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:40).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:41).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:42).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:43).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:44).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:45).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:46).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:47).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:48).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:49).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:50).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:51).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:52).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:53).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:54).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:55).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:56).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:57).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:58).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:59).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:60).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:61).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:62).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:63).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:64).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:65).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:66).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:67).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:68).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:69).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:70).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:71).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:72).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:73).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:74).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:75).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:76).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:77).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:78).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:79).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:80).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:81).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:82).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:83).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:84).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:85).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:86).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:87).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:88).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:89).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:90).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:91).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:92).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:93).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:94).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:95).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:96).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:97).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:98).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: 0x100 cmd52 and cmd53 is not the same(index:99).
mmc1: Timeout waiting for hardware interrupt.
RTW: sdio_power_on_check: fail at cmd52, cmd53.
RTW: ERROR Dump MAC Page0 register:
RTW: 0x00: 9e 82 00 dc 92 00 03 14 23 7c 20 00 00 00 00 00 
RTW: 0x10: 43 6f 4e 48 55 a9 a3 95 00 01 40 00 00 11 24 07 
RTW: 0x20: 3d 1d 00 0b c7 fd cf 41 c1 89 06 6d 48 04 a3 08 
RTW: 0x30: 00 00 60 10 80 fc ff ff 00 10 00 0e 00 00 00 00 
RTW: 0x40: 00 01 00 00 02 00 00 00 00 02 00 00 82 82 c2 00 
RTW: 0x50: 00 00 00 00 00 0c 00 80 01 00 00 00 c0 00 00 00 
RTW: 0x60: 00 00 00 02 00 20 27 06 05 68 00 00 10 50 e0 88 
RTW: 0x70: 00 00 83 00 15 04 00 00 fb 02 30 07 ab 00 b0 89 
RTW: 0x80: 05 13 60 07 00 00 00 00 00 00 00 00 00 00 00 00 
RTW: 0x90: 00 b5 00 d4 70 00 00 20 00 00 00 00 00 00 00 00 
RTW: 0xa0: 20 06 00 00 30 04 71 42 20 70 00 00 4b 15 de 40 
RTW: 0xb0: 00 00 00 00 00 00 00 e1 00 00 00 00 00 02 00 00 
RTW: 0xc0: ea ea ea ea 00 00 00 00 ea ea ea ea 29 00 00 69 
RTW: 0xd0: 00 ff 0f 00 00 00 00 bc 00 00 00 00 cc 00 00 00 
RTW: 0xe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 af ff 01 
RTW: 0xf0: 33 11 48 0c c0 28 24 00 29 81 09 00 0d 02 00 00 
RTW: Failed to init Power On!
RTW: ReadAdapterInfo8192FS, 0x4e=0xc2
RTW: EEPROM type is E-FUSE
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=0
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=1
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=2
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=3
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=4
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=5
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=6
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=7
RTW: ERROR sd_read32: FAIL!(-110) addr=0x10034, val=0xffffffff, try_cnt=8
RTW: hal_EfuseSwitchToBank: Efuse switch bank to 0
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff
mmc1: Timeout waiting for hardware interrupt.
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=0
RTW: [dvobj:8c914000][ERROR] continual_io_error:9 > 8
RTW: ERROR sd_read32: (-110) addr=0x10034, val=0xffffffff, try_cnt=0
RTW: efuse_OneByteRead: [ERROR] addr=0x0 bResult=0 time out 1s !!!
RTW: efuse_OneByteRead: [ERROR] EFUSE_CTRL =0x00000000 !!!
RTW: hal_ReadEFuse_WiFi: data end at address=0x0
RTW: HW EFUSE
RTW: 0x000: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x010: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x020: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x030: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x040: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x0B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x0C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x100: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x110: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x120: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x140: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
RTW: rtw_read_efuse_from_file /system/etc/wifi/wifi_efuse_8192fs.map is not readable
RTW: ERROR invalid phy efuse and read from file fail, will use driver default!!
RTW: EEPROM ID(0xffff) is invalid!!
RTW: rtw_read_macaddr_from_file /data/wifimac.txt is not readable
RTW: ERROR 

Empty EFUSE with unknown REF type!!

RTW: ERROR please program efuse or specify correct RFE type.
RTW: ERROR cmd: insmod rtl8192fx.ko rtw_RFE_type=<rfe_type>

RTW: SetHwReg: bMacPwrCtrlOn=0
RTW: SetHwReg: hci_sus_state=3
RTW: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x5]=02
RTW: SetHwReg: hci_sus_state=4
RTW: 3CardDisableRTL8192FSdio: run CARD DISABLE flow fail!
RTW: rtw_hal_read_chip_info in 2140110 ms
RTW: rtw_init_primary_adapter Failed!
RTW: module init ret=0

----------END---------------

debug,发现CMD53读取 信息失败:

mmc1: starting CMD53 arg 16020004 flags 000001b5
mmc1:     blksz 4 blocks 1 flags 00000200 tsac 1000 ms nsac 0
(sdhci_prepare_data)(758).
(sdhci_prepare_data)(760).
(sdhci_prepare_data)(833).ret=0.host->adma_addr=0x8c456000.
sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001
(sdhci_finish_command)(1113).
(sdhci_finish_command)(1116).
host->data=8cbf1bec host->data_early=0.(sdhci_finish_command)(1124).
host->cmd->opcode=53.host->cmd->data=8cbf1bec.
sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001.__LINE_=2615.
sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000000.__LINE_=2651.
mmc1: Timeout waiting for hardware interrupt. 
sdhci: =========== REGISTER DUMP (mmc1)===========
sdhci: Sys addr: 0x8c4fd398 | Version:  0x00000002
sdhci: Blk size: 0x00000004 | Blk cnt:  0x00000001
sdhci: Argument: 0x16020004 | Trn mode: 0x00000013
sdhci: Present:  0x01f8820e | Host ctl: 0x00000023
sdhci: Power:    0x00000002 | Blk gap:  0x00000080
sdhci: Wake-up:  0x00000008 | Clock:    0x0000002f
sdhci: Timeout:  0x0000008f | Int stat: 0x00000000
sdhci: Int enab: 0x107f100b | Sig enab: 0x107f100b
sdhci: AC12 err: 0x00000000 | Slot int: 0x00000302
sdhci: Caps:     0x07eb0000 | Caps_1:   0x0000b407
sdhci: Cmd:      0x0000353a | Max curr: 0x00ffffff
sdhci: Host ctl2: 0x00000000
sdhci: ADMA Err: 0x00000003 | ADMA Ptr: 0x8c456004
sdhci: ===========================================
(sdhci_finish_data)(963).
(sdhci_adma_table_post)(602).
mmc1: req done (CMD53): 0: 00001000 00000000 00000000 00000000
mmc1:     0 bytes transferred: -110

硬件依然有问题。。。。。。

咨询wifi厂家,CMD53和CMD52一般是SDIO 硬件接口有问题。硬件调整 wifi模块 上电时序。

RTW: ERROR sd_write32: FAIL!(-110) addr=0x14fac val=0x126bae90, try_cnt=8
RTW: ERROR sd_write32: (-110) addr=0x14000 val=0x00000000
RTW: ERROR sd_write32: (-110) addr=0x14000, val=0x0, try_cnt=0
RTW: [dvobj:8c924000][ERROR] continual_io_error:9 > 8
RTW: ERROR sd_write32: (-110) addr=0x14000 val=0x00000000, try_cnt=0
RTW: rtl8192f_FirmwareDownload fail. write_fw:2, 465050ms
RTW:  <=== rtl8192f_FirmwareDownload()
RTW: hal_read_mac_hidden_rpt Fail! (0, 465150ms), fwdl:0, id:0xfd
RTW: SetHwReg: bMacPwrCtrlOn=0
RTW: SetHwReg: hci_sus_state=3
RTW: ERROR HalPwrSeqCmdParsing: Fail to polling Offset[0x5]=02
RTW: SetHwReg: hci_sus_state=4
RTW: 3CardDisableRTL8192FSdio: run CARD DISABLE flow fail!
RTW: rtw_hal_read_chip_info in 497370 ms
RTW: rtw_init_primary_adapter Failed!
RTW: ERROR sdio_deinit: sdio_disable_func(-5)
RTW: module init ret=0

 

 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值