<?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>topic imx6ul: Yocto toolchain can't build kernel modules in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-Yocto-toolchain-can-t-build-kernel-modules/m-p/617569#M93514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In an sdk built with&lt;/P&gt;&lt;P&gt;bitbake core-image-directfb -c populate_sdk&lt;/P&gt;&lt;P&gt;there is no lib/modules/&amp;lt;kernel_version&amp;gt;/build folder to do kernel modules building, only &lt;SPAN&gt;lib/modules/&amp;lt;kernel_version&amp;gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;To my config file I added&amp;nbsp;&lt;/P&gt;&lt;P&gt;TOOLCHAIN_TARGET_TASK_append = " kernel-devsrc kernel-dev packagegroup-core-buildessential"&lt;/P&gt;&lt;P&gt;but still no result. Now I'm building kernel modules over ~/fsl-community-bsp/build/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0/build/ folder and it works, but it's an overkill. Working in a team I want to give others toolchain so that they can build kernel modules using it. What do&amp;nbsp;I have to add to config file so that my toolchain would have modules "build" folder? Any solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 07:47:34 GMT</pubDate>
    <dc:creator>sudomasaaki</dc:creator>
    <dc:date>2016-09-14T07:47:34Z</dc:date>
    <item>
      <title>imx6ul: Yocto toolchain can't build kernel modules</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-Yocto-toolchain-can-t-build-kernel-modules/m-p/617569#M93514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In an sdk built with&lt;/P&gt;&lt;P&gt;bitbake core-image-directfb -c populate_sdk&lt;/P&gt;&lt;P&gt;there is no lib/modules/&amp;lt;kernel_version&amp;gt;/build folder to do kernel modules building, only &lt;SPAN&gt;lib/modules/&amp;lt;kernel_version&amp;gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;To my config file I added&amp;nbsp;&lt;/P&gt;&lt;P&gt;TOOLCHAIN_TARGET_TASK_append = " kernel-devsrc kernel-dev packagegroup-core-buildessential"&lt;/P&gt;&lt;P&gt;but still no result. Now I'm building kernel modules over ~/fsl-community-bsp/build/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-imx/4.1.15-r0/build/ folder and it works, but it's an overkill. Working in a team I want to give others toolchain so that they can build kernel modules using it. What do&amp;nbsp;I have to add to config file so that my toolchain would have modules "build" folder? Any solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 07:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-Yocto-toolchain-can-t-build-kernel-modules/m-p/617569#M93514</guid>
      <dc:creator>sudomasaaki</dc:creator>
      <dc:date>2016-09-14T07:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul: Yocto toolchain can't build kernel modules</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-Yocto-toolchain-can-t-build-kernel-modules/m-p/617570#M93515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With a bit of studying I learned that build/ folder is actually just a symlink to /usr/src/kernel, did a simple Makefile but still got errors about some scripts aren't being present. So, you have to execute a "make modules_prepare" in kernel folder to make your toolchain ready for kernel modules building. Hope this helps others!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 11:01:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-Yocto-toolchain-can-t-build-kernel-modules/m-p/617570#M93515</guid>
      <dc:creator>sudomasaaki</dc:creator>
      <dc:date>2016-09-14T11:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul: Yocto toolchain can't build kernel modules</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-Yocto-toolchain-can-t-build-kernel-modules/m-p/617571#M93516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats correct! &amp;nbsp;Before compile kernel driver you need to prepare the modules and install any software on your host such as.&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;$ sudo apt-get install build-essential module-assistant&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Then:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;$ sudo make modules_prepare&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 16:28:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-Yocto-toolchain-can-t-build-kernel-modules/m-p/617571#M93516</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2016-09-14T16:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ul: Yocto toolchain can't build kernel modules</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ul-Yocto-toolchain-can-t-build-kernel-modules/m-p/1522727#M195189</link>
      <description>Hi, I am new to yocto and Linux. I am trying to build a yocto image for MYD-C8MMX board.&lt;BR /&gt;I can't include CH341 and CP210X drivers in the image.&lt;BR /&gt;I built myir-image-core image and enabled drivers in "bitbake -c menuconfig virtual/kernel". And when I check Image, ch341 and cp210x are enabled. But when I boot it on the board, drivers are not there. (still enabled)&lt;BR /&gt;&lt;BR /&gt;Can you please explain what should I do after "make modules_prepare"?&lt;BR /&gt;Also, "bitbake -e virtual/kernel | grep ^S="&lt;BR /&gt;output: S="/home/user/MYD-C8MMX-Yocto/build/tmp/work/myd-imx8mm-poky-linux/build/5.4-r0/git"&lt;BR /&gt;Is it kernel folder?</description>
      <pubDate>Thu, 15 Sep 2022 08:37:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ul-Yocto-toolchain-can-t-build-kernel-modules/m-p/1522727#M195189</guid>
      <dc:creator>maral_e</dc:creator>
      <dc:date>2022-09-15T08:37:56Z</dc:date>
    </item>
  </channel>
</rss>

