<?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: MCV5485evb new Linux (2.6.25) BSP U-Boot environment variable problems</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCV5485evb-new-Linux-2-6-25-BSP-U-Boot-environment-variable/m-p/197513#M8853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;I posted to this list because the specific issue I have is with the linker script that was implemented by whomever did the port of U-Boot for the Coldfire. Because the area where the environment variables are stored is based on a definition in the Linker script and&amp;nbsp; that script is written expressly for Flash with 4K sectors it makes it particularly difficult to move to different flash (something I would think would be very common). This is something that should be as easy as changing a few #define's but instead, now requires a bit of analysis and some code changes.&lt;BR /&gt;&lt;BR /&gt;It's certainly not monumental just a little... frustrating.&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2008 07:16:00 GMT</pubDate>
    <dc:creator>jkimble</dc:creator>
    <dc:date>2008-10-29T07:16:00Z</dc:date>
    <item>
      <title>MCV5485evb new Linux (2.6.25) BSP U-Boot environment variable problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCV5485evb-new-Linux-2-6-25-BSP-U-Boot-environment-variable/m-p/197511#M8851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;I've had to move where the environment variables are stored in U-Boot because I'm using a different flash than on the evaluation board (P33) that has two flash chips with their CS tied together to give me a 32 bit x 64 Mb of flash memory. I had to adjust the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;#define CFG_ENV_OFFSET&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00030000&amp;nbsp;&amp;nbsp; /* Must be sector aligned&amp;nbsp; */&lt;BR /&gt;#define CFG_ENV_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00002000&lt;BR /&gt;#define CFG_ENV_SECT_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00010000&lt;BR /&gt;#define CFG_ENV_IS_IN_FLASH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;#define CFG_ENV_IS_EMBEDDED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and that got rid of some errors I was seeing when saving to flash (offset was not on a sector boundary) and I had to modify the loader map to allow for the bigger offset. Now when I save my environment, though I can peek into memory and see the save worked, the board is never able to load these variables. I'm looking through the code but I can't find where U-Boot expects to find it's environment variables. As simple as this is this things seems to be way over complicated (of course it does service about 500 different boards so maybe it's unavoidable).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell where I can set U-Boot to grab it's environmental variables at a specific address? Any help would be appreciated&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 21:59:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCV5485evb-new-Linux-2-6-25-BSP-U-Boot-environment-variable/m-p/197511#M8851</guid>
      <dc:creator>jkimble</dc:creator>
      <dc:date>2008-10-27T21:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: MCV5485evb new Linux (2.6.25) BSP U-Boot environment variable problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCV5485evb-new-Linux-2-6-25-BSP-U-Boot-environment-variable/m-p/197512#M8852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;That is a good question.&amp;nbsp; You should probably ask this quesiton on the u-boot mailing list.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.denx.de/wiki/U-Boot" rel="nofollow" target="_blank"&gt;http://www.denx.de/wiki/U-Boot&lt;/A&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 04:37:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCV5485evb-new-Linux-2-6-25-BSP-U-Boot-environment-variable/m-p/197512#M8852</guid>
      <dc:creator>fsl_linux_spt</dc:creator>
      <dc:date>2008-10-29T04:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: MCV5485evb new Linux (2.6.25) BSP U-Boot environment variable problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCV5485evb-new-Linux-2-6-25-BSP-U-Boot-environment-variable/m-p/197513#M8853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;I posted to this list because the specific issue I have is with the linker script that was implemented by whomever did the port of U-Boot for the Coldfire. Because the area where the environment variables are stored is based on a definition in the Linker script and&amp;nbsp; that script is written expressly for Flash with 4K sectors it makes it particularly difficult to move to different flash (something I would think would be very common). This is something that should be as easy as changing a few #define's but instead, now requires a bit of analysis and some code changes.&lt;BR /&gt;&lt;BR /&gt;It's certainly not monumental just a little... frustrating.&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2008 07:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCV5485evb-new-Linux-2-6-25-BSP-U-Boot-environment-variable/m-p/197513#M8853</guid>
      <dc:creator>jkimble</dc:creator>
      <dc:date>2008-10-29T07:16:00Z</dc:date>
    </item>
  </channel>
</rss>

