<?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>topic Re: U-Boot 'saveenv' command overwriting U-Boot? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190911#M9620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your U-Boot binary might be too large for some reason. You can change the location where the environment is saved in your configuration file, under u-boot-2009.08/include/configs/mx53_loco.h (assuming you are using the Quick Start Board). The setting is CONFIG_ENV_OFFSET. Make sure you adjust your U-Boot environment and the location where the kernel is to be flashed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2011 18:34:53 GMT</pubDate>
    <dc:creator>rlorriaux</dc:creator>
    <dc:date>2011-11-28T18:34:53Z</dc:date>
    <item>
      <title>U-Boot 'saveenv' command overwriting U-Boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190908#M9617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running into a problem with u-boot (I'm using u-boot 2011.06). &amp;nbsp;Every time I issue the 'saveenv' command to write my updated u-boot environment to flash (microSD), u-boot fails to load/start when I reset/power cycle the board. &amp;nbsp;It's as though the 'saveenv' command is overwriting the u-boot in flash. &amp;nbsp;I end up having to 'dd' the u-boot image back on the microSD card to get u-boot to start up again (losing my previous u-boot environment of course). &amp;nbsp;Has anyone else encountered this problem with u-boot? &amp;nbsp;If so, what do I need to do to resolve this issue? &amp;nbsp;I'm pulling my hair out trying to find a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Donald&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 00:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190908#M9617</guid>
      <dc:creator>DonaldR_PooleJr</dc:creator>
      <dc:date>2011-11-26T00:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot 'saveenv' command overwriting U-Boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190909#M9618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it overwriting it? To what location is u-boot trying to save the environment, can you check that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shouldn't happen with u-boot delivered in binary demo release at least, is this your own build of u-boot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 07:09:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190909#M9618</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2011-11-28T07:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot 'saveenv' command overwriting U-Boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190910#M9619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not completely certain if u-boot is overwriting itself, but that's my best guess since the bootloader won't startup after I save the environment and power cycle the board. &amp;nbsp;I'm not sure I where to look to find out where u-boot is saving the environment. &amp;nbsp;Where would that information be? &amp;nbsp;But, yes this is my own build of u-boot, version 2011.06. &amp;nbsp;To make the u-boot iMX image, I followed the direction in the u-boot README doc (README.imximage) found in the 'doc' directory of the u-boot source (&lt;A href="http://git.denx.de/u-boot.git/?p=u-boot.git;a=blob;f=doc/README.imximage;h=c74239d2ade911b76269b386caeac849a2c878d5;hb=HEAD" target="_blank"&gt;http://git.denx.de/u-boot.git/?p=u-boot.git;a=blob;f=doc/README.imximage;h=c74239d2ade911b76269b386caeac849a2c878d5;hb=HEAD&lt;/A&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 15:11:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190910#M9619</guid>
      <dc:creator>DonaldR_PooleJr</dc:creator>
      <dc:date>2011-11-28T15:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot 'saveenv' command overwriting U-Boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190911#M9620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your U-Boot binary might be too large for some reason. You can change the location where the environment is saved in your configuration file, under u-boot-2009.08/include/configs/mx53_loco.h (assuming you are using the Quick Start Board). The setting is CONFIG_ENV_OFFSET. Make sure you adjust your U-Boot environment and the location where the kernel is to be flashed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 18:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190911#M9620</guid>
      <dc:creator>rlorriaux</dc:creator>
      <dc:date>2011-11-28T18:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot 'saveenv' command overwriting U-Boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190912#M9621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Remi! I think that might resolve my issue. &amp;nbsp;I will try this and see how things go.&lt;BR /&gt; &lt;BR /&gt;&lt;CITE&gt;Remi Lorriaux said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/u-boot-saveenv-command-overwriting-u-boot?groupUrl=imx53quickstartboard&amp;amp;#4103961Comment47302"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Your U-Boot binary might be too large for some reason. You can change the location where the environment is saved in your configuration file, under u-boot-2009.08/include/configs/mx53_loco.h (assuming you are using the Quick Start Board). The setting is CONFIG_ENV_OFFSET. Make sure you adjust your U-Boot environment and the location where the kernel is to be flashed.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 20:25:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-saveenv-command-overwriting-U-Boot/m-p/190912#M9621</guid>
      <dc:creator>DonaldR_PooleJr</dc:creator>
      <dc:date>2011-11-29T20:25:54Z</dc:date>
    </item>
  </channel>
</rss>

