<?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: Build new kernel for imx6 ubuntu image in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Build-new-kernel-for-imx6-ubuntu-image/m-p/745327#M115997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in general recommended to rebuild all image with newly included drivers.&lt;/P&gt;&lt;P&gt;As this software was developed by third party, one can post on vendor support&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.technexion.com/support/" title="https://www.technexion.com/support/"&gt;Support - TechNexion&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or post this to meta-fsl-arm mailing list, so that someone familiar with it could try to assist you.&lt;BR /&gt;&lt;A class="link-titled" href="https://lists.yoctoproject.org/listinfo/meta-freescale" title="https://lists.yoctoproject.org/listinfo/meta-freescale"&gt;meta-freescale Info Page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&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>Wed, 27 Dec 2017 04:58:26 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-12-27T04:58:26Z</dc:date>
    <item>
      <title>Build new kernel for imx6 ubuntu image</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-new-kernel-for-imx6-ubuntu-image/m-p/745326#M115996</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;I'm going to build a kernel for Ubuntu 16.06 and kernel&amp;nbsp;4.1.15_2.0.0_ga.&lt;/P&gt;&lt;P&gt;I have a board based on iMX6-dl from Technexion company. They provided the access to their kernel and config and device tree files.&lt;/P&gt;&lt;P&gt;I use these steps to build kernel and add new modules (drivers) to the kernel such as ath9k for Atheros PCIe WiFi cards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;git clone &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FTechNexion%2Flinux.git" rel="nofollow" target="_blank"&gt;https://github.com/TechNexion/linux.git&lt;/A&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; cd linux&lt;/SPAN&gt;&lt;BR /&gt;export KERNEL_SRC=$PWD&lt;BR /&gt;export ARCH=arm&lt;BR /&gt;export CROSS_COMPILE=arm-linux-gnueabihf-&lt;BR /&gt;&lt;BR /&gt;git checkout tn-imx_4.1.15_2.0.0_ga&lt;BR /&gt;&lt;BR /&gt;make tn_imx_defconfig&lt;/P&gt;&lt;P&gt;make menuconfig&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; add the drivers I need to the config file&lt;BR /&gt;make -j4 zImage modules imx6dl-edm1-cf-pmic_fairy.dtb&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;After these steps, the kernel is built without any error. In the log I see all the modules I've selected in menuconfig compiling without any error and I can see *.o files.&lt;/P&gt;&lt;P&gt;I also see *.ko files for the driver selected as "M" in menucconfig setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the built is finished I use these two command lines to add new kernel to the SD card that already flashed (and working) with the image the company providing with the same kernel and version of Ubuntu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;cp arch/arm/boot/zImage arch/arm/boot/dts/imx6dl-edm1-cf-pmic_fairy.dtb /media/user/74C5-8858/&lt;BR /&gt;&lt;BR /&gt;make ARCH=arm modules_install INSTALL_MOD_PATH=/media/user/c8843fd8-cc57-4557-93a9-5fa0e596fa72/&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use &lt;STRONG&gt;make module_install&lt;/STRONG&gt; it just copies the *.ko drivers to the SD card.&lt;/P&gt;&lt;P&gt;I don't know how I can add other drivers that marked with " * " in menuconfig to the SD card such as "ath9k.o".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to these software things.&lt;/P&gt;&lt;P&gt;Any help for that? Am I missing anything?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Dec 2017 20:00:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-new-kernel-for-imx6-ubuntu-image/m-p/745326#M115996</guid>
      <dc:creator>asadlesani</dc:creator>
      <dc:date>2017-12-24T20:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Build new kernel for imx6 ubuntu image</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-new-kernel-for-imx6-ubuntu-image/m-p/745327#M115997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in general recommended to rebuild all image with newly included drivers.&lt;/P&gt;&lt;P&gt;As this software was developed by third party, one can post on vendor support&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.technexion.com/support/" title="https://www.technexion.com/support/"&gt;Support - TechNexion&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or post this to meta-fsl-arm mailing list, so that someone familiar with it could try to assist you.&lt;BR /&gt;&lt;A class="link-titled" href="https://lists.yoctoproject.org/listinfo/meta-freescale" title="https://lists.yoctoproject.org/listinfo/meta-freescale"&gt;meta-freescale Info Page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&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>Wed, 27 Dec 2017 04:58:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-new-kernel-for-imx6-ubuntu-image/m-p/745327#M115997</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-12-27T04:58:26Z</dc:date>
    </item>
  </channel>
</rss>

