<?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中的主题 Re: USB Bluetooth driver not added to Linux kernel after bitbake -c menuconfig</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/USB-Bluetooth-driver-not-added-to-Linux-kernel-after-bitbake-c/m-p/351536#M48898</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;Alvin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you do following. Build kernel and modules separately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make imx_v7a_defconfig ARCH=arm CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -j16 uImage LOADADDR=0x10008000&lt;/P&gt;&lt;P&gt;make imx_v7a_defconfig ARCH=arm CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -j16 modules&lt;/P&gt;&lt;P&gt;make imx_v7a_defconfig ARCH=arm CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -j16 modules_install INSTALL_MOD_PATH=~/module/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your modules will build and copied to ~/module/&lt;/P&gt;&lt;P&gt;Copy those files to your board /lib/modules/.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2015 10:17:18 GMT</pubDate>
    <dc:creator>saurabh206</dc:creator>
    <dc:date>2015-02-05T10:17:18Z</dc:date>
    <item>
      <title>USB Bluetooth driver not added to Linux kernel after bitbake -c menuconfig</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-Bluetooth-driver-not-added-to-Linux-kernel-after-bitbake-c/m-p/351535#M48897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add the generic USB Bluetooth driver "btusb" to my MCIMX6Q-SDB board, so that I can use my Cambridge Silicon Radio USB bluetooth dongle. Taking hints from these&amp;nbsp; guides&amp;nbsp; &lt;A href="https://community.nxp.com/docs/DOC-100847"&gt;Building Linux Kernel&lt;/A&gt;, &lt;A href="https://community.nxp.com/docs/DOC-94989"&gt;Task #4 - Deploy and test&lt;/A&gt;,&amp;nbsp; and&amp;nbsp; &lt;A href="http://www.yoctoproject.org/docs/1.6/kernel-dev/kernel-dev.html#changing-the-configuration" title="http://www.yoctoproject.org/docs/1.6/kernel-dev/kernel-dev.html#changing-the-configuration"&gt;Yocto Project Linux Kernel Development Manual&lt;/A&gt;, I did the following steps to add the said driver:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I ran the "bitbake -c menuconfig linux-imx"&lt;/P&gt;&lt;P&gt;2) The kernel configuration menu appeared, and I marked as "Y" the&amp;nbsp; following options:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bluetooth subsystem support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RFCOMM protocol support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RFCOMM TTY support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BNEP Protocol support&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Multicast filter support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRotocol filter support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HIDP support&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HCI USB driver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HCI UART driber&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HCI BCM203x USB driver&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HCI BPA10X USB driver&lt;/P&gt;&lt;P&gt;3) I saved the changes I made, and copied the resulting .config file to the linux-imx_3.10.17.bb recipe folder in tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/git/&amp;nbsp; to /sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-kernel/linux, and renamed the .config file to defconfig&lt;/P&gt;&lt;P&gt;4) I made a folder called "files" and placed defconfig there. Going back to recipes-kernel/linux folder, I made a .bbappend file called linux-imx_3.10.17.bbappend, which contained the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; FILESEXTRAPATHS_prepend := "${THISDIR}/files:"&lt;/P&gt;&lt;P&gt; SRC_URI += "&lt;A href="https://webmail.pciltd.com.sg/owa/redir.aspx?C=MWauH3HMw0Sg2N4OCcl4RPDV71i-FNIIYLd9qMOyDUi5U9rWE3z8JUr1MnHsO427O8VjA_UDThs.&amp;amp;URL=file%3a%2f%2fdefconfig" target="_blank"&gt;file://defconfig&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) I ran the command "bitbake-c cleansstate linux-imx"&lt;/P&gt;&lt;P&gt;6) After that I ran bitbake fsl-image-x11, I did not run bitbake linux-imx, since I believe linux-imx gets bitbaked also via fsl-image-x11&lt;/P&gt;&lt;P&gt;7) I flashed the resulting .sdcard to my SD card&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon inspecting the target filesystem after flashing, there was no btusb.ko found inside the driver folder. I tried running bitbake menuconfig again, and after steps replacing the old defconfig with a new one, I proceeded straight to bitbake fsl-image-x11 without running cleansstate, but still the drivers were not added afterwards. I again made changes to the kernel configuration and ran "bitbake -f -c compile" and "bitbake -f -c deploy", and afterwards, I copied the resulting uImage to my SD card's /media/Boot folder, but I still didn't find btusb.ko in the target filesystem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the tmp/deploy/images directory, the tar archive for the modules contained two files called modules.order and modules.builtin. The modules.builtin file contains the .ko files related to bluetooth, but on the modules.order file, only a limited number of drivers were present. It seems that the drivers listed on modules.order are the only ones that will appear on the target filesystem. I tried to built the drivers into modules instead of drivers, but the modules where nowhere to be seen after configuration. What is going on here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this? I am very new to Linux and to the Yocto Project, so any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 09:56:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-Bluetooth-driver-not-added-to-Linux-kernel-after-bitbake-c/m-p/351535#M48897</guid>
      <dc:creator>alvind</dc:creator>
      <dc:date>2015-02-05T09:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: USB Bluetooth driver not added to Linux kernel after bitbake -c menuconfig</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-Bluetooth-driver-not-added-to-Linux-kernel-after-bitbake-c/m-p/351536#M48898</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;Alvin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you do following. Build kernel and modules separately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make imx_v7a_defconfig ARCH=arm CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -j16 uImage LOADADDR=0x10008000&lt;/P&gt;&lt;P&gt;make imx_v7a_defconfig ARCH=arm CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -j16 modules&lt;/P&gt;&lt;P&gt;make imx_v7a_defconfig ARCH=arm CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -j16 modules_install INSTALL_MOD_PATH=~/module/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your modules will build and copied to ~/module/&lt;/P&gt;&lt;P&gt;Copy those files to your board /lib/modules/.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 10:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-Bluetooth-driver-not-added-to-Linux-kernel-after-bitbake-c/m-p/351536#M48898</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-02-05T10:17:18Z</dc:date>
    </item>
  </channel>
</rss>

