艾编程的鲁小班

艾编程的鲁小班

18个粉丝

25

问答

17

专栏

32

资料

艾编程的鲁小班  发布于  2016-08-11 20:19:17
采纳率 12%
25个问答
一个爱技术的人
6772

请教社区大神们海思3519中移植RTL8189E的问题。

 
mpp           rtl8192eu.ko  sample
/mnt # insmod rtl8192eu.ko
RTL871X: module init start
RTL871X: rtl8189es v4.3.18.1_15373.20151005
RTL871X: build time: Aug 11 2016 16:30:07
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_K_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
RTL871X: efuse_read_phymap_from_txpktbuf len:186, lenbak:186, aaa:186, aaabak:186
RTL871X: efuse_read_phymap_from_txpktbuf read count:184
RTL871X: EEPROM ID=0x8129
RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
RTL871X: ### PS params=>  power_mgnt(2),usbss_enable(0) ###
RTL871X: ======= Path 0, Channel 1 =======
RTL871X: Index24G_CCK_Base[0][1] = 0x2a
RTL871X: Index24G_BW40_Base[0][1] = 0x2c
RTL871X: ======= Path 0, Channel 2 =======
RTL871X: Index24G_CCK_Base[0][2] = 0x2a
RTL871X: Index24G_BW40_Base[0][2] = 0x2c
RTL871X: ======= Path 0, Channel 3 =======
RTL871X: Index24G_CCK_Base[0][3] = 0x29
RTL871X: Index24G_BW40_Base[0][3] = 0x2c
RTL871X: ======= Path 0, Channel 4 =======
RTL871X: Index24G_CCK_Base[0][4] = 0x29
RTL871X: Index24G_BW40_Base[0][4] = 0x2c
RTL871X: ======= Path 0, Channel 5 =======
RTL871X: Index24G_CCK_Base[0][5] = 0x29
RTL871X: Index24G_BW40_Base[0][5] = 0x2c
RTL871X: ======= Path 0, Channel 6 =======
RTL871X: Index24G_CCK_Base[0][6] = 0x28
RTL871X: Index24G_BW40_Base[0][6] = 0x2b
RTL871X: ======= Path 0, Channel 7 =======
RTL871X: Index24G_CCK_Base[0][7] = 0x28
RTL871X: Index24G_BW40_Base[0][7] = 0x2b
RTL871X: ======= Path 0, Channel 8 =======
RTL871X: Index24G_CCK_Base[0][8] = 0x28
RTL871X: Index24G_BW40_Base[0][8] = 0x2b
RTL871X: ======= Path 0, Channel 9 =======
RTL871X: Index24G_CCK_Base[0][9] = 0x28
RTL871X: Index24G_BW40_Base[0][9] = 0x2a
RTL871X: ======= Path 0, Channel 10 =======
RTL871X: Index24G_CCK_Base[0][10] = 0x28
RTL871X: Index24G_BW40_Base[0][10] = 0x2a
RTL871X: ======= Path 0, Channel 11 =======
RTL871X: Index24G_CCK_Base[0][11] = 0x28
RTL871X: Index24G_BW40_Base[0][11] = 0x2a
RTL871X: ======= Path 0, Channel 12 =======
RTL871X: Index24G_CCK_Base[0][12] = 0x28
RTL871X: Index24G_BW40_Base[0][12] = 0x2a
RTL871X: ======= Path 0, Channel 13 =======
RTL871X: Index24G_CCK_Base[0][13] = 0x28
RTL871X: Index24G_BW40_Base[0][13] = 0x2a
RTL871X: ======= Path 0, Channel 14 =======
RTL871X: Index24G_CCK_Base[0][14] = 0x28
RTL871X: Index24G_BW40_Base[0][14] = 0x2a
RTL871X: ======= TxCount 0 =======
RTL871X: CCK_24G_Diff[0][0]= 0
RTL871X: OFDM_24G_Diff[0][0]= 0
RTL871X: BW20_24G_Diff[0][0]= 0
RTL871X: BW40_24G_Diff[0][0]= 0
RTL871X: EEPROMRegulatory = 0x0
RTL871X: mlmepriv.ChannelPlan = 0x08
RTL871X: CrystalCap: 0x d
RTL871X: EEPROM Customer ID: 0x 0
RTL871X: Board Type: 0x 0
RTL871X: ThermalMeter = 0x1a
RTL871X: pHalData->EEPROMRFGainVal=0
RTL871X: Hal_ReadRFGainOffset => EEPRORFGainOffset = 0x00,EEPROMRFGainVal=0x00,thermal_offset:0x00
RTL871X: <==== ReadAdapterInfo8188ES in 280 ms
RTL871X: Hal_ChannelPlanToRegulation ChannelPlan:0x08,Regulation(2_4G/5G):0x03,0x03
RTL871X: init_channel_set ChannelPlan ID 8 Chan num:14  
RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
RTL871X: rtw_macaddr_cfg mac addr:84:9c:a6:c6:53:00
RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
RTL871X: rtw_wiphy_alloc(phy0)
RTL871X: rtw_wdev_alloc(padapter=c4b56000)
RTL871X: rtw_wiphy_register(phy0)
RTL871X: Register RTW cfg80211 vendor cmd(0x67) interface
RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=84:9c:a6:c6:53:00
RTL871X: module init ret=0
/mnt #


/mnt # ifconfig wlan0 up
RTL871X: +871x_drv - drv_open, bup=0
RTL871X: +rtl8188es_hal_init
RTL871X: FW does not exit before power on!!
RTL871X: =>_InitPowerOn_8188ES
RTL871X: =>_CardEnable
RTL871X: =>_CardEnable bMacPwrCtrlOn == _TRUE do nothing !!
RTL871X: <=_CardEnable
RTL871X: <=_InitPowerOn_8188ES
RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
RTL871X: PowerOnCheck: 0x1B8 test Pass.
RTL871X: Power on ok!
RTL871X: _init_available_page_threshold(): Enable Tx FIFO Page Threshold H:0x7777,N:0x7777,L:0x7c7c
RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15414
RTL871X: rtl8188e_FirmwareDownload: fw_ver=16 fw_subver=0000 sig=0x88e1, Month=11, Date=58, Hour=16, Minute=3c
RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005
RTL871X: =====> _8051Reset88E(): 8051 reset success .
RTL871X: _FWFreeToGo: Polling FW ready OK! (1, 10ms), REG_MCUFWDL:0x000300c6
RTL871X: FWDL success. write_fw:1, 100ms
==> rtl8188e_iol_efuse_patch
RTL871X: HalDetectPwrDownMode(): PDN=0
RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
RTL871X: pDM_Odm TxPowerTrackControl = 1
RTL871X: DISABLE_BB_RF=0
RTL871X: IS_HARDWARE_TYPE_8188ES=1
RTL871X: -rtl8188es_hal_init
RTL871X: rtl8188es_hal_init in 700ms
RTL871X: wlan0Port-0  set opmode = 2
RTL871X: Using the default RF gain.
RTL871X: MAC Address = 84:9c:a6:c6:53:00
RTL871X: start rtl8188es_xmit_thread
/mnt # RTL871X: rtw_cfg80211_init_wiphy:rf_type=3
RTL871X: [HT] HAL Support STBC = 0x01
RTL871X: -871x_drv - drv_open, bup=1
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
RTL871X: ==>rtw_ps_processor .fw_state(8)
RTL871X: ==>ips_enter cnts:1
RTL871X: nolinked power save enter
RTL871X: ===> rtw_ips_pwr_down...................
RTL871X: ====> rtw_ips_dev_unload...
RTL871X: =>rtl8188es_hal_deinit
RTL871X: =>hal_poweroff_8188es
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
RTL871X: <=hal_poweroff_8188es
RTL871X: <=rtl8188es_hal_deinit
RTL871X: <=== rtw_ips_pwr_down..................... in 40ms

/mnt #


/nfsroot/wlan_hostapd #
/nfsroot/wlan_hostapd #
/nfsroot/wlan_hostapd # ./hostapd rtl_hostapd_5G.conf -B
Configuration file: rtl_hostapd_5G.conf
drv->ifindex=3
l2_sock_recv==l2_sock_xmit=0x0x74c00
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode(3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.
rmdir[ctrl_interface]: Read-only file system
/nfsroot/wlan_hostapd #



在加载RTL驱动后,切换AP模式时参数非法???
不知道有人遇到过没有,针对海思平台的wifi移植问题~
我来回答
回答2个
时间排序
认可量排序

wonrowl

0个粉丝

10

问答

0

专栏

2

资料

wonrowl 2016-08-15 14:16:01
认可0
首先你要编译带ap功能的驱动,不然其他的都是扯淡

艾编程的鲁小班

18个粉丝

25

问答

17

专栏

32

资料

艾编程的鲁小班 2016-08-17 11:42:55
认可0
嗯,是的啊,已经解决了。
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区