目前在调试RTL8189FTV insmod之后出现如下问题:
# insmod 8189fs.ko
[ 29.013275] 8189fs: loading out-of-tree module taints kernel.
[ 29.039736] RTW: module init start
[ 29.043156] RTW: rtl8189fs v5.7.8_34044.20190614
[ 29.047867] RTW: build time: Mar 28 2021 15:27:03
[ 29.052621] RTW: rtw_inetaddr_notifier_register
[ 29.067822] RTW: == SDIO Card Info ==
[ 29.071490] RTW: card: c3a4b800
[ 29.074798] RTW: clock: 50000000 Hz
[ 29.078557] RTW: timing spec: sd high-speed
[ 29.082922] RTW: sd3_bus_mode: FALSE
[ 29.086691] RTW: func num: 1
[ 29.089742] RTW: func1: c3bbc800 (*)
[ 29.093484] RTW: ================
[ 29.096811] RTW: CHIP TYPE: RTL8188F
[ 29.104208] RTW: rtw_hal_config_rftype RF_Type is 0 TotalTxPath is 1
[ 29.110693] RTW: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0)
[ 29.121363] RTW: SetHwReg: hci_sus_state=1
[ 29.130129] RTW: SetHwReg: bMacPwrCtrlOn=1
[ 29.134229] RTW: SetHwReg: hci_sus_state=2
[ 29.152135] RTW: sdio_power_on_check: val_mix:0x0000063f, res:0x0000063f
[ 29.158917] RTW: sdio_power_on_check: 0x100 the result of cmd52 and cmd53 is the same.
[ 29.169463] RTW: sdio_power_on_check: 0x1B8 test Pass.
[ 29.174707] RTW: EEPROM type is E-FUSE
[ 29.180384] RTW: hal_EfuseSwitchToBank: Efuse switch bank to 0
[ 29.339271] RTW: hal_ReadEFuse_WiFi: data end at address=0x98
[ 29.354537] RTW: HW EFUSE
[ 29.357262] RTW: 0x000: 29 81 03 CC 00 00 50 00 00 00 04 CC 0A 0C 00 00
[ 29.364332] RTW: 0x010: 24 25 26 26 26 26 29 28 28 2A 2A 02 FF FF FF FF
[ 29.371422] RTW: 0x020: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.378501] RTW: 0x030: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.385577] RTW: 0x040: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.392641] RTW: 0x050: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.399716] RTW: 0x060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.406805] RTW: 0x070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.413871] RTW: 0x080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.420948] RTW: 0x090: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.428025] RTW: 0x0A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.435089] RTW: 0x0B0: FF FF FF FF FF FF FF FF 20 33 1C 00 00 00 00 FF
[ 29.442163] RTW: 0x0C0: FF 02 00 10 00 FF 00 FF 00 00 FF FF FF FF FF FF
[ 29.449238] RTW: 0x0D0: 3E 10 01 12 23 FF FF FF 20 04 4C 02 79 F1 21 02
[ 29.456333] RTW: 0x0E0: 0C 00 22 04 00 08 00 32 FF 21 02 0C 00 22 2A 01
[ 29.463398] RTW: 0x0F0: 01 00 00 00 00 00 00 00 00 00 00 00 02 00 FF FF
[ 29.470474] RTW: 0x100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 29.477550] RTW: 0x110: 00 EB 00 6E 01 00 00 00 00 FF 00 0A E2 9B AA 86
[ 29.484613] RTW: 0x120: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.491687] RTW: 0x130: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.498763] RTW: 0x140: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.505836] RTW: 0x150: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.512901] RTW: 0x160: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.519975] RTW: 0x170: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.527051] RTW: 0x180: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.534116] RTW: 0x190: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.541190] RTW: 0x1A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.548265] RTW: 0x1B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.555329] RTW: 0x1C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.562403] RTW: 0x1D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.569478] RTW: 0x1E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.576553] RTW: 0x1F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 29.583650] RTW: hal_com_config_channel_plan chplan:0x20
[ 29.702237] RTW: kfree Pwr Trim flag:1
[ 29.706065] RTW: bb_gain:0
[ 29.713460] RTW: rtl8188f_FirmwareDownload((null)) tmp_ps=3
[ 29.719111] RTW: rtl8188f_FirmwareDownload fw: FW_NIC, size: 20306
[ 29.725290] RTW: rtl8188f_FirmwareDownload: fw_ver=e fw_subver=0000 sig=0x88f1, Month=06, Date=07, Hour=17, Minute=18
[ 29.735918] RTW: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 29.742091] RTW: rtl8188f_FirmwareDownload by IO write!
[ 29.750006] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.759389] RTW: ERROR sd_write32: (-110) addr=0x11004 val=0x000004bc
[ 29.766062] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.772384] RTW: ERROR sd_write32: (-110) addr=0x11004, val=0x4bc, try_cnt=0
[ 29.779559] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.786947] RTW: ERROR sd_write32: (-110) addr=0x11004, val=0x4bc, try_cnt=1
[ 29.794123] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.800821] RTW: ERROR sd_write32: (-110) addr=0x11004, val=0x4bc, try_cnt=2
[ 29.808052] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.815110] RTW: ERROR sd_write32: (-110) addr=0x11004, val=0x4bc, try_cnt=3
[ 29.822354] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.829870] RTW: ERROR sd_write32: (-110) addr=0x11004, val=0x4bc, try_cnt=4
[ 29.837125] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.843445] RTW: ERROR sd_write32: (-110) addr=0x11004, val=0x4bc, try_cnt=5
[ 29.850619] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.858005] RTW: ERROR sd_write32: (-110) addr=0x11004, val=0x4bc, try_cnt=6
[ 29.865180] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.872032] RTW: ERROR sd_write32: (-110) addr=0x11004, val=0x4bc, try_cnt=7
[ 29.879151] RTW: ERROR sd_write32: FAIL!(-110) addr=0x11004 val=0x000004bc, try_cnt=8
[ 29.887009] ====>_BlockWrite 101 i:1
[ 29.890581] ====>_WriteFW 230
[ 29.896617] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.902929] RTW: ERROR sd_write32: (-110) addr=0x11004 val=0x000004bc
[ 29.909519] sunxi-mmc 1c10000.mmc: data error, sending stop command
[ 29.917912] RTW: ERROR sd_write32: (-110) addr=0x11004, val=0x4bc, try_cnt=0
[ 29.924968] RTW: [dvobj:c381d000][ERROR] continual_io_error:9 > 8
[ 29.931141] RTW: ERROR sd_write32: (-110) addr=0x11004 val=0x000004bc, try_cnt=0
[ 29.938555] ====>_BlockWrite 101 i:1
[ 29.942126] ====>_WriteFW 230
[ 29.945104] RTW: _8051Reset8188: Finish
[ 29.948957] RTW: _FWFreeToGo: Polling FW ready Fail! (1, 10ms), REG_MCUFWDL:0x00000000
[ 29.956879] RTW: rtl8188f_FirmwareDownload fail. write_fw:2, 220ms
[ 29.963052] RTW: <=== rtl8188f_FirmwareDownload()
[ 29.967858] RTW: hal_read_mac_hidden_rpt Fail! (0, 260ms), fwdl:0, id:0xfd
[ 29.974738] RTW: SetHwReg: bMacPwrCtrlOn=0
[ 29.978846] RTW: SetHwReg: hci_sus_state=3
[ 29.982947] RTW: SetHwReg: hci_sus_state=0
[ 29.987051] RTW: rtw_hal_read_chip_info in 870 ms
[ 29.991793] RTW: rtw_init_primary_adapter Failed!
[ 29.999137] RTW: module init ret=0
没有头绪请各位指点,谢谢。
离线
[ 29.750006] sunxi-mmc 1c10000.mmc: data error, sending stop command
检查该组 mmc在 ①dts有没有开启, ②引脚有没有被其他功能,如gpio/led等复用
WIFI所在的mmc1可以正常读写TF卡,所以感觉很奇怪
离线