嵌入式爱好者

查看: 2939|回复: 7

[Linux] imx6ul SDIO WIFI RTL8189ES找不到wlan0

[复制链接]

7

主题

23

帖子

143

积分

i.MX8MM通行证i.MX6UL通行证i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2018-5-2 09:41:50 | 显示全部楼层 |阅读模式
在imx6ul板子上加载RTL8189ES驱动后,使用ifconfig去查看,并没有wlan0

RTL871X: module init start
RTL871X: rtl8189es v4.3.18.4_22798.20170620
RTL871X: build time: Apr 28 2018 13:48:29
RTL871X: module init ret=0


root@freescale ~$ ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@freescale ~$


从启动log里面看mmc相关
回复

使用道具 举报

2

主题

3666

帖子

3512

积分

发表于 2018-5-3 11:07:06 | 显示全部楼层
您好:
    您使用ifconfig wlan0命令查看一下,看是否有wlan0这个节点,如果有的话再输入ifconfig wlan0 up命令打开即可
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

7

主题

23

帖子

143

积分

i.MX8MM通行证i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2018-5-4 14:37:19 | 显示全部楼层
root@freescale ~$ insmod 8189es.ko
[   42.415968] RTL871X: module init start
[   42.419759] RTL871X: rtl8189es v4.3.18.4_22798.20170620
[   42.429209] RTL871X: build time: May  4 2018 13:51:24
[   42.444874] RTL871X: CHIP TYPE: RTL8188E
[   42.449437] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[   42.460598] RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[   42.469430] RTL871X: EEPROM type is E-FUSE
[   42.474762] RTL871X: =>_CardEnable
[   42.491749] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[   42.504555] RTL871X: <=_CardEnable
[   42.508862] RTL871X: _ReadPROMContent: 9346CR=0x20, Boot from EFUSE, Autoload OK
[   42.517804] RTL871X: =>_InitPowerOn_8188ES
[   42.521917] RTL871X: =>_CardEnable
[   42.527451] RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
[   42.534465] RTL871X: <=_CardEnable
[   42.538780] RTL871X: <=_InitPowerOn_8188ES
[   42.546777] bFWReady == _FALSE call reset 8051...
[   42.552769] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[   42.582372] RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
[   42.600552] RTL871X: efuse_read_phymap_from_txpktbuf len:65535, lenbak:162, aaa:65535, aaabak:162
[  243.425050] RTL871X: efuse_read_phymap_from_txpktbuf read count:512
[  243.431384] RTL871X: EFUSE is empty efuse_Addr-0 efuse_data=ff
[  243.439921] RTL871X: EEPROM ID(0x0) is invalid!!
[  243.445902] RTL871X: EEPROM ID=0x0000
[  243.449601] RTL871X: ======= Path 0, Channel 1 =======
[  243.455289] RTL871X: Index24G_CCK_Base[0][1] = 0x2d
[  243.460193] RTL871X: Index24G_BW40_Base[0][1] = 0x2d
[  243.465688] RTL871X: ======= Path 0, Channel 2 =======
[  243.470850] RTL871X: Index24G_CCK_Base[0][2] = 0x2d
[  243.476222] RTL871X: Index24G_BW40_Base[0][2] = 0x2d
[  243.481208] RTL871X: ======= Path 0, Channel 3 =======
[  243.486906] RTL871X: Index24G_CCK_Base[0][3] = 0x2d
[  243.491809] RTL871X: Index24G_BW40_Base[0][3] = 0x2d
[  243.497263] RTL871X: ======= Path 0, Channel 4 =======
[  243.502425] RTL871X: Index24G_CCK_Base[0][4] = 0x2d
[  243.507775] RTL871X: Index24G_BW40_Base[0][4] = 0x2d
[  243.512763] RTL871X: ======= Path 0, Channel 5 =======
[  243.518504] RTL871X: Index24G_CCK_Base[0][5] = 0x2d
[  243.523759] RTL871X: Index24G_BW40_Base[0][5] = 0x2d
[  243.528744] RTL871X: ======= Path 0, Channel 6 =======
[  243.534350] RTL871X: Index24G_CCK_Base[0][6] = 0x2d
[  243.539288] RTL871X: Index24G_BW40_Base[0][6] = 0x2d
[  243.544708] RTL871X: ======= Path 0, Channel 7 =======
[  243.549870] RTL871X: Index24G_CCK_Base[0][7] = 0x2d
[  243.555206] RTL871X: Index24G_BW40_Base[0][7] = 0x2d
[  243.560194] RTL871X: ======= Path 0, Channel 8 =======
[  243.565797] RTL871X: Index24G_CCK_Base[0][8] = 0x2d
[  243.570698] RTL871X: Index24G_BW40_Base[0][8] = 0x2d
[  243.576112] RTL871X: ======= Path 0, Channel 9 =======
[  243.581275] RTL871X: Index24G_CCK_Base[0][9] = 0x2d
[  243.586607] RTL871X: Index24G_BW40_Base[0][9] = 0x2d
[  243.591595] RTL871X: ======= Path 0, Channel 10 =======
[  243.597402] RTL871X: Index24G_CCK_Base[0][10] = 0x2d
[  243.602390] RTL871X: Index24G_BW40_Base[0][10] = 0x2d
[  243.613506] RTL871X: ======= Path 0, Channel 11 =======
[  243.618765] RTL871X: Index24G_CCK_Base[0][11] = 0x2d
[  243.633137] RTL871X: Index24G_BW40_Base[0][11] = 0x2d
[  243.638227] RTL871X: ======= Path 0, Channel 12 =======
[  243.663113] RTL871X: Index24G_CCK_Base[0][12] = 0x2d
[  243.668114] RTL871X: Index24G_BW40_Base[0][12] = 0x2d
[  243.683133] RTL871X: ======= Path 0, Channel 13 =======
[  243.688396] RTL871X: Index24G_CCK_Base[0][13] = 0x2d
[  243.703128] RTL871X: Index24G_BW40_Base[0][13] = 0x2d
[  243.708217] RTL871X: ======= Path 0, Channel 14 =======
[  243.723125] RTL871X: Index24G_CCK_Base[0][14] = 0x2d
[  243.728125] RTL871X: Index24G_BW40_Base[0][14] = 0x2d
[  243.743134] RTL871X: ======= TxCount 0 =======
[  243.747645] RTL871X: CCK_24G_Diff[0][0]= 0
[  243.751756] RTL871X: OFDM_24G_Diff[0][0]= 4
[  243.772677] RTL871X: BW20_24G_Diff[0][0]= 2
[  243.777416] RTL871X: BW40_24G_Diff[0][0]= 0
[  243.781623] RTL871X: EEPROMRegulatory = 0x0
[  243.786347] RTL871X: mlmepriv.ChannelPlan = 0x20
[  243.790991] RTL871X: CrystalCap: 0x20
[  243.795144] RTL871X: EEPROM Customer ID: 0x 0
[  243.799524] RTL871X: Board Type: 0x 0
[  243.803657] RTL871X: ThermalMeter = 0x18
[  243.816170] RTL871X: else AutoloadFail =1,
[  243.820288] RTL871X: Hal_ReadRFGainOffset => EEPRORFGainOffset = 0x00,EEPROMRFGainVal=0xff,thermal_offset:0x00
[  243.833389] RTL871X: <==== ReadAdapterInfo8188ES in 201330 ms
[  243.839453] RTL871X: Hal_ChannelPlanToRegulation ChannelPlan:0x20,Regulation(2_4G/5G):0x03,0x03
[  243.848759] RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13  
[  243.856603] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[  243.872782] RTL871X: ERROR invalid mac addr:00:00:00:00:00:00, assign random MAC
[  243.881501] RTL871X: rtw_macaddr_cfg mac addr:00:e0:4c:35:8d:10
[  243.888106] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[  243.897632] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=00:e0:4c:35:8d:10
[  243.937197] RTL871X: module init ret=0
root@freescale ~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr B2:3F:47:78:58:B1  
          inet addr:192.168.0.232  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth1      Link encap:Ethernet  HWaddr 72:E9:E2:B9:F3:2F  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:E0:4C:35:8D:10  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@freescale ~$ ifconfig wlan0 up
[  273.549696] RTL871X: +871x_drv - drv_open, bup=0
[  273.555966] RTL871X: +rtl8188es_hal_init
[  273.561564] RTL871X: rtl8188es_hal_init:Leave LPS done before PowerOn!!
[  273.570662] RTL871X: =>hal_poweroff_8188es
[  273.578146] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
[  273.595557] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
[  273.600449] RTL871X: <=hal_poweroff_8188es
[  273.633121] RTL871X: =>_InitPowerOn_8188ES
[  273.637253] RTL871X: =>_CardEnable
[  273.649899] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[  273.667804] RTL871X: <=_CardEnable
[  273.674981] RTL871X: <=_InitPowerOn_8188ES
[  273.686734] RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0xffffffff
[  273.703132] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:0).
[  273.723143] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:1).
[  273.732913] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:2).
[  273.742093] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:3).
[  273.750952] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:4).
[  273.759711] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:5).
[  273.768494] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:6).
[  273.777208] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:7).
[  273.785981] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:8).
[  273.794836] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:9).
[  273.802627] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:10).
[  273.812140] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:11).
[  273.821020] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:12).
[  273.829813] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:13).
[  273.838878] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:14).
[  273.847866] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:15).
[  273.856763] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:16).
[  273.865598] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:17).
[  273.874471] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:18).
[  273.882338] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:19).
[  273.891868] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:20).
[  273.900850] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:21).
[  273.909740] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:22).
[  273.918555] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:23).
[  273.927402] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:24).
[  273.936213] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:25).
[  273.945052] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:26).
[  273.952920] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:27).
[  273.962610] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:28).
[  273.971470] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:29).
[  273.980339] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:30).
[  273.989154] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:31).
[  273.998016] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:32).
[  274.006993] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:33).
[  274.015888] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:34).
[  274.024698] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:35).
[  274.032581] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:36).
[  274.042058] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:37).
[  274.050992] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:38).
[  274.059964] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:39).
[  274.068848] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:40).
[  274.077676] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:41).
[  274.086536] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:42).
[  274.095337] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:43).
[  274.104190] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:44).
[  274.112058] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:45).
[  274.121779] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:46).
[  274.130622] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:47).
[  274.139489] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:48).
[  274.148431] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:49).
[  274.157295] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:50).
[  274.166262] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:51).
[  274.175178] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:52).
[  274.184513] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:53).
[  274.192419] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:54).
[  274.201349] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:55).
[  274.210334] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:56).
[  274.219182] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:57).
[  274.228065] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:58).
[  274.236884] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:59).
[  274.245709] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:60).
[  274.254523] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:61).
[  274.262399] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:62).
[  274.272048] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:63).
[  274.280912] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:64).
[  274.289745] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:65).
[  274.298585] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:66).
[  274.307395] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:67).
[  274.316380] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:68).
[  274.325227] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:69).
[  274.334537] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:70).
[  274.342436] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:71).
[  274.351399] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:72).
[  274.360221] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:73).
[  274.369211] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:74).
[  274.378043] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:75).
[  274.386864] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:76).
[  274.395682] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:77).
[  274.404511] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:78).
[  274.412380] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:79).
[  274.422091] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:80).
[  274.430949] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:81).
[  274.439762] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:82).
[  274.448574] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:83).
[  274.457382] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:84).
[  274.466185] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:85).
[  274.475183] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:86).
[  274.484478] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:87).
[  274.492384] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:88).
[  274.501349] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:89).
[  274.510181] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:90).
[  274.519016] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:91).
[  274.528003] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:92).
[  274.536838] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:93).
[  274.545658] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:94).
[  274.554472] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:95).
[  274.562352] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:96).
[  274.571816] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:97).
[  274.580804] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:98).
[  274.589661] RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:99).
[  274.598625] RTL871X: PowerOnCheck: fail at cmd52, cmd53.
[  274.604912] RTL871X: Dump SDIO f0:
[  274.610076] RTL871X: 0x00: 32 02 02 02 03 00 00 42 13 00 10 00 00 00 00 00
[  274.625054] RTL871X: 0x10: 00 00 01 03 00 00 00 00 00 00 00 00 00 00 00 00
[  274.643891] RTL871X: 0x20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.654971] RTL871X: 0x30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.673226] RTL871X: 0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.685297] RTL871X: 0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.701563] RTL871X: 0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.717012] RTL871X: 0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.728727] RTL871X: 0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.748450] RTL871X: 0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.758627] RTL871X: 0xa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.776854] RTL871X: 0xb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.788365] RTL871X: 0xc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.802787] RTL871X: 0xd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.817609] RTL871X: 0xe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.834910] RTL871X: 0xf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.841888] RTL871X: Dump SDIO local register:
[  274.855180] RTL871X: 0x00: 06 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
[  274.872389] RTL871X: 0x10: 00 00 00 00 00 00 00 00 00 00 80 c0 00 00 00 00
[  274.885521] RTL871X: 0x20: 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00
[  274.901283] RTL871X: 0x30: fd 12 00 13 00 00 00 00 00 00 00 00 00 00 00 00
[  274.915957] RTL871X: 0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.929476] RTL871X: 0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.947946] RTL871X: 0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.959041] RTL871X: 0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  274.978555] RTL871X: 0x80: c0 00 00 00 00 00 02 00 0a 00 00 00 00 00 00 00
[  274.989100] RTL871X: 0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  275.008093] RTL871X: 0xa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  275.019125] RTL871X: 0xb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  275.038661] RTL871X: 0xc0: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  275.049073] RTL871X: 0xd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  275.068080] RTL871X: 0xe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  275.078853] RTL871X: 0xf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  275.091823] RTL871X: Dump MAC Page0 register:
[  275.098445] RTL871X: 0x00: fe 83 e0 fc 12 00 82 00 a3 fc 20 00 00 00 00 00
[  275.116031] RTL871X: 0x10: 01 5b e3 aa ca 89 02 00 00 01 40 00 00 18 2c 00
[  275.127864] RTL871X: 0x20: 01 01 00 05 ff 07 c1 35 37 b1 2c 04 10 12 00 80
[  275.142642] RTL871X: 0x30: ff f6 20 80 00 00 00 18 00 00 00 00 22 2e 00 00
[  275.157287] RTL871X: 0x40: 00 00 00 0f 80 80 ff 00 00 f0 00 00 82 82 02 00
[  275.171858] RTL871X: 0x50: 00 00 00 80 00 08 00 00 00 00 00 00 c0 00 00 00
[  275.186522] RTL871X: 0x60: ea ea ea ea 00 00 00 00 ea ea ea ea f2 01 80 80
[  275.201123] RTL871X: 0x70: 80 00 03 00 a0 00 00 00 f7 8d 01 00 03 00 00 00
[  275.216102] RTL871X: 0x80: 04 00 03 c0 00 00 00 80 00 00 00 00 00 00 00 00
[  275.230778] RTL871X: 0x90: 00 00 00 ff ea ea ea ea ea ea ea ea 00 00 00 00
[  275.245503] RTL871X: 0xa0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea
[  275.261729] RTL871X: 0xb0: 00 00 00 00 00 01 d0 20 00 00 00 00 00 0c 00 10
[  275.275274] RTL871X: 0xc0: ea ea ea ea ea ea ea ea ea ea ea ea 29 81 00 00
[  275.294210] RTL871X: 0xd0: 02 7f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  275.308751] RTL871X: 0xe0: 00 00 00 00 00 00 00 00 00 00 00 00 15 3f 01 98
[  275.319657] RTL871X: 0xf0: 33 37 40 94 00 00 00 18 00 00 03 c6 02 00 00 02
[  275.332566] RTL871X: Power on Fail! do it again
[  275.337508] RTL871X: =>_InitPowerOn_8188ES
[  275.341628] RTL871X: =>_CardEnable
[  275.345503] RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
[  275.352141] RTL871X: <=_CardEnable
[  275.356900] RTL871X: <=_InitPowerOn_8188ES
[  275.361010] RTL871X: Power on ok!
[  275.369077] RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15262
[  275.380008] RTL871X: rtl8188e_FirmwareDownload: fw_ver=1c fw_subver=0000 sig=0x88e1, Month=14, Date=27, Hour=7e, Minute=3b
[  277.066657] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005
[  277.081022] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  277.087778] RTL871X: _FWFreeToGo: Polling FW ready OK! (1, 10ms), REG_MCUFWDL:0x000300c6
[  277.096547] RTL871X: FWDL success. write_fw:1, 1710ms
[  277.444416] ==> rtl8188e_iol_efuse_patch
[  277.474990] RTL871X: Failed to polling write LLT done at address 0!
[  277.481275] RTL871X: rtl8188es_hal_init in 3920ms
[  277.502677] RTL871X: rtw_hal_init: hal__init fail
[  277.515512] RTL871X: -871x_drv - drv_open fail, bup=0
ifconfig: SIOCSIFFLAGS: Operation not permitted
root@freescale ~$

ifconfig wlan0 up 失败
点评回复 支持 反对

使用道具 举报

2

主题

3666

帖子

3512

积分

发表于 2018-5-4 17:26:42 | 显示全部楼层
Augustus007 发表于 2018-5-4 14:37
root@freescale ~$ insmod 8189es.ko
[   42.415968] RTL871X: module init start
[   42.419759] RTL87 ...

您好:
    看您的打印信息,您的加载过程和启动wlan0的信息都不对,我的信息如下:
root@freescale ~$ insmod /lib/modules/3.14.38-6UL_ga\+ge4944a5/kernel/drivers/ne
t/wireless/realtek/rtl8189ES/8189es.ko
[   54.544765] RTL871X: module init start
[   54.548554] RTL871X: rtl8189es v4.3.18.1_15373.20151005
[   54.553790] RTL871X: build time: Dec  7 2017 17:21:04
[   54.578679] bFWReady == _FALSE call reset 8051...
[   54.609923] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=a0:f4:59:dc:ef:ec
[   54.650744] RTL871X: module init ret=0
root@freescale ~$ lsmod
8189es 886788 0 - Live 0x7f000000
root@freescale ~$ ifconfig wlan0 up
[   79.225038] ==> rtl8188e_iol_efuse_patch
[   79.504174] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@freescale ~$ [   87.914115] RTL871X: OnDeAuth(wlan0) reason=3, ta=d0:fa:1d:da:39:37, ignore=0
您的光盘资料用的是什么时候的,此外您的模块使用的是我们的吗,还是您自己的

点评

这是我们自己买的模块,驱动也是wifi模块厂家提供的  详情 回复 发表于 2018-5-5 10:22
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

7

主题

23

帖子

143

积分

i.MX8MM通行证i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2018-5-5 10:22:26 | 显示全部楼层
飞凌-chongzi 发表于 2018-5-4 17:26
您好:
    看您的打印信息,您的加载过程和启动wlan0的信息都不对,我的信息如下:
root@freescale ~$ ...

这是我们自己买的模块,驱动也是wifi模块厂家提供的
点评回复 支持 反对

使用道具 举报

7

主题

23

帖子

143

积分

i.MX8MM通行证i.MX6UL通行证i.MX6Q通行证

 楼主| 发表于 2018-5-5 10:47:40 | 显示全部楼层
root@freescale ~$ insmod 8189es.ko
[   17.657705] RTL871X: module init start
[   17.661496] RTL871X: rtl8189es v4.3.18.1_15373.20151005
[   17.670972] RTL871X: build time: May  5 2018 10:29:52
[   17.704106] bFWReady == _FALSE call reset 8051...
[  229.380817] RTL871X: ERROR invalid mac addr:00:00:00:00:00:00, assign random MAC
[  229.397003] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=00:e0:4c:21:63:55
[  229.442381] RTL871X: module init ret=0

又使用了你们提供的驱动,从打印LOG看,应该是获取MAC地址出错了,那就应该是我们连接WIFI模块数据线有问题

点评

你好,请问问题解决了吗?我也遇到wlan0 up失败的问题,看log也是cmd52 53的错误,请问你的问题后来怎么处理的呢  详情 回复 发表于 2020-9-4 15:45
点评回复 支持 反对

使用道具 举报

2

主题

3666

帖子

3512

积分

发表于 2018-5-9 13:47:12 | 显示全部楼层
Augustus007 发表于 2018-5-5 10:47
root@freescale ~$ insmod 8189es.ko
[   17.657705] RTL871X: module init start
[   17.661496] RTL87 ...

您好:
    后续您的问题解决了吗,有结果后如果方便可以把您的处理方法贴一下
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

0

主题

1

帖子

13

积分

发表于 2020-9-4 15:45:57 | 显示全部楼层
Augustus007 发表于 2018-5-5 10:47
root@freescale ~$ insmod 8189es.ko
[   17.657705] RTL871X: module init start
[   17.661496] RTL87 ...

你好,请问问题解决了吗?我也遇到wlan0 up失败的问题,看log也是cmd52 53的错误,请问你的问题后来怎么处理的呢
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|飞凌嵌入式 ( 冀ICP备12004394号-1

GMT+8, 2020-10-20 11:13

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表