2 zhangling198763 zhangling198763 于 2016.02.01 21:22 提问

请教:在Linux3.0.8 移植usb wifi驱动rtl8189es

在Linux3.0.8 移植usb wifi驱动rtl8189es,
采用的非模块加载,直接编进kernel一起烧录;
目前卡在:
不会出现
usbcore: registered new interface driver rtl8189es

SDIO卡已经初始化和识卡成功;
[ 3.035470] mmc1: new high speed SDIO card at address 0001

网络设备已成功初始化和注册:
[ 4.025589] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 4.043041] RTL871X: rtw_wiphy_alloc(phy0)
[ 4.051457] RTL871X: rtw_wdev_alloc(padapter=c000e000)
[ 4.061990] rtw_os_ndevs_register:2303!!
[ 4.072513] RTL871X: rtw_wiphy_register(phy0)
[ 4.081850] rtw_os_ndev_register:999!!
[ 4.092123] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=8c:18:d9:c0:ef:ff

LOG如下:
[ 3.014338] lib80211: common routines for IEEE802.11 drivers
[ 3.035470] mmc1: new high speed SDIO card at address 0001
[ 3.047162] rtw_drv_init:700!! $$$$$$$$$$$$$$$$$$$$$$$
[ 3.060186] RTL871X: CHIP TYPE: RTL8188E
[ 3.069330] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[ 3.083356] RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_K_CUT_1T1R_RomVer(0)
[ 3.099996] RTL871X: EEPROM type is E-FUSE
[ 3.108397] RTL871X: =>_CardEnable
[ 3.120635] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[ 3.130640] RTL871X: <=_CardEnable
[ 3.137641] RTL871X: _ReadPROMContent: 9346CR=0x20, Boot from EFUSE, Autoload OK
[ 3.152928] RTL871X: =>_InitPowerOn_8188ES
[ 3.161329] RTL871X: =>_CardEnable
[ 3.168278] RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
[ 3.181843] snd_switch_probe susccess
[ 3.189705] RTL871X: ## wifi_probe
[ 3.196745] RTL871X: <=_CardEnable
[ 3.203833] RTL871X: wifi_set_power = 1
[ 3.211725] RTL871X: wifi_set_carddetect = 1
[ 3.220555] RTL871X: <=_InitPowerOn_8188ES
[ 3.229075] wlan_device_init:72!!
[ 3.238438] bFWReady == _FALSE call reset 8051...
[ 3.248576] /proc/exmap: insert
[ 3.255463] jz-rtc jz-rtc.0: setting system clock to 2016-02-01 13:30:00 UTC (1454333400)
[ 3.272496] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[ 3.306544] RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
[ 3.318726] RTL871X: efuse_read_phymap_from_txpktbuf len:170, lenbak:170, aaa:170, aaabak:170
[ 3.338442] RTL871X: efuse_read_phymap_from_txpktbuf read count:168
[ 3.351416] RTL871X: EEPROM ID=0x8129
[ 3.358912] RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
[ 3.379234] RTL871X: ### PS params=> power_mgnt(0),usbss_enable(0) ###
[ 3.392788] RTL871X: ======= Path 0, Channel 1 =======
[ 3.403312] RTL871X: Index24G_CCK_Base[0][1] = 0x29
[ 3.413302] RTL871X: Index24G_BW40_Base[0][1] = 0x2d
[ 3.423471] RTL871X: ======= Path 0, Channel 2 =======
[ 3.433994] RTL871X: Index24G_CCK_Base[0][2] = 0x29
[ 3.443981] RTL871X: Index24G_BW40_Base[0][2] = 0x2d
[ 3.454145] RTL871X: ======= Path 0, Channel 3 =======
[ 3.464669] RTL871X: Index24G_CCK_Base[0][3] = 0x29
[ 3.474657] RTL871X: Index24G_BW40_Base[0][3] = 0x2d
[ 3.484823] RTL871X: ======= Path 0, Channel 4 =======
[ 3.495343] RTL871X: Index24G_CCK_Base[0][4] = 0x29
[ 3.505332] RTL871X: Index24G_BW40_Base[0][4] = 0x2d
[ 3.515500] RTL871X: ======= Path 0, Channel 5 =======
[ 3.526026] RTL871X: Index24G_CCK_Base[0][5] = 0x29
[ 3.536014] RTL871X: Index24G_BW40_Base[0][5] = 0x2d
[ 3.546181] RTL871X: ======= Path 0, Channel 6 =======
[ 3.556704] RTL871X: Index24G_CCK_Base[0][6] = 0x28
[ 3.566692] RTL871X: Index24G_BW40_Base[0][6] = 0x2c
[ 3.576860] RTL871X: ======= Path 0, Channel 7 =======
[ 3.587384] RTL871X: Index24G_CCK_Base[0][7] = 0x28
[ 3.597371] RTL871X: Index24G_BW40_Base[0][7] = 0x2c
[ 3.607539] RTL871X: ======= Path 0, Channel 8 =======
[ 3.618064] RTL871X: Index24G_CCK_Base[0][8] = 0x28
[ 3.628052] RTL871X: Index24G_BW40_Base[0][8] = 0x2c
[ 3.638220] RTL871X: ======= Path 0, Channel 9 =======
[ 3.648741] RTL871X: Index24G_CCK_Base[0][9] = 0x28
[ 3.658731] RTL871X: Index24G_BW40_Base[0][9] = 0x2c
[ 3.668899] RTL871X: ======= Path 0, Channel 10 =======
[ 3.679598] RTL871X: Index24G_CCK_Base[0][10] = 0x28
[ 3.689769] RTL871X: Index24G_BW40_Base[0][10] = 0x2c
[ 3.700116] RTL871X: ======= Path 0, Channel 11 =======
[ 3.710819] RTL871X: Index24G_CCK_Base[0][11] = 0x28
[ 3.720985] RTL871X: Index24G_BW40_Base[0][11] = 0x2c
[ 3.731335] RTL871X: ======= Path 0, Channel 12 =======
[ 3.742036] RTL871X: Index24G_CCK_Base[0][12] = 0x28
[ 3.752200] RTL871X: Index24G_BW40_Base[0][12] = 0x2c
[ 3.762547] RTL871X: ======= Path 0, Channel 13 =======
[ 3.773250] RTL871X: Index24G_CCK_Base[0][13] = 0x28
[ 3.783417] RTL871X: Index24G_BW40_Base[0][13] = 0x2c
[ 3.793759] RTL871X: ======= Path 0, Channel 14 =======
[ 3.804460] RTL871X: Index24G_CCK_Base[0][14] = 0x26
[ 3.814627] RTL871X: Index24G_BW40_Base[0][14] = 0x2c
[ 3.824970] RTL871X: ======= TxCount 0 =======
[ 3.834074] RTL871X: CCK_24G_Diff[0][0]= 0
[ 3.842462] RTL871X: OFDM_24G_Diff[0][0]= 0
[ 3.851030] RTL871X: BW20_24G_Diff[0][0]= -2
[ 3.859752] RTL871X: BW40_24G_Diff[0][0]= 0
[ 3.868316] RTL871X: EEPROMRegulatory = 0x0
[ 3.876879] RTL871X: mlmepriv.ChannelPlan = 0x20
[ 3.886337] RTL871X: CrystalCap: 0x21
[ 3.893832] RTL871X: EEPROM Customer ID: 0x 0
[ 3.902751] RTL871X: Board Type: 0x 0
[ 3.910233] RTL871X: ThermalMeter = 0x1d
[ 3.918261] RTL871X: pHalData->EEPROMRFGainVal=0
[ 3.927719] RTL871X: Hal_ReadRFGainOffset => EEPRORFGainOffset = 0x00,EEPROMRFGainVal=0x00,thermal_offset:0x00
[ 3.948385] RTL871X: <==== ReadAdapterInfo8188ES in 810 ms
[ 3.960863] RTL871X: Hal_ChannelPlanToRegulation ChannelPlan:0x20,Regulation(2_4G/5G):0x03,0x03
[ 3.978841] RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13

[ 3.997409] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[ 4.013347] RTL871X: rtw_macaddr_cfg mac addr:8c:18:d9:c0:ef:ff
[ 4.025589] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 4.043041] RTL871X: rtw_wiphy_alloc(phy0)
[ 4.051457] RTL871X: rtw_wdev_alloc(padapter=c000e000)
[ 4.061990] rtw_os_ndevs_register:2303!!
[ 4.072513] RTL871X: rtw_wiphy_register(phy0)
[ 4.081850] rtw_os_ndev_register:999!!
[ 4.092123] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=8c:18:d9:c0:ef:ff
[ 4.112312] VFS: Mounted root (cramfs filesystem) readonly on device 31:3.
[ 4.128794] Freeing unused kernel memory: 236k freed
[ 4.139266] Free = 23588k
Setting hostname ...
Mounting all filesystems ...
Starting mdev ...
Mounting /usr/data as rw filesystem...

1个回答

devmiao
devmiao   Ds   Rxr 2016.02.01 23:45
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!