<?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>ColdFire/68K Microcontrollers and Processors中的主题 LTIB - Steps to build custom kernel</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/LTIB-Steps-to-build-custom-kernel/m-p/150241#M3784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm taking a crack at building a custom kernel within LTIB 2010-09-19 for M54455EVB, because I'm going to need support for Wi-Fi cards that aren't supported (or stable) in 2.6.29.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I pulled down a kernel source archive and unzipped it, then went into LTIB and specified "Local Linux directory build", pointing to the kernel source directory.&amp;nbsp; I also enabled the option to build out of tree and specified a separate directory for that.&amp;nbsp; I also specified the option to Configure the kernel (duh), then exited LTIB's menuconfig.&amp;nbsp; At that point, LTIB proceeded to start a build (probably leading up to doing the kernel's menuconfig), but bombed out immediately, complaining that "PKG_KERNEL_PRECONFIG: must be set to the name of your .config file".&amp;nbsp; I looked in main.lkc and saw the block where PKG_KERNEL_PRECONFIG was being set based on kernel and platform selection, so I cloned one of the config files and added in this line to main.lkc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default "linux-custom-m54455evb.config" if KERNEL_DIR_BUILD &amp;amp;&amp;amp; PLATFORM = "m54455evb"&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;That seemed to satisfy LTIB and allowed me to run the kernel menuconfig (and it was the menuconfig belonging to the new kernel source).&amp;nbsp; After exiting that, it began the kernel build but almost immediately failed, with the error "No rule to make target `uImage'.&amp;nbsp; Stop."&amp;nbsp; I tried again, specifying not to build out of tree, but got the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone had any success building a newer kernel via LTIB?&amp;nbsp; Any basic steps or techniques I need to use?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2011 06:26:31 GMT</pubDate>
    <dc:creator>dmarks_ls</dc:creator>
    <dc:date>2011-07-15T06:26:31Z</dc:date>
    <item>
      <title>LTIB - Steps to build custom kernel</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/LTIB-Steps-to-build-custom-kernel/m-p/150241#M3784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm taking a crack at building a custom kernel within LTIB 2010-09-19 for M54455EVB, because I'm going to need support for Wi-Fi cards that aren't supported (or stable) in 2.6.29.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I pulled down a kernel source archive and unzipped it, then went into LTIB and specified "Local Linux directory build", pointing to the kernel source directory.&amp;nbsp; I also enabled the option to build out of tree and specified a separate directory for that.&amp;nbsp; I also specified the option to Configure the kernel (duh), then exited LTIB's menuconfig.&amp;nbsp; At that point, LTIB proceeded to start a build (probably leading up to doing the kernel's menuconfig), but bombed out immediately, complaining that "PKG_KERNEL_PRECONFIG: must be set to the name of your .config file".&amp;nbsp; I looked in main.lkc and saw the block where PKG_KERNEL_PRECONFIG was being set based on kernel and platform selection, so I cloned one of the config files and added in this line to main.lkc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; default "linux-custom-m54455evb.config" if KERNEL_DIR_BUILD &amp;amp;&amp;amp; PLATFORM = "m54455evb"&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;That seemed to satisfy LTIB and allowed me to run the kernel menuconfig (and it was the menuconfig belonging to the new kernel source).&amp;nbsp; After exiting that, it began the kernel build but almost immediately failed, with the error "No rule to make target `uImage'.&amp;nbsp; Stop."&amp;nbsp; I tried again, specifying not to build out of tree, but got the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone had any success building a newer kernel via LTIB?&amp;nbsp; Any basic steps or techniques I need to use?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 06:26:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/LTIB-Steps-to-build-custom-kernel/m-p/150241#M3784</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2011-07-15T06:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Steps to build custom kernel</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/LTIB-Steps-to-build-custom-kernel/m-p/150242#M3785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think using a custom kernel is really an easy way, as ltib includes lot of kernel specific patches, not included in the mainstream kernel.&lt;/P&gt;&lt;P&gt;If you just have to include different drivers, the best path could be to backport the drivers in the ltib specific kernel.&lt;/P&gt;&lt;P&gt;You can just work on the expanded kernel tree, checking the 'leave sources...' flag in the build configuration, and includeing the missing driver under rpm/BUILD/linux/kernel/drivers.&lt;/P&gt;&lt;P&gt;When you are satisfied, you can then ask ltib to automatically create a new patch for your driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 04:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/LTIB-Steps-to-build-custom-kernel/m-p/150242#M3785</guid>
      <dc:creator>maxhexis</dc:creator>
      <dc:date>2011-07-19T04:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Steps to build custom kernel</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/LTIB-Steps-to-build-custom-kernel/m-p/150243#M3786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, we've decided to go the backporting route.&amp;nbsp; We need to support late-model Wi-Fi cards like atk9k, but because Freescale doesn't bother to submit their patches to Linus, we'd have to re-patch a new kernel with the 96 patches that are currently included in the M54455EVB BSP.&amp;nbsp; So we're using 2.6.29 with compat_wireless to shoehorn the new drivers into the old kernel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 00:45:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/LTIB-Steps-to-build-custom-kernel/m-p/150243#M3786</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2011-07-29T00:45:27Z</dc:date>
    </item>
  </channel>
</rss>

