<?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のトピックChanging Base Address of Boot Flash</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Changing-Base-Address-of-Boot-Flash/m-p/130955#M816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported&amp;nbsp;from the WildRice - Coldfire forum.&amp;nbsp; Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages.&amp;nbsp; The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions.&amp;nbsp; Freescale assumes no responsibility whatsoever with respect to Posted Material.&amp;nbsp; For additional information, please see the&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fabstract%2Fhelp_page%2FTERMSOFUSE.html" rel="nofollow" target="_blank"&gt;&lt;SPAN style=": ; color: #000000;"&gt;Terms of Use - Message Boards and Community Forums&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style=";"&gt;.&amp;nbsp; Thank You and Enjoy the Forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;HR /&gt;Nov 4, 2005, 7:43 AM&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Post #1 of 3 (29 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;[ColdFire] Changing Base Address of Boot Flash&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I'm working with the 5475EVB and the LinuxBSP provided by metrowerks. I&lt;BR /&gt;am trying to get colilo to boot without needing to use dBUG first.&lt;BR /&gt;However, the version of colilo that came with the BSP assumes that dBUG&lt;BR /&gt;has done a lot of the initialization already (flex bus, SDRAM, etc.), so&lt;BR /&gt;I am adding that initialization back into colilo.&lt;/DIV&gt;&lt;DIV&gt;I have a question about the boot process. When the coldfire boots, it&lt;BR /&gt;uses the reset values for CS0 and boots from the boot flash. At some&lt;BR /&gt;point in dBUG, the code changes the CS0 base address to 0xFFE00000. It&lt;BR /&gt;is my understanding that we're running from flash at that point, so&lt;BR /&gt;wouldn't that make the program counter invalid? The PC should contain a&lt;BR /&gt;value based on the original CS0 base address (0x00000000), which is no&lt;BR /&gt;longer valid. What am I missing?&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;BR /&gt;Steve&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Nov 4, 2005, 8:31 AM&lt;/DIV&gt;&lt;DIV&gt;Post #2 of 3 (29 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] Changing Base Address of Boot Flash [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;It is magic, during start up and until you set the CS0(i think) ffe00000&lt;BR /&gt;and 0 are the same. It has been a long time so i don't remember any&lt;BR /&gt;more.&lt;BR /&gt;Tom&lt;BR /&gt;On Fri, 2005-11-04 at 10:43 -0500, Steve Joiner wrote:&lt;BR /&gt;&amp;gt; I'm working with the 5475EVB and the LinuxBSP provided by metrowerks. I&lt;BR /&gt;&amp;gt; am trying to get colilo to boot without needing to use dBUG first.&lt;BR /&gt;&amp;gt; However, the version of colilo that came with the BSP assumes that dBUG&lt;BR /&gt;&amp;gt; has done a lot of the initialization already (flex bus, SDRAM, etc.), so&lt;BR /&gt;&amp;gt; I am adding that initialization back into colilo.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; I have a question about the boot process. When the coldfire boots, it&lt;BR /&gt;&amp;gt; uses the reset values for CS0 and boots from the boot flash. At some&lt;BR /&gt;&amp;gt; point in dBUG, the code changes the CS0 base address to 0xFFE00000. It&lt;BR /&gt;&amp;gt; is my understanding that we're running from flash at that point, so&lt;BR /&gt;&amp;gt; wouldn't that make the program counter invalid? The PC should contain a&lt;BR /&gt;&amp;gt; value based on the original CS0 base address (0x00000000), which is no&lt;BR /&gt;&amp;gt; longer valid. What am I missing?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Thanks,&lt;BR /&gt;&amp;gt; Steve&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;Tom Burrell&lt;BR /&gt;Southwest Microwave&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Nov 6, 2005, 1:42 PM&lt;/DIV&gt;&lt;DIV&gt;Post #3 of 3 (26 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] Changing Base Address of Boot Flash [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Hi Steve,&lt;/DIV&gt;&lt;DIV&gt;Steve Joiner wrote:&lt;BR /&gt;&amp;gt; Wow! Matt, thanks so much for this info, this is a huge help. This is&lt;BR /&gt;&amp;gt; a very nicely packaged BSP.&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;Great. LTIB is still pretty new and we're working on it. I'm glad&lt;BR /&gt;it's helped you.&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; This is my first exposure to LTIB. How easy is it to modify the BSP for&lt;BR /&gt;&amp;gt; a custom board (based on the 5472?). Are there any docs about&lt;BR /&gt;&amp;gt; customizing it? I found the savannah site, but there are no docs there.&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;The best place to look for information like this would be in&lt;BR /&gt;./ltib/doc/LtibFaq document.&lt;/DIV&gt;&lt;DIV&gt;However, I think most of the issues you'd encounter would be in&lt;BR /&gt;the kernel software. Since the 5472 is a V4e ColdFire core it&lt;BR /&gt;shouldn't be that difficult. The LtibFaq section "How can I&lt;BR /&gt;re-configure the kernel under LTIB" gives directions for&lt;BR /&gt;kernel development and rebuilding. The kernel name used for&lt;BR /&gt;the -p option in this case is "kernel-2.6.10-rig".&lt;/DIV&gt;&lt;DIV&gt;The package names for all the source code can be found in&lt;BR /&gt;the ./ltib/dist/lfs-5.1/ directory. Be aware that all the&lt;BR /&gt;packages listed there have *not* been tested on all the&lt;BR /&gt;platforms.&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;BR /&gt;Matt&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; Thanks,&lt;BR /&gt;&amp;gt; Steve&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; On Fri, 2005-11-04 at 14:56 -0700, Matt Waddel wrote:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Hi Steve,&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;This work has already been done. You can download the LTIB BSP at:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.codewarrior.com%2FMW%2FDevelop%2FEmbedded%2FLinux%2FDownloadBSP.htm" rel="nofollow" target="_blank"&gt;http://www.codewarrior.com/MW/Develop/Embedded/Linux/DownloadBSP.htm&lt;/A&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Go to the bottom of the page and find the BSP:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Freescale MCF547x &amp;amp; MCF548x 2.6 kernel - BSP Information - LTIB&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;The colilo included with this BSP can be run from RAM, Flash + dBUG,&lt;BR /&gt;&amp;gt;&amp;gt;or Flash solo. The users manual User_Manual_MCF54X5_20050822.doc&lt;BR /&gt;&amp;gt;&amp;gt;has the instructions. It's setup so you can use a colilo running&lt;BR /&gt;&amp;gt;&amp;gt;in RAM to replace dBUG.&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Hope this helps.&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;--Matt&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-03-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:01 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:15 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Apr 2006 07:37:25 GMT</pubDate>
    <dc:creator>Dietrich</dc:creator>
    <dc:date>2006-04-01T07:37:25Z</dc:date>
    <item>
      <title>Changing Base Address of Boot Flash</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Changing-Base-Address-of-Boot-Flash/m-p/130955#M816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000;"&gt;This message contains an entire topic ported&amp;nbsp;from the WildRice - Coldfire forum.&amp;nbsp; Freescale has received the approval from the WildRice administrator on seeding the Freescale forum with messages.&amp;nbsp; The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value as you search for answers to your questions.&amp;nbsp; Freescale assumes no responsibility whatsoever with respect to Posted Material.&amp;nbsp; For additional information, please see the&lt;/SPAN&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fabstract%2Fhelp_page%2FTERMSOFUSE.html" rel="nofollow" target="_blank"&gt;&lt;SPAN style=": ; color: #000000;"&gt;Terms of Use - Message Boards and Community Forums&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style=";"&gt;.&amp;nbsp; Thank You and Enjoy the Forum!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;HR /&gt;Nov 4, 2005, 7:43 AM&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Post #1 of 3 (29 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;[ColdFire] Changing Base Address of Boot Flash&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I'm working with the 5475EVB and the LinuxBSP provided by metrowerks. I&lt;BR /&gt;am trying to get colilo to boot without needing to use dBUG first.&lt;BR /&gt;However, the version of colilo that came with the BSP assumes that dBUG&lt;BR /&gt;has done a lot of the initialization already (flex bus, SDRAM, etc.), so&lt;BR /&gt;I am adding that initialization back into colilo.&lt;/DIV&gt;&lt;DIV&gt;I have a question about the boot process. When the coldfire boots, it&lt;BR /&gt;uses the reset values for CS0 and boots from the boot flash. At some&lt;BR /&gt;point in dBUG, the code changes the CS0 base address to 0xFFE00000. It&lt;BR /&gt;is my understanding that we're running from flash at that point, so&lt;BR /&gt;wouldn't that make the program counter invalid? The PC should contain a&lt;BR /&gt;value based on the original CS0 base address (0x00000000), which is no&lt;BR /&gt;longer valid. What am I missing?&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;BR /&gt;Steve&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Nov 4, 2005, 8:31 AM&lt;/DIV&gt;&lt;DIV&gt;Post #2 of 3 (29 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] Changing Base Address of Boot Flash [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;It is magic, during start up and until you set the CS0(i think) ffe00000&lt;BR /&gt;and 0 are the same. It has been a long time so i don't remember any&lt;BR /&gt;more.&lt;BR /&gt;Tom&lt;BR /&gt;On Fri, 2005-11-04 at 10:43 -0500, Steve Joiner wrote:&lt;BR /&gt;&amp;gt; I'm working with the 5475EVB and the LinuxBSP provided by metrowerks. I&lt;BR /&gt;&amp;gt; am trying to get colilo to boot without needing to use dBUG first.&lt;BR /&gt;&amp;gt; However, the version of colilo that came with the BSP assumes that dBUG&lt;BR /&gt;&amp;gt; has done a lot of the initialization already (flex bus, SDRAM, etc.), so&lt;BR /&gt;&amp;gt; I am adding that initialization back into colilo.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; I have a question about the boot process. When the coldfire boots, it&lt;BR /&gt;&amp;gt; uses the reset values for CS0 and boots from the boot flash. At some&lt;BR /&gt;&amp;gt; point in dBUG, the code changes the CS0 base address to 0xFFE00000. It&lt;BR /&gt;&amp;gt; is my understanding that we're running from flash at that point, so&lt;BR /&gt;&amp;gt; wouldn't that make the program counter invalid? The PC should contain a&lt;BR /&gt;&amp;gt; value based on the original CS0 base address (0x00000000), which is no&lt;BR /&gt;&amp;gt; longer valid. What am I missing?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Thanks,&lt;BR /&gt;&amp;gt; Steve&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;Tom Burrell&lt;BR /&gt;Southwest Microwave&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;Nov 6, 2005, 1:42 PM&lt;/DIV&gt;&lt;DIV&gt;Post #3 of 3 (26 views)&lt;BR /&gt;Copy Shortcut&lt;BR /&gt;&amp;nbsp;Re: [ColdFire] Changing Base Address of Boot Flash [In reply to]&amp;nbsp; Can't Post&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Hi Steve,&lt;/DIV&gt;&lt;DIV&gt;Steve Joiner wrote:&lt;BR /&gt;&amp;gt; Wow! Matt, thanks so much for this info, this is a huge help. This is&lt;BR /&gt;&amp;gt; a very nicely packaged BSP.&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;Great. LTIB is still pretty new and we're working on it. I'm glad&lt;BR /&gt;it's helped you.&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; This is my first exposure to LTIB. How easy is it to modify the BSP for&lt;BR /&gt;&amp;gt; a custom board (based on the 5472?). Are there any docs about&lt;BR /&gt;&amp;gt; customizing it? I found the savannah site, but there are no docs there.&lt;BR /&gt;&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;The best place to look for information like this would be in&lt;BR /&gt;./ltib/doc/LtibFaq document.&lt;/DIV&gt;&lt;DIV&gt;However, I think most of the issues you'd encounter would be in&lt;BR /&gt;the kernel software. Since the 5472 is a V4e ColdFire core it&lt;BR /&gt;shouldn't be that difficult. The LtibFaq section "How can I&lt;BR /&gt;re-configure the kernel under LTIB" gives directions for&lt;BR /&gt;kernel development and rebuilding. The kernel name used for&lt;BR /&gt;the -p option in this case is "kernel-2.6.10-rig".&lt;/DIV&gt;&lt;DIV&gt;The package names for all the source code can be found in&lt;BR /&gt;the ./ltib/dist/lfs-5.1/ directory. Be aware that all the&lt;BR /&gt;packages listed there have *not* been tested on all the&lt;BR /&gt;platforms.&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;BR /&gt;Matt&lt;/DIV&gt;&lt;DIV&gt;&amp;gt; Thanks,&lt;BR /&gt;&amp;gt; Steve&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; On Fri, 2005-11-04 at 14:56 -0700, Matt Waddel wrote:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Hi Steve,&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;This work has already been done. You can download the LTIB BSP at:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.codewarrior.com%2FMW%2FDevelop%2FEmbedded%2FLinux%2FDownloadBSP.htm" rel="nofollow" target="_blank"&gt;http://www.codewarrior.com/MW/Develop/Embedded/Linux/DownloadBSP.htm&lt;/A&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Go to the bottom of the page and find the BSP:&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Freescale MCF547x &amp;amp; MCF548x 2.6 kernel - BSP Information - LTIB&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;The colilo included with this BSP can be run from RAM, Flash + dBUG,&lt;BR /&gt;&amp;gt;&amp;gt;or Flash solo. The users manual User_Manual_MCF54X5_20050822.doc&lt;BR /&gt;&amp;gt;&amp;gt;has the instructions. It's setup so you can use a colilo running&lt;BR /&gt;&amp;gt;&amp;gt;in RAM to replace dBUG.&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;Hope this helps.&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;&amp;gt;--Matt&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-03-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:01 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Dietrich on &lt;SPAN class="date_text"&gt;04-04-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:15 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Apr 2006 07:37:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Changing-Base-Address-of-Boot-Flash/m-p/130955#M816</guid>
      <dc:creator>Dietrich</dc:creator>
      <dc:date>2006-04-01T07:37:25Z</dc:date>
    </item>
  </channel>
</rss>

