打印
[i.MX]

部署RTL8723BS SDIO接口WIFI到Android4.3 使用IMX6Q芯片

[复制链接]
3283|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
sigua|  楼主 | 2016-4-1 18:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    最近正在移植RTL8723BS 这个SDIO接口的WIFI芯片到Android4.3系统上,按照RTL官方提供的部署文档一步一步操作,成功烧录并启动系统,但是在Android里打开WIFI没反映,以下是Dmesg信息,大家看看我的WIFI驱动是哪里出问题了:

root@sabresd_6dq:/ # dmesg
ost suspend begins
<7>will suspend roothub and its children
<7>ehci_fsl_bus_suspend begins, DR
<7>ehci_fsl_bus_suspend ends, DR
<7>host suspend ends
<7>USB Gadget resume begins
<7>fsl_udc_resume, Wait for wakeup thread finishes
<7>dr_controller_run: udc out low power mode
<7>USB Gadget resume ends
<6>fsl-usb2-udc: bind to driver android_usb
<6>mousedev: PS/2 mouse device common for all mice
<6>input: gpio-keys as /devices/platform/gpio-keys/input/input0
<6>input: tq_hs0038 as /devices/virtual/input/input1
<4>Input: S3C GPIO  hs0038 Registered
<6>input: ft5x06_ts as /devices/virtual/input/input2
<4>i2c-core: driver [isl29023] using legacy suspend method
<4>i2c-core: driver [isl29023] using legacy resume method
<4>Flag is 0x20
<4>rtc-rx8025t 0-0032: Update time was detected
<6>rtc-rx8025t 0-0032: rx8025t_get_time: date 10s 54m 9h 5wd 1md 3m 116y
<6>using rtc device, rx8025t, for alarms
<6>rtc-rx8025t 0-0032: rtc core: registered rx8025t as rtc0
<6>i2c /dev entries driver
<6>Linux video capture interface: v2.00
<4>i2c-core: driver [tuner] using legacy suspend method
<4>i2c-core: driver [tuner] using legacy resume method
<4>i2c-core: driver [msp3400] using legacy suspend method
<4>i2c-core: driver [msp3400] using legacy resume method
<6>android_work: did not send uevent (0 0   (null))
<6>usb 2-1: new high speed USB device number 2 using fsl-ehci
<6>android_work: sent uevent USB_STATE=CONNECTED
<6>android_work: sent uevent USB_STATE=DISCONNECTED
<6>android_work: sent uevent USB_STATE=CONNECTED
<3>ov3640_read_reg:write reg error:reg=300a
<3>ov3640_read_reg:write reg error:reg=300b
<6>hub 2-1:1.0: USB hub found
<6>hub 2-1:1.0: 4 ports detected
<3>ov3640_read_reg:write reg error:reg=300a
<3>ov3640_read_reg:write reg error:reg=300b
<3>ov3640_read_reg:write reg error:reg=300a
<3>ov3640_read_reg:write reg error:reg=300b
<3>ov3640_read_reg:write reg error:reg=300a
<3>ov3640_read_reg:write reg error:reg=300b
<6>android_work: sent uevent USB_STATE=DISCONNECTED
<3>ov3640_read_reg:write reg error:reg=300a
<3>ov3640_read_reg:write reg error:reg=300b
<6>mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
<6>mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
<6>usbcore: registered new interface driver usbvision
<6>USBVision USB Video Device Driver for Linux : 0.9.10
<6>usbcore: registered new interface driver pvrusb2
<6>pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
<6>pvrusb2: Debug mask is 31 (0x1f)
<6>usbcore: registered new interface driver zr364xx
<6>zr364xx: Zoran 364xx
<6>usbcore: registered new interface driver stkwebcam
<6>sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49
<6>android_work: sent uevent USB_STATE=CONNECTED
<6>usbcore: registered new interface driver sn9c102
<6>android_work: sent uevent USB_STATE=DISCONNECTED
<6>et61x251: V4L2 driver for ET61X[12]51 PC Camera Controllers v1:1.09
<6>usbcore: registered new interface driver et61x251
<6>pwc: Philips webcam module version 10.0.14 loaded.
<6>pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
<6>pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
<6>pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
<6>usbcore: registered new interface driver Philips webcam
<6>gspca: v2.13.0 registered
<6>usbcore: registered new interface driver benq
<6>usbcore: registered new interface driver conex
<6>usbcore: registered new interface driver cpia1
<6>usbcore: registered new interface driver etoms
<6>usbcore: registered new interface driver finepix
<6>usbcore: registered new interface driver jeilinj
<6>usbcore: registered new interface driver kinect
<6>usbcore: registered new interface driver konica
<6>usbcore: registered new interface driver mars
<6>usbcore: registered new interface driver mr97310a
<6>usbcore: registered new interface driver nw80x
<6>usbcore: registered new interface driver ov519
<6>android_work: sent uevent USB_STATE=CONNECTED
<6>usbcore: registered new interface driver ov534
<6>usbcore: registered new interface driver ov534_9
<6>usbcore: registered new interface driver pac207
<6>usbcore: registered new interface driver pac7302
<6>usbcore: registered new interface driver pac7311
<6>usbcore: registered new interface driver sn9c2028
<6>usbcore: registered new interface driver sn9c20x
<6>usbcore: registered new interface driver sonixb
<6>usbcore: registered new interface driver sonixj
<6>usbcore: registered new interface driver spca500
<6>usbcore: registered new interface driver spca501
<6>usbcore: registered new interface driver spca505
<6>usbcore: registered new interface driver spca506
<6>usbcore: registered new interface driver spca508
<6>usbcore: registered new interface driver spca561
<6>usbcore: registered new interface driver spca1528
<6>usbcore: registered new interface driver sq905
<6>usbcore: registered new interface driver sq905c
<6>usbcore: registered new interface driver sq930x
<6>usbcore: registered new interface driver sunplus
<7>USB Gadget resume begins
<7>fsl_udc_resume, Wait for wakeup thread finishes
<6>usbcore: registered new interface driver stk014
<6>usbcore: registered new interface driver stv0680
<6>usbcore: registered new interface driver t613
<6>usbcore: registered new interface driver tv8532
<6>usbcore: registered new interface driver vc032x
<6>usbcore: registered new interface driver vicam
<6>android_work: sent uevent USB_STATE=DISCONNECTED
<6>usbcore: registered new interface driver xirlink-cit
<6>usbcore: registered new interface driver zc3xx
<6>usbcore: registered new interface driver ALi m5602
<6>usbcore: registered new interface driver STV06xx
<6>usbcore: registered new interface driver gspca_gl860
<6>usbcore: registered new interface driver hdpvr
<6>usbcore: registered new interface driver s2255
<6>usbcore: registered new interface driver uvcvideo
<6>USB Video Class driver (v1.1.0)
<4>i2c-core: driver [mag3110] using legacy suspend method
<4>i2c-core: driver [mag3110] using legacy resume method
<6>imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
<6>device-mapper: uevent: version 1.0.3
<6>device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
<6>Bluetooth: Virtual HCI driver ver 1.3
<6>Bluetooth: HCI UART driver ver 2.2
<6>Bluetooth: HCIATH3K protocol initialized
<6>Bluetooth: Generic Bluetooth USB driver ver 0.6
<6>android_work: sent uevent USB_STATE=CONNECTED
<6>android_work: sent uevent USB_STATE=DISCONNECTED
<6>usbcore: registered new interface driver btusb
<6>cpuidle: using governor ladder
<6>cpuidle: using governor menu
<6>sdhci: Secure Digital Host Controller Interface driver
<6>sdhci: Copyright(c) Pierre Ossman
<6>mmc0: SDHCI controller on platform [sdhci-esdhc-imx.3] using DMA
<6>mmc1: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA
<6>mmc2: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
<6>mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
<6>VPU initialized
<6>mxc_asrc registered
<6>Galcore version 4.6.9.9754
<4>revserved_memory_account:viv_gpu registerd
<6>Thermal calibration data is 0x5864f469
<6>Thermal sensor with ratio = 183
<6>android_work: sent uevent USB_STATE=CONNECTED
<6>Anatop Thermal registered as thermal_zone0
<6>anatop_thermal_probe: default cooling device is cpufreq!
<7>Registered led device: led0
<7>Registered led device: led1
<7>Registered led device: led2
<6>usbcore: registered new interface driver usbhid
<6>usbhid: USB HID core driver
<6>logger: created 256K log 'log_main'
<6>logger: created 256K log 'log_events'
<6>logger: created 256K log 'log_radio'
<6>logger: created 256K log 'log_system'
<6>usbcore: registered new interface driver snd-usb-audio
<6>mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
<3>imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.
<6>sgtl5000 1-000a: sgtl5000 revision 17
<6>print_constraints: 1-000a: 850 <--> 1600 mV at 1200 mV normal
<6>mmc0: new high speed DDR MMC card at address 0001
<6>mmcblk0: mmc0:0001 SEM04G 3.68 GiB
<6>mmcblk0boot0: mmc0:0001 SEM04G partition 1 1.00 MiB
<6>mmcblk0boot1: mmc0:0001 SEM04G partition 2 1.00 MiB
<6> mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 > p4
<6> mmcblk0boot1: unknown partition table
<6> mmcblk0boot0: unknown partition table
<6>asoc: sgtl5000 <-> imx-ssi.1 mapping ok
<3>Initialize HDMI-audio failed. Load HDMI-video first!
<6>ALSA device list:
<6>  #0: sgtl5000-audio
<6>oprofile: using arm/armv7-ca9
<6>GACT probability NOT on
<6>Mirror/redirect action on
<6>u32 classifier
<6>    Actions configured
<6>Netfilter messages via NETLINK v0.30.
<6>nf_conntrack version 0.5.0 (12183 buckets, 48732 max)
<6>ctnetlink v0.93: registering with nfnetlink.
<6>NF_TPROXY: Transparent proxy support initialized, version 4.1.0
<6>NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
<6>xt_time: kernel timezone is -0000
<6>IPv4 over IPv4 tunneling driver
<6>GRE over IPv4 demultiplexor driver
<6>ip_tables: (C) 2000-2006 Netfilter Core Team
<6>arp_tables: (C) 2002 David S. Miller
<6>TCP cubic registered
<6>NET: Registered protocol family 10
<6>Mobile IPv6
<6>ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>IPv6 over IPv4 tunneling driver
<6>NET: Registered protocol family 17
<6>NET: Registered protocol family 15
<6>can: controller area network core (rev 20090105 abi 8)
<6>NET: Registered protocol family 29
<6>can: raw protocol (rev 20090105)
<6>can: broadcast manager protocol (rev 20090105 t)
<6>Bluetooth: RFCOMM TTY layer initialized
<6>Bluetooth: RFCOMM socket layer initialized
<6>Bluetooth: RFCOMM ver 1.11
<6>Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>Bluetooth: BNEP filters: protocol multicast
<6>Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>L2TP core driver, V2.0
<6>PPPoL2TP kernel driver, V2.0
<6>L2TP IP encapsulation support (L2TPv3)
<6>L2TP netlink interface
<6>L2TP ethernet pseudowire support (L2TPv3)
<6>lib80211: common routines for IEEE802.11 drivers
<7>lib80211_crypt: registered algorithm 'NULL'
<7>lib80211_crypt: registered algorithm 'WEP'
<7>lib80211_crypt: registered algorithm 'CCMP'
<7>lib80211_crypt: registered algorithm 'TKIP'
<6>VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
<6>Bus freq driver module loaded
<6>Bus freq driver Enabled
<6>DVFS driver module loaded
<4>regulator_init_complete: VDDD: incomplete constraints, leaving on
<6>rtc-rx8025t 0-0032: rx8025t_get_time: date 11s 54m 9h 5wd 1md 3m 116y
<6>rtc-rx8025t 0-0032: setting system clock to 2016-04-01 09:54:11 UTC (1459504451)
<6>Freeing init memory: 236K
<4>SELinux:  Could not mount selinuxfs:  No such device
<3>init: /init.freescale.rc: 169: ignored duplicate definition of service 'dhcpcd_wlan0'
<3>init: /init.freescale.rc: 203: ignored duplicate definition of service 'dhcpcd_wlan0'
<3>init: /init.freescale.rc: 207: ignored duplicate definition of service 'dhcpcd_p2p'
<3>init: /init.freescale.rc: 211: ignored duplicate definition of service 'iprenew_wlan0'
<4>init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
<6>mmc2: new high speed SDIO card at address 0001
<4>RTL871X: register rtw_netdev_ops to netdev_ops
<4>RTL871X: rtw_wdev_alloc(padapter=d9c08000)
<4>RTL871X: Chip Version Info: CHIP_8723B_Normal_Chip_TSMC_B_CUT_1T1R_RomVer(0)
<4>RTL871X: RF_Type is 3!!
<4>RTL871X: EEPROM type is E-FUSE
<4>RTL871X: SetHwReg8723B: bMacPwrCtrlOn=1
<4>RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0
<6>keychord: using input dev tq_hs0038 for fevent
<4>RTL871X: hal_ReadEFuse_WiFi: data end at address=0xab
<4>RTL871X: Efuse Realmap:
<4>
<4>29 81 03 7C 51 08 28 00 62 07 0D 45 10 00 00 00
<4>31 31 2F 2E 2E 2E 33 33 31 30 30 02 FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF 26 26 26 26 26 26
<4>28 28 28 28 28 02 FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF 20 26 24 00 00 00 FF FF
<4>FF 29 20 11 00 00 00 FF 00 FF 12 FF FF FF FF FF
<4>3E 10 01 02 23 00 00 FF 20 04 4C 02 23 B7 21 02
<4>0C 00 22 04 00 08 00 32 FF 21 02 0C 00 22 2A 01
<4>01 00 00 00 00 00 00 00 00 00 00 00 02 00 FF FF
<4>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<4>00 EB 00 6E 01 00 00 00 00 FF 58 63 56 5E 79 87
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
<4>RTL871X: Hal_EfuseParseBTCoexistInfo_8723B: Enable BT-coex, ant_num=1
<4>RTL871X: Hal_EfuseParsePackageType_8723B phy efuse read 0x1FB =fc
<4>RTL871X: PackageType = 0x4
<4>RTL871X: Hal_EfuseParseVoltage_8723B hwinfo[EEPROM_Voltage_ADDR_8723B] =62
<4>RTL871X: Hal_EfuseParseVoltage_8723B pEEPROM->adjuseVoltageVal =6
<4>RTL871X: AutoloadFail =0,
<4>RTL871X: Adapter->eeprompriv.EEPROMRFGainVal=f3
<4>RTL871X: EEPRORFGainOffset = 0x29
<4>RTL871X: SetHwReg8723B: bMacPwrCtrlOn=0
<4>RTL871X: <==== _ReadAdapterInfo8723BS in 100 ms
<4>RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13  
<4>RTL871X: rtw_register_early_suspend
<4>RTL871X: Init_ODM_ComInfo_8723b(): fab_ver=0 cut_ver=0
<4>RTL871X: rtw_macaddr_cfg MAC Address  = 58:63:56:5e:79:87
<4>RTL871X: bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0
<4>RTL871X: rtw_ndev_init(wlan0)
<4>RTL871X: _rtw_drv_register_netdev, MAC Address (if1) = 58:63:56:5e:79:87
<6>EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
<4>EXT4-fs (mmcblk0p4): warning: checktime reached, running e2fsck is recommended
<6>EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,noauto_da_alloc,errors=panic
<4>EXT4-fs (mmcblk0p6): warning: checktime reached, running e2fsck is recommended
<6>EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: nomblk_io_submit
<4>EXT4-fs (mmcblk0p7): warning: checktime reached, running e2fsck is recommended
<6>EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
<4>rtusb init rt2870 --->
<6>usbcore: registered new interface driver rt2870
<6>usbcore: registered new interface driver rtl8723bu
<6>usbcore: registered new interface driver rtk_btusb
<3>init: using deprecated syntax for specifying property 'ro.product.manufacturer', use ${name} instead
<3>init: using deprecated syntax for specifying property 'ro.product.model', use ${name} instead
<3>init: using deprecated syntax for specifying property 'ro.serialno', use ${name} instead
<3>init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
<4>camera_subdev: disagrees about version of symbol module_layout
<6>warning: `daemonsu' uses 32-bit capabilities (legacy support in use)
<3>android_usb: already disabled
<6>mtp_bind_config
<3>ov3640_write_reg:write reg error:reg=3012,val=80
<3>ERROR: v4l2 capture: slave not found!
<3>ov3640_write_reg:write reg error:reg=3012,val=80
<7>ehci_fsl_bus_suspend begins, Host 1
<7>ehci_fsl_bus_suspend ends, Host 1
<6>request_suspend_state: wakeup (3->0) at 16063594671 (2016-04-01 09:54:24.255785002 UTC)
<6>cpufreq_interactive_input_connect: connect to ft5x06_ts
<6>eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:00, irq=-1)
<4>use ar8031
<6>ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>acc_open
<6>acc_release
<7>ehci_fsl_bus_resume begins, Host 1
<7>ehci_fsl_bus_resume ends, Host 1
<7>ehci_fsl_bus_resume begins, DR
<3>init: sys_prop: permission denied uid:1003  name:service.bootanim.exit
<7>ehci_fsl_bus_suspend begins, Host 1
<7>ehci_fsl_bus_suspend ends, Host 1

相关帖子

沙发
sigua|  楼主 | 2016-4-7 10:19 | 只看该作者
各位大神有谁这方面的经验吗?@FSL_TICS_Rita

使用特权

评论回复
板凳
mini1986| | 2016-5-4 09:38 | 只看该作者
用他们提供的工具,不要用系统自带的......

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

22

帖子

0

粉丝