zhouyingqiang2009
2017-06-14 14:19
采纳率: 0%
浏览 1.7k

am335x 移植rtl8189ES遇到的问题,请教大神帮忙看看

/tmp # insmod 8189es.ko
RTL871X: module init start
RTL871X: rtl8189es v4.3.10.1_13373.20150129
RTL871X: build time: Jun 14 2017 06:46:48
RTL871X: CHIP TYPE: RTL8188E
RTL871X: register rtw_netdev_ops to netdev_ops
RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
RTL871X: RF_Type is 3!!
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
RTL871X: efuse_read_phymap_from_txpktbuf reg_0x106:0x00, write 0x69
RTL871X: efuse_read_phymap_from_txpktbuf reg_0x106:0x69
RTL871X: efuse_read_phymap_from_txpktbuf dbg_addr:0x0
RTL871X: efuse_read_phymap_from_txpktbuf write reg_0x143:0x00

之后卡住了,

代码: while(!(reg_0x143=rtw_read8(adapter, REG_TXPKTBUF_DBG))//dbg
//while(rtw_read8(adapter, REG_TXPKTBUF_DBG) & BIT0
&& (passing_time=rtw_get_passing_time_ms(start))<1000
) {
DBG_871X("%s polling reg_0x143:0x%02x, reg_0x106:0x%02x\n", FUNCTION, reg_0x143, rtw_read8(adapter, 0x106));
rtw_usleep_os(100);
}

    lo32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L);
    hi32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_H);



    在lo32 = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L);卡住不能动了
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • devmiao 2017-06-14 16:16
    点赞 评论

相关推荐 更多相似问题