This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
insmod 8189es.ko
RTL871X: module init start
RTL871X: rtl8189es v4.3.18.2_17395.20160422
RTL871X: build time: Jun 16 2017 18:02:24
RTL871X: CHIP TYPE: RTL8188E
RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
RTL871X: EEPROM type is E-FUSE
RTL871X: =>_CardEnable
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
RTL871X: <=_CardEnable
RTL871X: _ReadPROMContent: 9346CR=0x20, Boot from EFUSE, Autoload OK
RTL871X: =>_InitPowerOn_8188ES
RTL871X: =>_CardEnable
RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
RTL871X: <=_CardEnable
RTL871X: <=_InitPowerOn_8188ES
bFWReady == _FALSE call reset 8051...
RTL871X: =====> _8051Reset88E(): 8051 reset success .
RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
卡死在这里面
Rtl8188e_hal_init.c文件中void efuse_read_phymap_from_txpktbuf 函数中lo32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L);这个函数中
进入函数,进一步跟中到 sdio_read32 ------ sd_read32 ------- mmc_wait_for_req ------- wait_for_completion 函数中
应该对相关MMC模块时钟使能了吧?防止写入未使能模块寄存器带来的卡住现象。
另外,看你描述,你卡住的地方是不是到信号交互的时候了?确认一下关联的pinmux管教模式设置是对的先
谢谢 大神帮忙,mmc总线使能了,系统启动打印信息
~ # dmesg | grep mmc
omap_hsmmc.0: alias fck already exists
omap_hsmmc.2: alias fck already exists
mmc1: new high speed SDIO card at address 0001
你可以看看这个帖子,应该可以解决你的问题:http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/130138.aspx
最近在V3S这个平台上也遇到这个问题
之前我也碰到过,不过我碰到的原因是DMA的channel设置不正确导致了CMD53存在问题。
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/p/130138/365058.aspx#365058
大神,请问一下,你们设置MMC2 ,设置的dts,在什么地方设置的
我的设置:
static void mmc2_rtl8189eus_init(int evm_id, int profile)
{
setup_pin_mux(mmc2_wl12xx_pin_mux);
am335x_mmc[1].mmc = 3;
am335x_mmc[1].name = "rtl8189es";
am335x_mmc[1].caps = MMC_CAP_4_BIT_DATA | MMC_CAP_NONREMOVABLE | MMC_CAP_SD_HIGHSPEED;
am335x_mmc[1].nonremovable = true;
am335x_mmc[1].gpio_cd = -EINVAL;
am335x_mmc[1].gpio_wp = -EINVAL;
am335x_mmc[1].ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34; /* 3V3 */
}