<?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のトピックRe: Coldfire 547x, Linux and big memory.</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162667#M5316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;This is a good news for us. Can Freescale provide me a snapshot of the current source code?&lt;BR /&gt;I'm working on the kernel development and I like to avoid to replicate the effort.&lt;BR /&gt;&lt;BR /&gt;Thanks and best regards,&lt;BR /&gt;&lt;BR /&gt;luigi&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Jun 2008 03:19:01 GMT</pubDate>
    <dc:creator>comio</dc:creator>
    <dc:date>2008-06-08T03:19:01Z</dc:date>
    <item>
      <title>Coldfire 547x, Linux and big memory.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162665#M5314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;HI Freescale People,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already posted this message on u-boot-users ML:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi List,&lt;BR /&gt;Hi Tsi-Ching Liew,&lt;BR /&gt;&lt;BR /&gt;I'm using u-boot 1.3.2 (trunk) on my application in order to boot the&lt;BR /&gt;freescale linux kernel for mcf547x cpus. My application has a lot of&lt;BR /&gt;memory (256MB) and this causes difficulties to start the linux kernel.&lt;BR /&gt;&lt;BR /&gt;The Head.S code of the mcf547x Linux Kernel allows a one-to-one TLB map&lt;BR /&gt;for the first 16MB of memory (mcf547x can use up to 1M for page). From&lt;BR /&gt;this observation it is mandatory that U-BOOT should call the kernel&lt;BR /&gt;allowing all structures (board descr., intrd, env and command line) onto&lt;BR /&gt;the first 16M of physical RAM.&lt;BR /&gt;&lt;BR /&gt;The solutions can be:&lt;BR /&gt;&lt;BR /&gt;- to use the env variables bootm_low = 0 and bootm_size = 0x1000000&lt;BR /&gt;(16M)&lt;BR /&gt;- modify the code of do_bootm function in order to limitate mem_size to&lt;BR /&gt;16M&lt;BR /&gt;- Pray the Freescale to modify the kernel code in order to use a better&lt;BR /&gt;and more flexible initialization code.&lt;BR /&gt;&lt;BR /&gt;I'm studying for smart modifications for Kernel and U-Boot (that hasn't&lt;BR /&gt;guilt).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;luigi&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I think that the Head.S code should be re-written in order to manage the memory in a more flexible manner. In addition to my consideration (posted on U-Boot list) I modified the stack initialization and the parameters&amp;nbsp; pointers management in order to copy (before to start the memory management) the parameters pointers from the passed stack (that U-Boot initializes on the end of the memory) to the early stack initialized by Head.S code. This avoid to lost the visibility of the pointers if them are placed at the end of memory (with address&amp;gt;16M). This doesn't resolve all the problems, of course.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see a serious limitation on the ramdisk management... anyway the freescale kernel code (for mcf5445x) ignores the parameters passed by boot-loader except the cmdline... (it fill a local static structure that seems not used by other code).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that my comments and Federico's comments (that has discovered a lot of these issues) help Freescale to provide a more reliable and better linux kernel for mcf547x and mcf544xx CPUs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My 2 cents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Luigi Mantellini&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by comio on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-06-07&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;02:05 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jun 2008 19:03:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162665#M5314</guid>
      <dc:creator>comio</dc:creator>
      <dc:date>2008-06-07T19:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Coldfire 547x, Linux and big memory.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162666#M5315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;For the next BSP release the memory mapping has changed.&amp;nbsp; The kernel now has virt mapped to phys for ram, and ACRs setup to map sdram.&amp;nbsp; So there is no longer a need for TLB mappings of the first 16M in kernel space.&amp;nbsp; The kernel base address 0xC0000000 has now moved to SDRAM_BASE.&lt;BR /&gt;&lt;BR /&gt;--Kurt&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2008 02:18:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162666#M5315</guid>
      <dc:creator>kmahan</dc:creator>
      <dc:date>2008-06-08T02:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Coldfire 547x, Linux and big memory.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162667#M5316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;This is a good news for us. Can Freescale provide me a snapshot of the current source code?&lt;BR /&gt;I'm working on the kernel development and I like to avoid to replicate the effort.&lt;BR /&gt;&lt;BR /&gt;Thanks and best regards,&lt;BR /&gt;&lt;BR /&gt;luigi&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2008 03:19:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162667#M5316</guid>
      <dc:creator>comio</dc:creator>
      <dc:date>2008-06-08T03:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Coldfire 547x, Linux and big memory.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162668#M5317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;The previously mentioned 2.6.24 patchset for M547x/M548x has been pushed out to Bitshrine.&amp;nbsp; These correspond to the kernel spec file:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kernel-2.6.24-m547x_8x.spec.in&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;FONT size="3"&gt;Note that this is NOT the current code.&amp;nbsp; This was an internal release.&amp;nbsp; One major bug exists in this code drop -- ioremap has some serious issues that have been fixed in the 2.6.25 version.&amp;nbsp; Also not much in the way of drivers are handled.&amp;nbsp; Please remember that this was just an internal snapshot of my dev tree.&amp;nbsp; &lt;I&gt;It isn't a supported release.&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;If you do find bugs please drop me a message.&lt;BR /&gt;&lt;BR /&gt;The upcoming BSP is on the 2.6.25 codebase.&lt;/FONT&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 05:04:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162668#M5317</guid>
      <dc:creator>kmahan</dc:creator>
      <dc:date>2008-06-11T05:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Coldfire 547x, Linux and big memory.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162669#M5318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi kmahan,&lt;BR /&gt;&lt;BR /&gt;thanks for the upload.&lt;BR /&gt;By a fast check, I make the same changes on my port. Anyway the patch "kernphys" is very interesting. I will integrate this on my kernel asap... waiting for the next Freescale release.&lt;BR /&gt;&lt;BR /&gt;I have a simple question: Why Doesn't Freescale share the source code on kernel.org repositories?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;luigi&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 17:54:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162669#M5318</guid>
      <dc:creator>comio</dc:creator>
      <dc:date>2008-06-11T17:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Coldfire 547x, Linux and big memory.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162670#M5319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Luigi,&lt;BR /&gt;&lt;BR /&gt;The plan is to get patches submitted after this next series of BSP releases.&amp;nbsp; I've been working on a set of patches, just need more time in the day.&amp;nbsp; Part of the problem is that I have to maintain multiple kernel versions -- since the BSPs are currently targetted against 2.6.25 but the patchset has to be against the head (currently 2.6.26, but that shifts).&lt;BR /&gt;&lt;BR /&gt;So yes -- I intend to get v4 coldfire into mainline -- hopefully later this year.&lt;BR /&gt;&lt;BR /&gt;--Kurt&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 22:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162670#M5319</guid>
      <dc:creator>kmahan</dc:creator>
      <dc:date>2008-06-11T22:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Coldfire 547x, Linux and big memory.</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162671#M5320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;This a great news.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your answer.&lt;BR /&gt;&lt;BR /&gt;luigi&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 22:56:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Coldfire-547x-Linux-and-big-memory/m-p/162671#M5320</guid>
      <dc:creator>comio</dc:creator>
      <dc:date>2008-06-11T22:56:56Z</dc:date>
    </item>
  </channel>
</rss>

