<?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>i.MX ProcessorsのトピックKernel Patching</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-Patching/m-p/161362#M3430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The occasional patch from Freescale for the iMX28 has posed some questions on how to patch the kernel.&lt;/P&gt;&lt;P&gt;I see in the ltib/rpm/BUILD/linux/patches stores a bunch of patches and I'd like to know how others are patching their kernels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're running the 2.6.35 kernel and would like to hear some comments on how others have patched their kernel and manage the source control of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2012 05:36:58 GMT</pubDate>
    <dc:creator>TimWoodham</dc:creator>
    <dc:date>2012-05-16T05:36:58Z</dc:date>
    <item>
      <title>Kernel Patching</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-Patching/m-p/161362#M3430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The occasional patch from Freescale for the iMX28 has posed some questions on how to patch the kernel.&lt;/P&gt;&lt;P&gt;I see in the ltib/rpm/BUILD/linux/patches stores a bunch of patches and I'd like to know how others are patching their kernels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're running the 2.6.35 kernel and would like to hear some comments on how others have patched their kernel and manage the source control of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 05:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-Patching/m-p/161362#M3430</guid>
      <dc:creator>TimWoodham</dc:creator>
      <dc:date>2012-05-16T05:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Patching</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-Patching/m-p/161363#M3431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know your linux/patches directory contains a number of patch files and a file called 'series'. E.g.:&lt;/P&gt;&lt;P&gt;0001-foo1.patch&lt;/P&gt;&lt;P&gt;0002-foo2.patch&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;series&lt;/P&gt;&lt;P&gt;Is this correct? The file 'series' is a text file containing the list of the 000x-... patch files?&lt;/P&gt;&lt;P&gt;If so, these are the patches extracted from git which have to go on top of the stock 2.6.35 kernel and which can be handled with a tool called 'quilt' and/or git.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For quilt see&lt;/P&gt;&lt;P&gt;&lt;A href="http://savannah.nongnu.org/projects/quilt" rel="nofollow" target="_blank"&gt;http://savannah.nongnu.org/projects/quilt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://suse.de/~agruen/quilt.pdf" rel="nofollow" target="_blank"&gt;http://suse.de/~agruen/quilt.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before applying the patches to the kernel, clone the stock base kernel you need (e.g. 2.6.35) by git from kernel.org. Then copy the 'patches' directory containing the 000x-... patch files and the series file into the top level kernel directory. Now you have to options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Quilt:&lt;/P&gt;&lt;P&gt;quilt push -a&lt;/P&gt;&lt;P&gt;which should result in applying all the patches to the kernel.org kernel. Note that you can undo the patches with 'quilt pop -a'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) git:&lt;/P&gt;&lt;P&gt;git am patches/*&lt;/P&gt;&lt;P&gt;which should result in a kernel with all the patches applied in git.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And maybe you have a third option:&lt;/P&gt;&lt;P&gt;Check the Freescale git&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/" rel="nofollow" target="_blank"&gt;http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;if it has a branch with all your patches already applied. The you can skip applying the patches on your own. Instead, directly check out the branch you like which has already all your patches applied.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 05:38:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-Patching/m-p/161363#M3431</guid>
      <dc:creator>DirkBehme</dc:creator>
      <dc:date>2012-05-17T05:38:51Z</dc:date>
    </item>
  </channel>
</rss>

