<?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 Re: Add Kernel Modules in the core-image-minimal in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768005#M119287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see following posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/456248"&gt;how to cross-compile a external module based on imx yocto files?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/434692"&gt;imx6ul: Yocto toolchain can't build kernel modules&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How ever I prefer to &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95122"&gt;Create Meta-toolchain &lt;/A&gt;and rebuild zImage outside of Yocto and just replace zImage.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;BR /&gt;NXP Technical Support&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2018 22:32:40 GMT</pubDate>
    <dc:creator>Carlos_Musich</dc:creator>
    <dc:date>2018-03-16T22:32:40Z</dc:date>
    <item>
      <title>Add Kernel Modules in the core-image-minimal</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768004#M119286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I add the modules of kernel in the core-image-minimal filesystem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CORE_IMAGE_EXTRA_INSTALL += " kernel-modules" in the local.conf&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;MACHINE_EXTRA_RRECOMMENDS = &lt;SPAN&gt;" kernel-modules" in the machine.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But in both cases we didn't find the modules.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We had to install by rpm.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advanced&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 15:07:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768004#M119286</guid>
      <dc:creator>abelussi</dc:creator>
      <dc:date>2018-03-16T15:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add Kernel Modules in the core-image-minimal</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768005#M119287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see following posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/456248"&gt;how to cross-compile a external module based on imx yocto files?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/434692"&gt;imx6ul: Yocto toolchain can't build kernel modules&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How ever I prefer to &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95122"&gt;Create Meta-toolchain &lt;/A&gt;and rebuild zImage outside of Yocto and just replace zImage.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;BR /&gt;NXP Technical Support&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 22:32:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768005#M119287</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2018-03-16T22:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add Kernel Modules in the core-image-minimal</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768006#M119288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This does not answer the question, it another subject (cross compilation from a SDK)?&lt;/P&gt;&lt;P&gt;The real question is (as I expect) is&amp;nbsp; how to get a kernel module, which is marked with 'm' in the kernel config, in the /lib directory from the regular yocto build in the rootfs /lib/... directory.&lt;/P&gt;&lt;P&gt;In the yocto morty release I could add this in the image recipe (.bb):&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL += "kernel-module-&amp;lt;the-module&amp;gt;"&lt;/P&gt;&lt;P&gt;But in the sumo release this does not work any more.&lt;/P&gt;&lt;P&gt;(Based on core-image-minimal)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 13:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768006#M119288</guid>
      <dc:creator>henrideveer</dc:creator>
      <dc:date>2019-05-14T13:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add Kernel Modules in the core-image-minimal</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768007#M119289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;A _jive_internal="true" data-id="308020" data-objecttype="3" data-orig-content="Antonio Belussi" data-type="person" href="https://community.nxp.com/people/abelussi"&gt;Antonio Belussi&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are able to get kernel modules in lib directory from yocto core-image-minimal based file system by adding only below the line in conf/local.conf file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CORE_IMAGE_EXTRA_INSTALL += " kernel-modules"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no need to add MACHINE_EXTRA_RRECOMMENDS = &lt;SPAN&gt;" kernel-modules" in the machine configuration file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After that, we did&amp;nbsp;&lt;STRONG&gt;bitbake&lt;/STRONG&gt;&lt;STRONG&gt; core-image-minimal&lt;/STRONG&gt; and we are able to see modules in the lib directory. We have also checked in yocto krogoth, morty and sumo as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let us know if you are still facing an error with this solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 10:19:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768007#M119289</guid>
      <dc:creator>radhikasomaiya</dc:creator>
      <dc:date>2019-05-17T10:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add Kernel Modules in the core-image-minimal</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768008#M119290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed it in another way. In the image recipe I added the kernel module as follow:&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_append += "\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kernel-module-&amp;lt;the-module&amp;gt; \&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .. all other packages ..&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;Why this does not work, beats me, it should do the same:&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL += "kernel-module-&amp;lt;the-module&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think adding it to the "image recipe" is more clean iso using the local.conf (which I dislike to put anything in, except the bare minimum).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 11:12:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768008#M119290</guid>
      <dc:creator>henrideveer</dc:creator>
      <dc:date>2019-05-17T11:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add Kernel Modules in the core-image-minimal</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768009#M119291</link>
      <description>&lt;P&gt;kernel-modules is just a package, so you can include it in IMAGE_INSTALL just&lt;BR /&gt;like any other package name (although this may not be the most appropriate&lt;BR /&gt;solution), alternatively, add them to MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_append = " kernel-modules"&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS_append = " kernel-modules"&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 10:29:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-Kernel-Modules-in-the-core-image-minimal/m-p/768009#M119291</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2021-07-01T10:29:44Z</dc:date>
    </item>
  </channel>
</rss>

