<?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 &amp;quot;Custom&amp;quot; kernel HOWTO anywhere? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/quot-Custom-quot-kernel-HOWTO-anywhere/m-p/171548#M5656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running into a problem that I cannot find a solution too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Starting with the IMX25PDK source as a jumping off point.&amp;nbsp; I can build the "stock" kernel, utils etc just fine.&amp;nbsp; However I am needing to add files to the kernel for our custom board we are developing.&amp;nbsp; When I rebuild the kernel with the new files, LTIB deletes the linux-2.6.31 directory and decompresses the original kernel - hence wiping out our custom board files(source).&amp;nbsp; I tried adding the command line option "--leavesrc" but it appears to have no effect.&amp;nbsp; It &lt;SPAN style="text-decoration: underline;"&gt;always&lt;/SPAN&gt; wipes out the linux kernel source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm contemplating using the "custom" kernel feature but the LTIB documentation is kinda sparse on how to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did find this thread :&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.gnu.org/archive/html/ltib/2010-05/msg00014.html"&gt;http://lists.gnu.org/archive/html/ltib/2010-05/msg00014.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it didn't help...our custom files keep getting deleted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found this :&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.bitshrine.org/autodocs/LtibFaq.html#ref_24"&gt;http://www.bitshrine.org/autodocs/LtibFaq.html#ref_24&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm investigating this attempt, but if anyone has any advice/links, etc, it would be MUCH appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2011 15:48:58 GMT</pubDate>
    <dc:creator>Don_ng</dc:creator>
    <dc:date>2011-09-22T15:48:58Z</dc:date>
    <item>
      <title>"Custom" kernel HOWTO anywhere?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-Custom-quot-kernel-HOWTO-anywhere/m-p/171548#M5656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running into a problem that I cannot find a solution too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Starting with the IMX25PDK source as a jumping off point.&amp;nbsp; I can build the "stock" kernel, utils etc just fine.&amp;nbsp; However I am needing to add files to the kernel for our custom board we are developing.&amp;nbsp; When I rebuild the kernel with the new files, LTIB deletes the linux-2.6.31 directory and decompresses the original kernel - hence wiping out our custom board files(source).&amp;nbsp; I tried adding the command line option "--leavesrc" but it appears to have no effect.&amp;nbsp; It &lt;SPAN style="text-decoration: underline;"&gt;always&lt;/SPAN&gt; wipes out the linux kernel source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm contemplating using the "custom" kernel feature but the LTIB documentation is kinda sparse on how to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did find this thread :&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.gnu.org/archive/html/ltib/2010-05/msg00014.html"&gt;http://lists.gnu.org/archive/html/ltib/2010-05/msg00014.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it didn't help...our custom files keep getting deleted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found this :&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.bitshrine.org/autodocs/LtibFaq.html#ref_24"&gt;http://www.bitshrine.org/autodocs/LtibFaq.html#ref_24&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm investigating this attempt, but if anyone has any advice/links, etc, it would be MUCH appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 15:48:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-Custom-quot-kernel-HOWTO-anywhere/m-p/171548#M5656</guid>
      <dc:creator>Don_ng</dc:creator>
      <dc:date>2011-09-22T15:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: "Custom" kernel HOWTO anywhere?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-Custom-quot-kernel-HOWTO-anywhere/m-p/171549#M5657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;should be a way to fix LTIB, but I don´t know it know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;YOu can copy your kernel source code to somewhere else:&lt;/P&gt;&lt;P&gt;cp &amp;lt;ltib&amp;gt;/rpm/BUILD/linux /home/me/my_kernel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and configure LTIB to use your new location:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./ltib -c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Choose your Kernel&lt;/P&gt;&lt;P&gt;&amp;nbsp; ( /home/me/my_kernel&amp;nbsp;) Local Linux directory build&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 14:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-Custom-quot-kernel-HOWTO-anywhere/m-p/171549#M5657</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2011-09-23T14:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: "Custom" kernel HOWTO anywhere?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-Custom-quot-kernel-HOWTO-anywhere/m-p/171550#M5658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daiane -- I'm looking into that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking into the route of running ltib to build all the package, build the kernel (stock),&amp;nbsp; THEN add my files and then do a "ltib -m scbuild -p kernel".&amp;nbsp; That way I can (re)configure the kernel, and build it without it wiping all my changes out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our pinout is still fluctuating, and we may need to add or remove ports (like I2C, SPI) and I don't want to have to keep copying my changes in every time we have a very minor kernel tweek.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CITE&gt;Daiane Angolini said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/custom-kernel-howto-anywhere?groupUrl=ltib&amp;amp;xg_source=activity#4103961Comment35169"&gt;&lt;DIV&gt;&lt;P&gt;should be a way to fix LTIB, but I don´t know it know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;YOu can copy your kernel source code to somewhere else:&lt;/P&gt;&lt;P&gt;cp &amp;lt;ltib&amp;gt;/rpm/BUILD/linux /home/me/my_kernel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and configure LTIB to use your new location:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./ltib -c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Choose your Kernel&lt;/P&gt;&lt;P&gt;&amp;nbsp; ( /home/me/my_kernel&amp;nbsp;) Local Linux directory build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 14:18:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-Custom-quot-kernel-HOWTO-anywhere/m-p/171550#M5658</guid>
      <dc:creator>Don_ng</dc:creator>
      <dc:date>2011-09-23T14:18:41Z</dc:date>
    </item>
  </channel>
</rss>

