<?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: Changing the Kernel configuration for i.MX6 SABRE in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408939#M61063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chris and everyone reading this post,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The post is a bit old but still true today, so I post an answer. I try to achieve the same goal Chris, I have tried your solution with "cat ../*.cfg", that's working well ... EXCEPT that when I run menuconfig again and then diffconfig, a fragment is generated which is the result of all fragments applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using linux-yocto, each fragment is integrated to the configuration and only the NEW modifications made during menuconfig are reported in the diffconfig result. This permit to create several fragments easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can confirm this problem with&amp;nbsp;the solution proposed by Chris ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone found a better solution ? I have personally tried to create my own recipe to build linux-imx,&amp;nbsp;including&amp;nbsp;linux-yocto except of linux-imx, but it fails to compile and with plethora of errors..... I wonder if the solution can be to include only some part of the kernel-yocto class... not sure of the&amp;nbsp;quantity of work to do for that....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Aug 2019 14:32:32 GMT</pubDate>
    <dc:creator>Joel69003</dc:creator>
    <dc:date>2019-08-19T14:32:32Z</dc:date>
    <item>
      <title>Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408912#M61036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I’m trying to change the default Kernel to include PCIe, but I’ve been having real problems trying to change the configuration used to build the kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can build a default kernel using the following steps (I’m using branch imx-3.10.53-1.1.0_ga)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ mkdir fsl-release-bsp&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cd fsl-release-bsp&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.53-1.1.0_ga&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ repo sync&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11 -e x11&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake core-image-base&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This image works fine. I can power up my Sabre platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I now want to change the Kernel configuration to include PCIe, but it seems that the documented way (see “Task #5 - Kernel - The complete step by step to change the kernel configuration”) doesn’t work for me. Here are the steps from the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake -c menuconfig linux-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(change anything)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cp tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.0.35-r33.10/git/.config ../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6/defconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake -c cleansstate linux-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake fsl-image-gui&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don’t have the correct paths for the “cp” command. My .config file is actually located in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;./tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.53-r0/git/.config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would expect to find a matching folder in &lt;SPAN style="font-family: courier new,courier;"&gt;../sources&lt;/SPAN&gt;, but I don’t have a “&lt;SPAN style="font-family: courier new,courier;"&gt;../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35&lt;/SPAN&gt;” directory ;-(&lt;/P&gt;&lt;P&gt;The only directories I have at this level are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Courier New';"&gt;linux-fslc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;linux-imx-2.6.35.3&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linux-imx.inc&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;&amp;nbsp;&amp;nbsp; linux-imx-rt_3.10.17.bb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 8pt;"&gt;linux-fslc_3.14.bb&amp;nbsp; linux-imx_2.6.35.3.bb&amp;nbsp; linux-imx-mfgtool-3.10.17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linux-mfgtool.inc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 8pt;"&gt;linux-fslc.inc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;linux-imx-3.10.17&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linux-imx-mfgtool_3.10.17.bb&amp;nbsp; linux-timesys-3.0.15&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 8pt;"&gt;linux-imx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linux-imx_3.10.17.bb&amp;nbsp;&amp;nbsp; linux-imx-rt-3.10.17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linux-timesys_3.0.15.bb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I think (by looking at each sub-directory) that…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Linux-imx-2.6.35.3&lt;/STRONG&gt;&lt;/SPAN&gt; is used for mx5, imx23evk, imx28evk&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Linux-imx-3.10.17&lt;/SPAN&gt; &lt;/STRONG&gt;is used for imx6&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I’ve tried copying .config to &lt;SPAN style="font-family: courier new,courier;"&gt;linux-imx-3.10.17/imx/defconfig&lt;/SPAN&gt; and created new directories for&lt;SPAN style="font-family: courier new,courier;"&gt; linux-imx-3.10.53/imx/defconfig&lt;/SPAN&gt;. Then I run &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake -c cleansstate linux-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake linux-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I program my SD card and try to power up and test my PCIe changes. But while it does boot up, none of my Kernel changes are present. I test this by using lspci and also the following command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cat /proc/config.gz | gunzip | grep –i pci&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve looked at other pages and it seems that I’m not the only one having problems, eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/360368"&gt;https://community.freescale.com/thread/360368&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/372003"&gt;https://community.freescale.com/thread/372003&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/563729#563729"&gt;https://community.freescale.com/message/563729#563729&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95045"&gt;https://community.freescale.com/docs/DOC-95045&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-100847"&gt;https://community.freescale.com/docs/DOC-100847&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I found to change my Kernel that works is to run the following commands in this particular order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake linux-imx -c cleansstate &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake linux-imx -c menuconfig &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(change anything)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake linux-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt; The cleansstate removes &lt;SPAN style="font-family: courier new,courier;"&gt;…/3.10.53-r0/git/.config&lt;/SPAN&gt; (and a lot of others files).&lt;/LI&gt;&lt;LI&gt;Then menuconfig populates &lt;SPAN style="font-family: courier new,courier;"&gt;…/3.10.53-r0/git&lt;/SPAN&gt; before running the terminal to allow changes.&lt;/LI&gt;&lt;LI&gt;The build process picks up the changed &lt;SPAN style="font-family: courier new,courier;"&gt;…/3.10.53-r0/git/.config&lt;/SPAN&gt; and builds the Kernel.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While this system works I realize that I’m changing a file in the &lt;SPAN style="font-family: courier new,courier;"&gt;./tmp&lt;/SPAN&gt; directory, so it will be lost when I clean my build. I guess the advantage of copying it to the &lt;SPAN style="font-family: courier new,courier;"&gt;../source&lt;/SPAN&gt; directory is that I could then have my own git branch and keep track of my changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would like to know what exactly my “copy” command should be, eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cp tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.53-r0/git/.config&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &amp;lt;what should this be???&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on changing the Kernel configurations correctly would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 15:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408912#M61036</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-09-24T15:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408913#M61037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chris Hossack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You are not alone on this, as you pointed out, in part because Yocto is more a means of distribution of customized images (like BSPs) than a development tool. Yocto does not have a way to track changes on the source code so I would recommend downloading the kernel source code and working there building with the toolchain manually and once the necessary changes are ready writing a recipe that will apply these changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That being said I have also been unable to find the source for 3.10.53 inside the recipes-kernel folder. I’ll look for more information on what could be the reason for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 19:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408913#M61037</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2015-09-29T19:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408914#M61038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thank you for your reply. At the moment I'm just looking at evaluating the imx6 platform and I just need to prove I can build my PCI drivers on the target ( &lt;A href="https://community.nxp.com/message/572359"&gt;Building a Kernel driver on imx6 sabre target.&lt;/A&gt;​ ) and run some hardware correctly. But I guess I will have to read how to create my own recipes. I just wanted to know what I was missing when I followed the above method from the documentation.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 07:55:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408914#M61038</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-09-30T07:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408915#M61039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use Yocto BSP setup for Rootfs, kernel and u-boot generation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can build kernel and u-boot separately using meta-toolchail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You can download the kernel from above like, build the kernel manually and update the zImage or uImage.&lt;/P&gt;&lt;P&gt;Once the all modification is completed you can generate patches and use these patched with yocto recipe.&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>Wed, 30 Sep 2015 08:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408915#M61039</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-09-30T08:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408916#M61040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sarurabh,&lt;/P&gt;&lt;P&gt;that sounds easy.. once you have done it a couple of times ;-)&lt;/P&gt;&lt;P&gt;But for a first time newbie are there any step by step instructions on how to do all of that?&lt;/P&gt;&lt;P&gt;I can find snippets for different bits of this process, but rather than bashing my head against a wall for the next couple of days it would be really nice for somebody who knows what they are doing to generate a newbie guide.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 08:43:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408916#M61040</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-09-30T08:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408917#M61041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can look &lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/previewBody/95096-102-10-7847/yocto_tutorial.pdf" title="https://community.freescale.com/servlet/JiveServlet/previewBody/95096-102-10-7847/yocto_tutorial.pdf"&gt;https://community.freescale.com/servlet/JiveServlet/previewBody/95096-102-10-7847/yocto_tutorial.pdf&lt;/A&gt; &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>Wed, 30 Sep 2015 08:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408917#M61041</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-09-30T08:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408918#M61042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Saurabh,&lt;/P&gt;&lt;P&gt;thank you. This looks very interesting. I will read this and give it a go. I'll get back to you next week.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 08:35:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408918#M61042</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-10-02T08:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408919#M61043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So after getting some very good responses I decided to create my own layer and change the kernel configurations the correct way (well, I think so anyway…)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So repeating my initial steps I create a image based branch imx-3.10.53-1.1.0_ga.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ mkdir &lt;SPAN style="font-family: courier new,courier;"&gt;fsl-release-bsp-3-10-53&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ cd &lt;SPAN style="font-family: courier new,courier;"&gt;fsl-release-bsp-3-10-53&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.53-1.1.0_ga&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ repo sync&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11 -e x11&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;$ bitbake core-image-base&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;This image works fine. I can power up my Sabre platform.&lt;/P&gt;&lt;P&gt;I now create my new layer called meta-fsl-pci&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;cd ../source&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;$ yocto-layer create fsl-pci&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Please enter the layer priority you'd like to use for the layer: [default: 6]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Would you like to have an example recipe created? (y/n) [default: n] y&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Please enter the name you'd like to use for your example recipe: [default: example]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Would you like to have an example bbappend file created? (y/n) [default: n] y&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Please enter the name you'd like to use for your bbappend file: [default: example]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Please enter the version number you'd like to use for your bbappend file (this should match the recipe you're appending to): [default: 0.1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;New layer created in meta-fsl-pci.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;Don't forget to add it to your BBLAYERS (for details see meta-fsl-pci\README).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;cd ../build-x11&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I ‘m not sure why the magic number 6!! I want my layer to have the highest priority, so why not make it 99? &lt;/LI&gt;&lt;LI&gt;Also since I’m not adding any example app to the RFS I don’t think I need the example recipe or bbapend file.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any comments?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then update ./conf/bblayers.conf with my new layer.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-fsl-demos "&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;BBLAYERS += " ${BSPDIR}/sources/meta-fsl-pci "&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BBLAYERS += " ${BSPDIR}/sources/meta-browser "&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I verify this bit has worked by using the following command&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;bitbake-layers show-layers&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;layer&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;&amp;nbsp;&amp;nbsp; path&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; priority&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;==========================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/poky/meta&amp;nbsp; 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-yocto&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/poky/meta-yocto&amp;nbsp; 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-oe&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; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-openembedded/meta-oe&amp;nbsp; 6&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-fsl-arm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-fsl-arm&amp;nbsp; 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-fsl-arm-extra&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-fsl-arm-extra&amp;nbsp; 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-fsl-demos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-fsl-demos&amp;nbsp; 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-fsl-arm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-fsl-bsp-release/imx/meta-fsl-arm&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-fsl-demos&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-fsl-bsp-release/imx/meta-fsl-demos&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&lt;STRONG&gt;meta-fsl-pci&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-fsl-pci&amp;nbsp; 6 &amp;lt;-- Here's my layer&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-browser&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-browser&amp;nbsp; 7&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-gnome&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-openembedded/meta-gnome&amp;nbsp; 7&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-networking&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-openembedded/meta-networking&amp;nbsp; 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-ruby&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-openembedded/meta-ruby&amp;nbsp; 7&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-qt5&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; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-qt5&amp;nbsp; 7&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-fsl-qt5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-fsl-bsp-release/imx/meta-fsl-qt5&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;meta-fsl-bluez&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/data/imx6/fsl-release-bsp-3-10-53/sources/meta-fsl-bsp-release/imx/meta-fsl-bluez&amp;nbsp; 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now create a layer directory structure to support my PCI modifications to the kernel:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;mkdir -p ../sources/meta-fsl-pci/recipes-kernel/linux/linux-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now create my &lt;SPAN style="font-family: courier new,courier;"&gt;linux-imx_3.10.17.bbappend&lt;/SPAN&gt; that matches the path in meta-fsl-arm, eg&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ls ../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.10.17&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cat ../sources/meta-fsl-pci/recipes-kernel/linux/linux-imx_3.10.17.bbappend&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SRC_URI += "file://pci.cfg"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I think "${THISDIR}/${PN}:" expands out to ../sources/meta-fsl-pci/recipes-kernel/linux/linux-imx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now create my pci.cfg file.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bitbake linux-imx -c cleansstate&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bitbake linux-imx -c menuconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;enable pci configurations&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bitbake linux-imx -c diffconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Config fragment has been dumped into:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; /mnt/data/imx6/fsl-release-bsp-3-10-53/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.53-r0/fragment.cfg&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then copy to pci.cfg&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cp /mnt/data/imx6/fsl-release-bsp-3-10-53/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.53-r0/fragment.cfg ../sources/meta-fsl-pci/recipes-kernel/linux/linux-imx/pci.cfg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then clean and rebuild&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bitbake linux-imx -c cleansstate (do I need to do this or is Yocoto clever enough)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;bitbake linux-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I power up with the new image my PCI configurations changes are missing ;-(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please tell me what I'm doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 09:58:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408919#M61043</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-10-07T09:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408920#M61044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;I am suffering the same issue now. No matter where the defconfig/.cfig is located. Kernel .config file has never updated according to defconfig/.cfg with command "bitbake -c compile -f linux-imx". Do you solve the problem?&lt;/P&gt;&lt;P&gt;I also find some information from &lt;A href="http://www.yoctoproject.org/docs/latest/kernel-dev/kernel-dev.html" title="http://www.yoctoproject.org/docs/latest/kernel-dev/kernel-dev.html"&gt;Yocto Project Linux Kernel Development Manual&lt;/A&gt; . But these steps don't work on my environment either.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 08:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408920#M61044</guid>
      <dc:creator>matt0308</dc:creator>
      <dc:date>2015-10-13T08:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408921#M61045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I haven't solved this problem yet either ;-(&lt;/P&gt;&lt;P&gt;I've read most of the manuals that describe how to do this, but with no luck. I'm sure its easy once you know how, but nobody has told me.&lt;/P&gt;&lt;P&gt;I'm still working on this and I'll post my answer, if I find one.&lt;/P&gt;&lt;P&gt;If you manage to work it out please let me know.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 10:12:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408921#M61045</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-10-13T10:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408922#M61046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to create your custom layer. Create your patched with respect to kernel.&lt;/P&gt;&lt;P&gt;If you have added your custom defconfig file name like "mydefconfig"&lt;/P&gt;&lt;P&gt;than add following to your local.config file.&lt;/P&gt;&lt;P&gt;FSL_KERNEL_DEFCONFIG = "mydefconfig"&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>Tue, 13 Oct 2015 12:40:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408922#M61046</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-10-13T12:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408923#M61047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Saurabh,&lt;/P&gt;&lt;P&gt;thank you for your answer. I thought I had to create a .cfg file which then updates the deconfig (which seems to be copied from imx_v7_defconfig as describe in linux-imx_3.10.53.bb), which is then used to generate .config with my changes.&lt;/P&gt;&lt;P&gt;Originally I created a linux-imx_3.10.17.bbappend (see previous comment) but nothing happened. I have found that if I rename this to linux-imx_3.10.53 my pci.cfg is copied to the work directory (next to the defconfig ((copied from imx_v7_defconfig)) but still the .config are missing my changes ;-(&lt;/P&gt;&lt;P&gt;So should I be using a mydefconfig or a .cfg? and what is the difference?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 13:50:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408923#M61047</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-10-13T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408924#M61048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;so by changing the name of&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;../sources/meta-fsl-pci/recipes-kernel/linux/linux-imx_3.10.17.bbappend&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;../sources/meta-fsl-pci/recipes-kernel/linux/linux-imx_3.10.53.bbappend&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;which reflects the actual kernel I'm building, I now see my pci.cfg file here next to a defconfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;./tmp/work/imx6sabresd-poky-linux-gnueabi/linux-imx/3.10.53-ro/pci.cfg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;But my changes are still missing from (&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;after running cleansstate and menuconfig)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;./tmp/work/imx6sabresd-poky-linux-gnueabi/linux-imx/3.10.53-ro/git/.config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;So after some more searching I found the following link which suggests the .cfg is broken for freescale imx.&lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;A href="http://yocto.yoctoproject.narkive.com/OePFc5zo/kernel-config-fragments-are-not-applied#post9" title="http://yocto.yoctoproject.narkive.com/OePFc5zo/kernel-config-fragments-are-not-applied#post9"&gt;Kernel config fragments are not applied&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruce Ashfield suggests a work around and a fix for Yocto 1.7. I've tried the suggestion, eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;inherit kernel&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;COMPATIBLE_MACHINE = "(mx6)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SRC_URI += "file://pci.cfg"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SRCREV_machine = "${SRCREV}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but that didn't work either, and I'm already using Fido 1.8&lt;/P&gt;&lt;P&gt;The links are a bit old so I'm hoping I'm still doing something silly. Does anybody have an answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 19:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408924#M61048</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-10-13T19:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408925#M61049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hi Saurabh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I'd followed your suggestion to do the test but fail. Just wondering where to put the "mydefconfig"? Currently, I put "mydefconfig" in $(yocto)/sources/meta-mylayer/recipes-linux/linux/linux-imx-3.10.53/. Should I move it to somewhere else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 04:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408925#M61049</guid>
      <dc:creator>matt0308</dc:creator>
      <dc:date>2015-10-14T04:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408926#M61050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiuan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must first generate patch for your defconfig.&lt;/P&gt;&lt;P&gt;Put that patch in your layer.&lt;/P&gt;&lt;P&gt;Run Bitbake linux-imx.&lt;/P&gt;&lt;P&gt;Verify your defconfig is available in yocto build kernel. If yes than you need to update the local.config file.&lt;/P&gt;&lt;P&gt;and build again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 05:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408926#M61050</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-10-14T05:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408927#M61051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;Thanks for your information, I did generate defconfig/mytest.cfg, put it into my layer and run "bitbake -c compile -f linux-imx" again. But the defconfig is not copy to git/.config. Where I also observed that mytest.cfg and defconfig are all copy to the working directory. I can patch mytest.cfg manually by "&lt;SPAN class="pln" style="color: #000000;"&gt;scripts&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;kconfig&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;merge_config&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;sh", b&lt;/SPAN&gt;ut Yocto didn't patch anything.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 06:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408927#M61051</guid>
      <dc:creator>matt0308</dc:creator>
      <dc:date>2015-10-14T06:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408928#M61052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please confirm that your defconfig file is available in .git/arch/arm/configs/mydefconfig.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 06:16:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408928#M61052</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-10-14T06:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408929#M61053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;defconfig didn't copy to .git/arch/arm/configs/mydefconfig. After "bitbake -c compile -f linux-imx", ${S}/../defconfig is replaced by imx_v7_defconfig which is instructed by the following code snippet in sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.53.bb. I wonder if I have to add some code snippet, like "do_configure_prepend()", to my linux-imx_3.10.53.bbappend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do_configure_prepend() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; # copy latest defconfig for imx_v7_defoonfig to use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; cp ${S}/arch/arm/configs/imx_v7_defconfig ${S}/.config&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; cp ${S}/arch/arm/configs/imx_v7_defconfig ${S}/../defconfig&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 06:50:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408929#M61053</guid>
      <dc:creator>matt0308</dc:creator>
      <dc:date>2015-10-14T06:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408930#M61054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want some *robust* tool, which is also good for development, go for ptxdist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, why are you using such an ancient kernel ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 10:43:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408930#M61054</guid>
      <dc:creator>maxmustermann</dc:creator>
      <dc:date>2015-10-16T10:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Kernel configuration for i.MX6 SABRE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408931#M61055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we're using the fsl layers that contain the device trees, drivers, tweaks, for the sabre platform. I'm not an expect on Kernels, so I'm just using the code freescale have tested with their boards. It's a bit of a cop out, but I don't think changing the kernel will solve my bitbake issues ;-(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 15:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Changing-the-Kernel-configuration-for-i-MX6-SABRE/m-p/408931#M61055</guid>
      <dc:creator>chrishossack</dc:creator>
      <dc:date>2015-10-16T15:02:54Z</dc:date>
    </item>
  </channel>
</rss>

