<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックBluetooth integration with IMX6Q Processor</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Bluetooth-integration-with-IMX6Q-Processor/m-p/732227#M113944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have custom board, that board have IMX6Q processor. I have on board chip of Wi-Fi + BLE. I have used Marvel kernel drivers for Wi-Fi as well as BLE. During system bootup i got below logs for download the firmware in that Wi-Fi chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;vendor=0x02DF device=0x9135 class=0 function=1&lt;BR /&gt;SDIO: max_segs=128 max_seg_size=65535&lt;BR /&gt;rx_work=1 cpu_num=4&lt;BR /&gt;wlan: Enable TX SG mode&lt;BR /&gt;wlan: Enable RX SG mode&lt;BR /&gt;Request firmware: mrvl/sduart8887_combo_a2.bin&lt;BR /&gt;WLAN FW already running! Skip FW download&lt;BR /&gt;WLAN FW is active&lt;BR /&gt;ov5640_mipi 1-003e: no sensor pwdn pin available&lt;BR /&gt;ov5640_mipi: probe of 1-003e failed with error -22&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_CSI0_DAT12 already requested by 21f0000.serial; cannot claim for 1-003d&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: pin-162 (1-003d) status -22&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: could not request pin 162 (MX6Q_PAD_CSI0_DAT12) from group i2c2-ov5642grp&amp;nbsp; on device 20e0000.iomuxc&lt;BR /&gt;ov5642 1-003d: Error applying setting, reverse things back&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_CSI0_DAT12 already requested by 21f0000.serial; cannot claim for 1-003d&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: pin-162 (1-003d) status -22&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: could not request pin 162 (MX6Q_PAD_CSI0_DAT12) from group i2c2-ov5642grp&amp;nbsp; on device 20e0000.iomuxc&lt;BR /&gt;ov5642 1-003d: Error applying setting, reverse things back&lt;BR /&gt;ov5642 1-003d: ov5642 setup pinctrl failed!&lt;BR /&gt;ov5642: probe of 1-003d failed with error -22&lt;BR /&gt;mxc_v4l_open: Mxc Camera no sensor ipu0/csi0&lt;BR /&gt;mxc_v4l_open: Mxc Camera no sensor ipu0/csi0&lt;BR /&gt;mxc_v4l_open: Mxc Camera no sensor ipu1/csi0&lt;BR /&gt;mxc_v4l_open: Mxc Camera no sensor ipu1/csi1&lt;BR /&gt;EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)&lt;BR /&gt;Timeout cmd id (1520327262.298414) = 0xa9, act = 0x0&lt;BR /&gt;a9 00 08 00 01 00 00 00 00 00 00 00 00 00 00 00 &lt;BR /&gt;BSS type = 0 BSS role= 0&lt;BR /&gt;------------Dump info-----------&lt;BR /&gt;Commmand Timeout&lt;BR /&gt;pending command id: 0x3 ioctl_buf=&amp;nbsp; (null)&lt;BR /&gt;No pending scan command&lt;BR /&gt;mlan_processing =0&lt;BR /&gt;main_lock_flag =0&lt;BR /&gt;main_process_cnt =2&lt;BR /&gt;delay_task_flag =0&lt;BR /&gt;mlan_rx_processing =0&lt;BR /&gt;rx_pkts_queued=0&lt;BR /&gt;more_task_flag = 0&lt;BR /&gt;num_cmd_timeout = 1&lt;BR /&gt;dbg.num_cmd_timeout = 1&lt;BR /&gt;last_cmd_index = 1&lt;BR /&gt;last_cmd_id = 0x0 0xa9 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 &lt;BR /&gt;last_cmd_act = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 &lt;BR /&gt;last_cmd_resp_index = 0&lt;BR /&gt;last_cmd_resp_id = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 &lt;BR /&gt;last_event_index = 0&lt;BR /&gt;last_event = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 &lt;BR /&gt;num_data_h2c_failure = 0&lt;BR /&gt;num_cmd_h2c_failure = 0&lt;BR /&gt;num_data_c2h_failure = 0&lt;BR /&gt;num_cmdevt_c2h_failure = 0&lt;BR /&gt;num_int_read_failure = 0&lt;BR /&gt;last_int_status = 128&lt;BR /&gt;num_alloc_buffer_failure = 0&lt;BR /&gt;num_pkt_dropped = 0&lt;BR /&gt;num_no_cmd_node = 0&lt;BR /&gt;num_event_deauth = 0&lt;BR /&gt;num_event_disassoc = 0&lt;BR /&gt;num_event_link_lost = 0&lt;BR /&gt;num_cmd_deauth = 0&lt;BR /&gt;num_cmd_assoc_success = 0&lt;BR /&gt;num_cmd_assoc_failure = 0&lt;BR /&gt;cmd_resp_received=0&lt;BR /&gt;event_received=0&lt;BR /&gt;max_tx_buf_size=2048&lt;BR /&gt;tx_buf_size=2048&lt;BR /&gt;curr_tx_buf_size=2048&lt;BR /&gt;data_sent=1 cmd_sent=0&lt;BR /&gt;ps_mode=1 ps_state=0&lt;BR /&gt;wakeup_dev_req=0 wakeup_tries=0&lt;BR /&gt;hs_configured=0 hs_activated=0&lt;BR /&gt;pps_uapsd_mode=0 sleep_pd=0&lt;BR /&gt;tx_lock_flag = 0&lt;BR /&gt;scan_processing = 0&lt;BR /&gt;mp_rd_bitmap=0x0 curr_rd_port=0x0&lt;BR /&gt;mp_wr_bitmap=0x0 curr_wr_port=0x0&lt;BR /&gt;mp_invalid_update=0&lt;BR /&gt;last_recv_wr_bitmap=0x0 last_mp_index=0&lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;bss_index = 0, tx_pkts_queued = 0&lt;BR /&gt;-------- Dump info End---------&lt;BR /&gt;Driver version = SD8887-0.0.0.p0-C3X15C216-GPL-(FP68) &lt;BR /&gt;main_state = 4&lt;BR /&gt;ioctl_pending = 0&lt;BR /&gt;tx_pending = 0&lt;BR /&gt;rx_pending = 0&lt;BR /&gt;lock_count = 28&lt;BR /&gt;malloc_count = 35&lt;BR /&gt;mbufalloc_count = 0&lt;BR /&gt;hs_skip_count = 0&lt;BR /&gt;hs_force_count = 0&lt;BR /&gt;SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 08 02 03 00 &lt;BR /&gt;SDIO Func1 (0x10-0x17): 00 00 00 00 ff ff 00 00 &lt;BR /&gt;SDIO Func1: (0x8) c3 (0x58) 00 (0x5c) 08 (0x5d) 00 (0x60) 07 (0x61) 0c (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00 &lt;BR /&gt;SDIO Func1 (0x90-0x9a): dc fe 1b 00 d6 00 3f 01 01 02 00 &lt;BR /&gt;SDIO Func1 (0x90-0x9a): dc fe 27 00 e0 00 3f 01 01 02 00 &lt;BR /&gt;Firmware Init Failed&lt;BR /&gt;woal_add_card failed&lt;BR /&gt;wlan_sdio: probe of mmc2:0001:1 failed with error -1&lt;BR /&gt;wlan: Driver loaded successfully&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what is actual reason behind this. After got this error when i reboot the system then mlan and sd8xxx driver was not loaded automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another issue is Wi-Fi driver was loaded successfully at bootup time, but driver for bluetooth was not loaded at bootup time. So after login prompt i have enable blutooth driver "hci_uart.ko". I got below logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.924603] Bluetooth: HCI device and connection manager initialized&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.929676] Bluetooth: HCI socket layer initialized&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.246031] ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.252666] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.259413] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.266328] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.275775] ahci-imx 2200000.sata: failed to reset phy: -110&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.280201] ahci-imx: probe of 2200000.sata failed with error -110&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.394040] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.399316] ehci-pci: EHCI PCI platform driver&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.575875] ci_hdrc ci_hdrc.1: EHCI Host Controller&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.604480] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.743431] sdhci: Secure Digital Host Controller Interface driver&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.748375] sdhci: Copyright(c) Pierre Ossman&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.751478] sdhci-pltfm: SDHCI platform and OF driver helper&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.763380] sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.772790] sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.825527] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.850610] sdhci-esdhc-imx 2198000.usdhc: no support for card's volts&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.860011] sdhci-esdhc-imx 219c000.usdhc: could not get ultra high speed state, work on normal mode&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.872351] sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.925540] mmc0: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.951524] sdhci-esdhc-imx 2198000.usdhc: no support for card's volts&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 14.056194] sdhci-esdhc-imx 2198000.usdhc: no support for card's volts&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 14.153547] sdhci-esdhc-imx 2198000.usdhc: no support for card's volts&lt;BR /&gt;[&amp;nbsp; 109.590539] HCI UART driver ver 2.2-M2614100&lt;BR /&gt;[&amp;nbsp; 109.593978] HCI H4 protocol initialized&lt;BR /&gt;[&amp;nbsp; 109.596937] HCILL protocol initialized&lt;BR /&gt;[&amp;nbsp; 261.494511] Bluetooth: hci0 command 0x1003 tx timeout&lt;BR /&gt;[&amp;nbsp; 263.494498] Bluetooth: hci0 command 0x1001 tx timeout&lt;BR /&gt;[&amp;nbsp; 265.494479] Bluetooth: hci0 command 0x1009 tx timeout&lt;BR /&gt;[&amp;nbsp; 483.134461] Bluetooth: hci0 command 0x1003 tx timeout&lt;BR /&gt;[&amp;nbsp; 485.134462] Bluetooth: hci0 command 0x1001 tx timeout&lt;BR /&gt;[&amp;nbsp; 487.134530] Bluetooth: hci0 command 0x1009 tx timeout&lt;BR /&gt;[ 1837.487024] HCI UART driver ver 2.2-M2614100&lt;BR /&gt;[ 1837.495551] HCI H4 protocol initialized&lt;BR /&gt;[ 1837.498409] HCILL protocol initialized&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our BLE Module was connected with UART interface, and that interface is "/dev/ttymxc1".&lt;/P&gt;&lt;P&gt;To enable chip as BLE, on our board one GPIO pin is there "BT_WACKUP_IN".&lt;/P&gt;&lt;P&gt;That i have enabled.&lt;/P&gt;&lt;P&gt;So i execute below command to attach the UART interface&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hciattach /dev/ttymxc1 any 3000000 flow&lt;/P&gt;&lt;P&gt;Then i have execute command "hciconfig -a"&lt;/P&gt;&lt;P&gt;It shows me below logs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;hci0:&amp;nbsp;&amp;nbsp; &amp;nbsp;Type: Primary&amp;nbsp; Bus: UART&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;BD Address: 00:00:00:00:00:00&amp;nbsp; ACL MTU: 0:0&amp;nbsp; SCO MTU: 0:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;DOWN INIT RUNNING &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;RX bytes:0 acl:0 sco:0 events:0 errors:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;TX bytes:25 acl:0 sco:0 commands:5 errors:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Packet type: DM1 DH1 HV1 &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Link policy: &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Link mode: SLAVE ACCEPT&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the issue behind this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To up the hci0 interface, i have execute another command that is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hciconfig -a hci0 up"&lt;/P&gt;&lt;P&gt;It shows me below logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Can't init device hci0: Connection timed out (110)&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me suggestion related to above issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Sanket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 12:09:01 GMT</pubDate>
    <dc:creator>sanketparekh</dc:creator>
    <dc:date>2018-03-06T12:09:01Z</dc:date>
    <item>
      <title>Bluetooth integration with IMX6Q Processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bluetooth-integration-with-IMX6Q-Processor/m-p/732227#M113944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have custom board, that board have IMX6Q processor. I have on board chip of Wi-Fi + BLE. I have used Marvel kernel drivers for Wi-Fi as well as BLE. During system bootup i got below logs for download the firmware in that Wi-Fi chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;vendor=0x02DF device=0x9135 class=0 function=1&lt;BR /&gt;SDIO: max_segs=128 max_seg_size=65535&lt;BR /&gt;rx_work=1 cpu_num=4&lt;BR /&gt;wlan: Enable TX SG mode&lt;BR /&gt;wlan: Enable RX SG mode&lt;BR /&gt;Request firmware: mrvl/sduart8887_combo_a2.bin&lt;BR /&gt;WLAN FW already running! Skip FW download&lt;BR /&gt;WLAN FW is active&lt;BR /&gt;ov5640_mipi 1-003e: no sensor pwdn pin available&lt;BR /&gt;ov5640_mipi: probe of 1-003e failed with error -22&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_CSI0_DAT12 already requested by 21f0000.serial; cannot claim for 1-003d&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: pin-162 (1-003d) status -22&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: could not request pin 162 (MX6Q_PAD_CSI0_DAT12) from group i2c2-ov5642grp&amp;nbsp; on device 20e0000.iomuxc&lt;BR /&gt;ov5642 1-003d: Error applying setting, reverse things back&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_CSI0_DAT12 already requested by 21f0000.serial; cannot claim for 1-003d&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: pin-162 (1-003d) status -22&lt;BR /&gt;imx6q-pinctrl 20e0000.iomuxc: could not request pin 162 (MX6Q_PAD_CSI0_DAT12) from group i2c2-ov5642grp&amp;nbsp; on device 20e0000.iomuxc&lt;BR /&gt;ov5642 1-003d: Error applying setting, reverse things back&lt;BR /&gt;ov5642 1-003d: ov5642 setup pinctrl failed!&lt;BR /&gt;ov5642: probe of 1-003d failed with error -22&lt;BR /&gt;mxc_v4l_open: Mxc Camera no sensor ipu0/csi0&lt;BR /&gt;mxc_v4l_open: Mxc Camera no sensor ipu0/csi0&lt;BR /&gt;mxc_v4l_open: Mxc Camera no sensor ipu1/csi0&lt;BR /&gt;mxc_v4l_open: Mxc Camera no sensor ipu1/csi1&lt;BR /&gt;EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)&lt;BR /&gt;Timeout cmd id (1520327262.298414) = 0xa9, act = 0x0&lt;BR /&gt;a9 00 08 00 01 00 00 00 00 00 00 00 00 00 00 00 &lt;BR /&gt;BSS type = 0 BSS role= 0&lt;BR /&gt;------------Dump info-----------&lt;BR /&gt;Commmand Timeout&lt;BR /&gt;pending command id: 0x3 ioctl_buf=&amp;nbsp; (null)&lt;BR /&gt;No pending scan command&lt;BR /&gt;mlan_processing =0&lt;BR /&gt;main_lock_flag =0&lt;BR /&gt;main_process_cnt =2&lt;BR /&gt;delay_task_flag =0&lt;BR /&gt;mlan_rx_processing =0&lt;BR /&gt;rx_pkts_queued=0&lt;BR /&gt;more_task_flag = 0&lt;BR /&gt;num_cmd_timeout = 1&lt;BR /&gt;dbg.num_cmd_timeout = 1&lt;BR /&gt;last_cmd_index = 1&lt;BR /&gt;last_cmd_id = 0x0 0xa9 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 &lt;BR /&gt;last_cmd_act = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 &lt;BR /&gt;last_cmd_resp_index = 0&lt;BR /&gt;last_cmd_resp_id = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 &lt;BR /&gt;last_event_index = 0&lt;BR /&gt;last_event = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 &lt;BR /&gt;num_data_h2c_failure = 0&lt;BR /&gt;num_cmd_h2c_failure = 0&lt;BR /&gt;num_data_c2h_failure = 0&lt;BR /&gt;num_cmdevt_c2h_failure = 0&lt;BR /&gt;num_int_read_failure = 0&lt;BR /&gt;last_int_status = 128&lt;BR /&gt;num_alloc_buffer_failure = 0&lt;BR /&gt;num_pkt_dropped = 0&lt;BR /&gt;num_no_cmd_node = 0&lt;BR /&gt;num_event_deauth = 0&lt;BR /&gt;num_event_disassoc = 0&lt;BR /&gt;num_event_link_lost = 0&lt;BR /&gt;num_cmd_deauth = 0&lt;BR /&gt;num_cmd_assoc_success = 0&lt;BR /&gt;num_cmd_assoc_failure = 0&lt;BR /&gt;cmd_resp_received=0&lt;BR /&gt;event_received=0&lt;BR /&gt;max_tx_buf_size=2048&lt;BR /&gt;tx_buf_size=2048&lt;BR /&gt;curr_tx_buf_size=2048&lt;BR /&gt;data_sent=1 cmd_sent=0&lt;BR /&gt;ps_mode=1 ps_state=0&lt;BR /&gt;wakeup_dev_req=0 wakeup_tries=0&lt;BR /&gt;hs_configured=0 hs_activated=0&lt;BR /&gt;pps_uapsd_mode=0 sleep_pd=0&lt;BR /&gt;tx_lock_flag = 0&lt;BR /&gt;scan_processing = 0&lt;BR /&gt;mp_rd_bitmap=0x0 curr_rd_port=0x0&lt;BR /&gt;mp_wr_bitmap=0x0 curr_wr_port=0x0&lt;BR /&gt;mp_invalid_update=0&lt;BR /&gt;last_recv_wr_bitmap=0x0 last_mp_index=0&lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0&lt;BR /&gt;0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 &lt;BR /&gt;bss_index = 0, tx_pkts_queued = 0&lt;BR /&gt;-------- Dump info End---------&lt;BR /&gt;Driver version = SD8887-0.0.0.p0-C3X15C216-GPL-(FP68) &lt;BR /&gt;main_state = 4&lt;BR /&gt;ioctl_pending = 0&lt;BR /&gt;tx_pending = 0&lt;BR /&gt;rx_pending = 0&lt;BR /&gt;lock_count = 28&lt;BR /&gt;malloc_count = 35&lt;BR /&gt;mbufalloc_count = 0&lt;BR /&gt;hs_skip_count = 0&lt;BR /&gt;hs_force_count = 0&lt;BR /&gt;SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 08 02 03 00 &lt;BR /&gt;SDIO Func1 (0x10-0x17): 00 00 00 00 ff ff 00 00 &lt;BR /&gt;SDIO Func1: (0x8) c3 (0x58) 00 (0x5c) 08 (0x5d) 00 (0x60) 07 (0x61) 0c (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00 &lt;BR /&gt;SDIO Func1 (0x90-0x9a): dc fe 1b 00 d6 00 3f 01 01 02 00 &lt;BR /&gt;SDIO Func1 (0x90-0x9a): dc fe 27 00 e0 00 3f 01 01 02 00 &lt;BR /&gt;Firmware Init Failed&lt;BR /&gt;woal_add_card failed&lt;BR /&gt;wlan_sdio: probe of mmc2:0001:1 failed with error -1&lt;BR /&gt;wlan: Driver loaded successfully&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what is actual reason behind this. After got this error when i reboot the system then mlan and sd8xxx driver was not loaded automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another issue is Wi-Fi driver was loaded successfully at bootup time, but driver for bluetooth was not loaded at bootup time. So after login prompt i have enable blutooth driver "hci_uart.ko". I got below logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.924603] Bluetooth: HCI device and connection manager initialized&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.929676] Bluetooth: HCI socket layer initialized&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.246031] ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.252666] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.259413] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.266328] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.275775] ahci-imx 2200000.sata: failed to reset phy: -110&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.280201] ahci-imx: probe of 2200000.sata failed with error -110&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.394040] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.399316] ehci-pci: EHCI PCI platform driver&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.575875] ci_hdrc ci_hdrc.1: EHCI Host Controller&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.604480] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.743431] sdhci: Secure Digital Host Controller Interface driver&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.748375] sdhci: Copyright(c) Pierre Ossman&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.751478] sdhci-pltfm: SDHCI platform and OF driver helper&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.763380] sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.772790] sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.825527] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.850610] sdhci-esdhc-imx 2198000.usdhc: no support for card's volts&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.860011] sdhci-esdhc-imx 219c000.usdhc: could not get ultra high speed state, work on normal mode&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.872351] sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.925540] mmc0: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 13.951524] sdhci-esdhc-imx 2198000.usdhc: no support for card's volts&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 14.056194] sdhci-esdhc-imx 2198000.usdhc: no support for card's volts&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 14.153547] sdhci-esdhc-imx 2198000.usdhc: no support for card's volts&lt;BR /&gt;[&amp;nbsp; 109.590539] HCI UART driver ver 2.2-M2614100&lt;BR /&gt;[&amp;nbsp; 109.593978] HCI H4 protocol initialized&lt;BR /&gt;[&amp;nbsp; 109.596937] HCILL protocol initialized&lt;BR /&gt;[&amp;nbsp; 261.494511] Bluetooth: hci0 command 0x1003 tx timeout&lt;BR /&gt;[&amp;nbsp; 263.494498] Bluetooth: hci0 command 0x1001 tx timeout&lt;BR /&gt;[&amp;nbsp; 265.494479] Bluetooth: hci0 command 0x1009 tx timeout&lt;BR /&gt;[&amp;nbsp; 483.134461] Bluetooth: hci0 command 0x1003 tx timeout&lt;BR /&gt;[&amp;nbsp; 485.134462] Bluetooth: hci0 command 0x1001 tx timeout&lt;BR /&gt;[&amp;nbsp; 487.134530] Bluetooth: hci0 command 0x1009 tx timeout&lt;BR /&gt;[ 1837.487024] HCI UART driver ver 2.2-M2614100&lt;BR /&gt;[ 1837.495551] HCI H4 protocol initialized&lt;BR /&gt;[ 1837.498409] HCILL protocol initialized&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our BLE Module was connected with UART interface, and that interface is "/dev/ttymxc1".&lt;/P&gt;&lt;P&gt;To enable chip as BLE, on our board one GPIO pin is there "BT_WACKUP_IN".&lt;/P&gt;&lt;P&gt;That i have enabled.&lt;/P&gt;&lt;P&gt;So i execute below command to attach the UART interface&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hciattach /dev/ttymxc1 any 3000000 flow&lt;/P&gt;&lt;P&gt;Then i have execute command "hciconfig -a"&lt;/P&gt;&lt;P&gt;It shows me below logs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;hci0:&amp;nbsp;&amp;nbsp; &amp;nbsp;Type: Primary&amp;nbsp; Bus: UART&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;BD Address: 00:00:00:00:00:00&amp;nbsp; ACL MTU: 0:0&amp;nbsp; SCO MTU: 0:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;DOWN INIT RUNNING &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;RX bytes:0 acl:0 sco:0 events:0 errors:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;TX bytes:25 acl:0 sco:0 commands:5 errors:0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Packet type: DM1 DH1 HV1 &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Link policy: &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Link mode: SLAVE ACCEPT&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the issue behind this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To up the hci0 interface, i have execute another command that is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "hciconfig -a hci0 up"&lt;/P&gt;&lt;P&gt;It shows me below logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Can't init device hci0: Connection timed out (110)&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me suggestion related to above issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Sanket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 12:09:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bluetooth-integration-with-IMX6Q-Processor/m-p/732227#M113944</guid>
      <dc:creator>sanketparekh</dc:creator>
      <dc:date>2018-03-06T12:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bluetooth integration with IMX6Q Processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bluetooth-integration-with-IMX6Q-Processor/m-p/732228#M113945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your system not recognize the driver, if that from marvel? you will have contact Marvel for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 16:38:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bluetooth-integration-with-IMX6Q-Processor/m-p/732228#M113945</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2018-03-07T16:38:45Z</dc:date>
    </item>
  </channel>
</rss>

