Augustus007 发表于 2018-5-2 09:41:50

imx6ul SDIO WIFI RTL8189ES找不到wlan0

在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.1Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNINGMTU:65536Metric: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相关

飞凌-chongzi 发表于 2018-5-3 11:07:06

您好:
    您使用ifconfig wlan0命令查看一下,看是否有wlan0这个节点,如果有的话再输入ifconfig wlan0 up命令打开即可

Augustus007 发表于 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: May4 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
RTL871X: efuse_read_phymap_from_txpktbuf read count:512
RTL871X: EFUSE is empty efuse_Addr-0 efuse_data=ff
RTL871X: EEPROM ID(0x0) is invalid!!
RTL871X: EEPROM ID=0x0000
RTL871X: ======= Path 0, Channel 1 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 2 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 3 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 4 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 5 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 6 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 7 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 8 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 9 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 10 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 11 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 12 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 13 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= Path 0, Channel 14 =======
RTL871X: Index24G_CCK_Base = 0x2d
RTL871X: Index24G_BW40_Base = 0x2d
RTL871X: ======= TxCount 0 =======
RTL871X: CCK_24G_Diff= 0
RTL871X: OFDM_24G_Diff= 4
RTL871X: BW20_24G_Diff= 2
RTL871X: BW40_24G_Diff= 0
RTL871X: EEPROMRegulatory = 0x0
RTL871X: mlmepriv.ChannelPlan = 0x20
RTL871X: CrystalCap: 0x20
RTL871X: EEPROM Customer ID: 0x 0
RTL871X: Board Type: 0x 0
RTL871X: ThermalMeter = 0x18
RTL871X: else AutoloadFail =1,
RTL871X: Hal_ReadRFGainOffset => EEPRORFGainOffset = 0x00,EEPROMRFGainVal=0xff,thermal_offset:0x00
RTL871X: <==== ReadAdapterInfo8188ES in 201330 ms
RTL871X: Hal_ChannelPlanToRegulation ChannelPlan:0x20,Regulation(2_4G/5G):0x03,0x03
RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13
RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
RTL871X: ERROR invalid mac addr:00:00:00:00:00:00, assign random MAC
RTL871X: rtw_macaddr_cfg mac addr:00:e0:4c:35:8d:10
RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=00:e0:4c:35:8d:10
RTL871X: module init ret=0
root@freescale ~$ ifconfig -a
eth0      Link encap:EthernetHWaddr B2:3F:47:78:58:B1
          inet addr:192.168.0.232Bcast:192.168.0.255Mask:255.255.255.0
          UP BROADCAST MULTICASTMTU:1500Metric: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:EthernetHWaddr 72:E9:E2:B9:F3:2F
          BROADCAST MULTICASTMTU:1500Metric: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.1Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNINGMTU:65536Metric: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
          NOARPMTU:1480Metric: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:EthernetHWaddr 00:E0:4C:35:8D:10
          BROADCAST MULTICASTMTU:1500Metric: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
RTL871X: +871x_drv - drv_open, bup=0
RTL871X: +rtl8188es_hal_init
RTL871X: rtl8188es_hal_init:Leave LPS done before PowerOn!!
RTL871X: =>hal_poweroff_8188es
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
RTL871X: <=hal_poweroff_8188es
RTL871X: =>_InitPowerOn_8188ES
RTL871X: =>_CardEnable
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
RTL871X: <=_CardEnable
RTL871X: <=_InitPowerOn_8188ES
RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0xffffffff
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:0).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:1).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:2).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:3).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:4).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:5).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:6).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:7).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:8).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:9).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:10).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:11).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:12).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:13).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:14).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:15).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:16).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:17).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:18).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:19).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:20).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:21).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:22).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:23).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:24).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:25).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:26).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:27).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:28).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:29).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:30).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:31).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:32).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:33).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:34).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:35).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:36).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:37).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:38).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:39).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:40).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:41).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:42).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:43).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:44).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:45).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:46).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:47).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:48).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:49).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:50).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:51).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:52).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:53).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:54).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:55).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:56).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:57).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:58).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:59).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:60).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:61).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:62).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:63).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:64).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:65).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:66).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:67).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:68).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:69).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:70).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:71).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:72).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:73).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:74).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:75).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:76).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:77).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:78).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:79).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:80).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:81).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:82).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:83).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:84).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:85).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:86).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:87).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:88).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:89).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:90).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:91).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:92).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:93).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:94).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:95).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:96).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:97).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:98).
RTL871X: PowerOnCheck: 0x100 cmd52 and cmd53 is not the same(index:99).
RTL871X: PowerOnCheck: fail at cmd52, cmd53.
RTL871X: Dump SDIO f0:
RTL871X: 0x00: 32 02 02 02 03 00 00 42 13 00 10 00 00 00 00 00
RTL871X: 0x10: 00 00 01 03 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: Dump SDIO local register:
RTL871X: 0x00: 06 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x10: 00 00 00 00 00 00 00 00 00 00 80 c0 00 00 00 00
RTL871X: 0x20: 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x30: fd 12 00 13 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0x80: c0 00 00 00 00 00 02 00 0a 00 00 00 00 00 00 00
RTL871X: 0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xc0: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: Dump MAC Page0 register:
RTL871X: 0x00: fe 83 e0 fc 12 00 82 00 a3 fc 20 00 00 00 00 00
RTL871X: 0x10: 01 5b e3 aa ca 89 02 00 00 01 40 00 00 18 2c 00
RTL871X: 0x20: 01 01 00 05 ff 07 c1 35 37 b1 2c 04 10 12 00 80
RTL871X: 0x30: ff f6 20 80 00 00 00 18 00 00 00 00 22 2e 00 00
RTL871X: 0x40: 00 00 00 0f 80 80 ff 00 00 f0 00 00 82 82 02 00
RTL871X: 0x50: 00 00 00 80 00 08 00 00 00 00 00 00 c0 00 00 00
RTL871X: 0x60: ea ea ea ea 00 00 00 00 ea ea ea ea f2 01 80 80
RTL871X: 0x70: 80 00 03 00 a0 00 00 00 f7 8d 01 00 03 00 00 00
RTL871X: 0x80: 04 00 03 c0 00 00 00 80 00 00 00 00 00 00 00 00
RTL871X: 0x90: 00 00 00 ff ea ea ea ea ea ea ea ea 00 00 00 00
RTL871X: 0xa0: ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea
RTL871X: 0xb0: 00 00 00 00 00 01 d0 20 00 00 00 00 00 0c 00 10
RTL871X: 0xc0: ea ea ea ea ea ea ea ea ea ea ea ea 29 81 00 00
RTL871X: 0xd0: 02 7f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RTL871X: 0xe0: 00 00 00 00 00 00 00 00 00 00 00 00 15 3f 01 98
RTL871X: 0xf0: 33 37 40 94 00 00 00 18 00 00 03 c6 02 00 00 02
RTL871X: Power on Fail! do it again
RTL871X: =>_InitPowerOn_8188ES
RTL871X: =>_CardEnable
RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
RTL871X: <=_CardEnable
RTL871X: <=_InitPowerOn_8188ES
RTL871X: Power on ok!
RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15262
RTL871X: rtl8188e_FirmwareDownload: fw_ver=1c fw_subver=0000 sig=0x88e1, Month=14, Date=27, Hour=7e, Minute=3b
RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005
RTL871X: =====> _8051Reset88E(): 8051 reset success .
RTL871X: _FWFreeToGo: Polling FW ready OK! (1, 10ms), REG_MCUFWDL:0x000300c6
RTL871X: FWDL success. write_fw:1, 1710ms
==> rtl8188e_iol_efuse_patch
RTL871X: Failed to polling write LLT done at address 0!
RTL871X: rtl8188es_hal_init in 3920ms
RTL871X: rtw_hal_init: hal__init fail
RTL871X: -871x_drv - drv_open fail, bup=0
ifconfig: SIOCSIFFLAGS: Operation not permitted
root@freescale ~$

ifconfig wlan0 up 失败

飞凌-chongzi 发表于 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: Dec7 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
您的光盘资料用的是什么时候的,此外您的模块使用的是我们的吗,还是您自己的

Augustus007 发表于 2018-5-5 10:22:26

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

这是我们自己买的模块,驱动也是wifi模块厂家提供的

Augustus007 发表于 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: May5 2018 10:29:52
[   17.704106] bFWReady == _FALSE call reset 8051...
RTL871X: ERROR invalid mac addr:00:00:00:00:00:00, assign random MAC
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=00:e0:4c:21:63:55
RTL871X: module init ret=0

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

飞凌-chongzi 发表于 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 ...

您好:
    后续您的问题解决了吗,有结果后如果方便可以把您的处理方法贴一下

瑞芯微 发表于 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的错误,请问你的问题后来怎么处理的呢
页: [1]
查看完整版本: imx6ul SDIO WIFI RTL8189ES找不到wlan0