Hi,all
I debug rtl8723 sdio module in android 4.4.2 system on on imx6dl board,I found that if system enter standby,after a while,resume the system.
It can not enable the wifi.
I think this is mmc standby issue about sd_write32 error.
What should I do to solve this problem?
Below are error messages:
RTL871X: module init start
RTL871X: rtl8723bs v4.3.5_11545.20140603_BTCOEX20140507-4E40
RTL871X: build time: Nov 10 2014 17:41:13
RTL871X: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
RTL871X: register rtw_netdev_ops to netdev_ops
RTL871X: rtw_wdev_alloc(padapter=dfdf1000)
RTL871X: Chip Version Info: CHIP_8723B_Normal_Chip_TSMC_B_CUT_1T1R_RomVer(0)
RTL871X: RF_Type is 3!!
RTL871X: EEPROM type is E-FUSE
RTL871X: SetHwReg8723B: bMacPwrCtrlOn=1
RTL871X: _ReadAdapterInfo8723BS, 0x4e=0xe0
RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0
RTL871X: hal_ReadEFuse_WiFi: data end at address=0xab
RTL871X: Efuse Realmap:
29 81 03 7C 51 08 28 00 62 07 0D 45 10 00 00 00
31 31 32 32 32 32 33 33 34 34 34 EE FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF 2D 2D 2D 2D 2D 2D
2D 2D 2D 2D 2D E0 FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF 20 2D 1E 00 33 88 FF FF
FF 29 20 11 00 00 00 FF 00 FF 12 FF FF FF FF FF
3E 10 01 02 23 00 00 FF 20 04 4C 02 23 B7 21 02
0C 00 22 04 00 08 00 32 FF 21 02 0C 00 22 2A 01
01 00 00 00 00 00 00 00 00 00 00 00 02 00 FF FF
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 EB 00 6E 01 00 00 00 00 FF 08 D8 33 D9 E9 6D
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
RTL871X: Hal_EfuseParseBTCoexistInfo_8723B: Enable BT-coex, ant_num=1
RTL871X: Hal_EfuseParsePackageType_8723B phy efuse read 0x1FB =fc
RTL871X: PackageType = 0x4
RTL871X: Hal_EfuseParseVoltage_8723B hwinfo[EEPROM_Voltage_ADDR_8723B] =62
RTL871X: Hal_EfuseParseVoltage_8723B pEEPROM->adjuseVoltageVal =6
RTL871X: AutoloadFail =0,
RTL871X: Adapter->eeprompriv.EEPROMRFGainVal=f0
RTL871X: EEPRORFGainOffset = 0x29
RTL871X: SetHwReg8723B: bMacPwrCtrlOn=0
RTL871X: <==== _ReadAdapterInfo8723BS in 790 ms
RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13
RTL871X: rtw_register_early_suspend
RTL871X: Init_ODM_ComInfo_8723b(): fab_ver=0 cut_ver=0
RTL871X: rtw_macaddr_cfg MAC Address = 08:d8:33:d9:e9:6d
RTL871X: bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0
RTL871X: register rtw_netdev_ops to netdev_ops
RTL871X: register rtw_netdev_if2_ops to netdev_ops
RTL871X: rtw_wdev_alloc(padapter=dfe5f000)
RTL871X: Chip Version Info: CHIP_8723B_Normal_Chip_TSMC_B_CUT_1T1R_RomVer(0)
RTL871X: RF_Type is 3!!
RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13
RTL871X: rtw_ndev_init(wlan0)
RTL871X: _rtw_drv_register_netdev, MAC Address (if1) = 08:d8:33:d9:e9:6d
RTL871X: rtw_ndev_init(p2p0)
RTL871X: _rtw_drv_register_netdev, MAC Address (if2) = 0a:d8:33:d9:e9:6d
RTL871X: module init ret=0
RTL871X: +871x_drv - if2_open, bup=0
RTL871X: +871x_drv - drv_open, bup=0
RTL871X: SetHwReg8723B: bMacPwrCtrlOn=1
RTL871X: <3>sd_write32: (-84) addr=0x10948 val=0x00000280
RTL871X: <3>sd_write32: (-84) addr=0x10948, val=0x280, try_cnt=0
RTL871X: <3>sd_write32: (-84) addr=0x10948, val=0x280, try_cnt=1
RTL871X: <3>sd_write32: (-84) addr=0x10948, val=0x280, try_cnt=2
RTL871X: <3>sd_write32: (-84) addr=0x10948, val=0x280, try_cnt=3
RTL871X: <3>sd_write32: (-84) addr=0x10948, val=0x280, try_cnt=4
RTL871X: <3>sd_write32: (-84) addr=0x10948, val=0x280, try_cnt=5
RTL871X: <3>sd_write32: (-84) addr=0x10948, val=0x280, try_cnt=6
RTL871X: <3>sd_write32: (-84) addr=0x10948, val=0x280, try_cnt=7
RTL871X: <3>sd_write32: FAIL!(-84) addr=0x10948 val=0x00000280, try_cnt=8
RTL871X: rtl8723b_FirmwareDownload fw: FW_NIC, size: 30808
RTL871X: rtl8723b_FirmwareDownload: fw_ver=1b fw_subver=0001 sig=0x5301, Month=04, Date=29, Hour=13, Minute=45
RTL871X: rtl8723b_FirmwareDownload(): Shift for fw header!
RTL871X: <3>sd_write32: (-84) addr=0x11000 val=0x02ed4502
RTL871X: <3>sd_write32: (-84) addr=0x11000, val=0x2ed4502, try_cnt=0
RTL871X: [dvobj:d7137000][ERROR] continual_io_error:9 > 8
RTL871X: <3>sd_write32: (-84) addr=0x11000 val=0x02ed4502, try_cnt=0
====>_BlockWrite 110 i:0
====>_WriteFW 248
RTL871X: FWDL fail. write_fw:1, 0ms
RTL871X: <=== rtl8723b_FirmwareDownload()
RTL871X: rtw_hal_init: hal__init fail
RTL871X: -871x_drv - drv_open fail, bup=0
RTL871X: -871x_drv - if2_open, bup=0
ADDRCONF(NETDEV_UP): p2p0: link is not ready
RTL871X: cfg80211_rtw_set_power_mgmt(p2p0) enabled:1, timeout:-1
RTL871X: cfg80211_rtw_flush_pmksa(p2p0)
RTL871X: cfg80211_rtw_change_station(p2p0)
RTL871X: cfg80211_rtw_change_station(p2p0)
RTL871X: cfg80211_rtw_change_station(p2p0)
RTL871X: +871x_drv - drv_open, bup=0
RTL871X: <3>sd_write32: (-84) addr=0x10948 val=0x00000280
RTL871X: <3>sd_write32: (-84) addr=0x10948, val=0x280, try_cnt=0
RTL871X: [dvobj:d7137000][ERROR] continual_io_error:10 > 8
RTL871X: <3>sd_write32: (-84) addr=0x10948 val=0x00000280, try_cnt=0
RTL871X: rtl8723b_FirmwareDownload(wlan0) tmp_ps=0
RTL871X: rtl8723b_FirmwareDownload fw: FW_NIC, size: 30808
RTL871X: rtl8723b_FirmwareDownload: fw_ver=1b fw_subver=0001 sig=0x5301, Month=04, Date=29, Hour=13, Minute=45
RTL871X: rtl8723b_FirmwareDownload(): Shift for fw header!
RTL871X: _FWDownloadEnable: !!!!!!!!Write 0x80 Fail!: count = 101
RTL871X: _8051Reset8723: Finish
RTL871X: _FWFreeToGo: Polling FW ready Fail! (1, 0ms), REG_MCUFWDL:0x00000001
RTL871X: FWDL fail. write_fw:0, 10ms
RTL871X: <=== rtl8723b_FirmwareDownload()
RTL871X: rtw_hal_init: hal__init fail
RTL871X: -871x_drv - drv_open fail, bup=0
RTL871X: cfg80211_rtw_change_station(p2p0)
RTL871X: cfg80211_rtw_change_station(p2p0)
RTL871X: LeaveAllPowerSaveMode(p2p0): bup=0 Skip!
RTL871X: rtw_p2p_enable: bDriverStopped=0, bup=0, hw_init_completed=0
Thanks,
Leo
Hi mrleo!
I also want to debug rtl8723 sdio module on I.MX6Q.
Are there some schematics and programs can give some helps?
Thank you very much!
Chen
Hi,all
Wifi rtl8723as no hardware cd detect,how to wake up sdio?
When I enabled wifi,after suspend,resume the system,wifi driver can wake up sdio.
If not enabled wifi,after suspend,resume the system,enabled wifi,will be not ok.
I think it is not found sdio.
How to detect wifi sdio?
Thanks,
Leo
Hi all,
I found that if not enable the wifi or connected the wifi,enter suspend,later resume the system. The sdio is not detected.
like belwo:
cat /sys/kernel/debug/mmc2/ios
clock: 400000 Hz
vdd: 21 (3.3 ~ 3.4 V)
bus mode: 1 (open drain)
chip select: 0 (don't care)
power mode: 2 (on)
bus width: 0 (1 bits)
timing spec: 0 (legacy)
Thanks,
Leo