<?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>i.MX ProcessorsのトピックRe: Where are u-boot.imx environment variables installed after saveenv?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Where-are-u-boot-imx-environment-variables-installed-after/m-p/1032880#M152488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jupiter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at &lt;A class="link-titled" href="https://stackoverflow.com/questions/20525704/how-u-boot-bootloader-reads-saves-its-environment-variables" title="https://stackoverflow.com/questions/20525704/how-u-boot-bootloader-reads-saves-its-environment-variables"&gt;linux - How u-boot bootloader reads/saves its environment Variables? - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp; #define CONFIG_SYS_MMC_ENV_DEV&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; /* USDHC2 */&lt;BR /&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6ul_14x14_evk.h?h=imx_v2019.04_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6ul_14x14_evk.h?h=imx_v2019.04_4.19.35_1.1.0"&gt;mx6ul_14x14_evk.h\configs\include - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Feb 2020 23:07:51 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-02-16T23:07:51Z</dc:date>
    <item>
      <title>Where are u-boot.imx environment variables installed after saveenv?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-are-u-boot-imx-environment-variables-installed-after/m-p/1032879#M152487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have MTD partitions: mtdparts "gpmi-nand:1m(boot),1m(ubootenv),-(storage)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I connected NXP USB HID class device to run uuu SDP: boot -f u-boot.imx -nojump, I can see all the environment settings from the u-boot-ram.imx, then I run saveenv, after I disconnected USB HID, the device was in NAND boot, I stopped it in u-boot, all environment values were lost, the saveenv did not save the environment to NAND. &lt;/P&gt;&lt;P&gt;How to write&amp;nbsp; u-boot.imxI to partitions 1m(boot),1m(ubootenv)? Using nand write.trimffs &amp;lt;u-boot.imx&amp;gt; boot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;- jh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Feb 2020 10:11:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-are-u-boot-imx-environment-variables-installed-after/m-p/1032879#M152487</guid>
      <dc:creator>jupiter_hce</dc:creator>
      <dc:date>2020-02-16T10:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Where are u-boot.imx environment variables installed after saveenv?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-are-u-boot-imx-environment-variables-installed-after/m-p/1032880#M152488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jupiter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at &lt;A class="link-titled" href="https://stackoverflow.com/questions/20525704/how-u-boot-bootloader-reads-saves-its-environment-variables" title="https://stackoverflow.com/questions/20525704/how-u-boot-bootloader-reads-saves-its-environment-variables"&gt;linux - How u-boot bootloader reads/saves its environment Variables? - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp; #define CONFIG_SYS_MMC_ENV_DEV&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; /* USDHC2 */&lt;BR /&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6ul_14x14_evk.h?h=imx_v2019.04_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6ul_14x14_evk.h?h=imx_v2019.04_4.19.35_1.1.0"&gt;mx6ul_14x14_evk.h\configs\include - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Feb 2020 23:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-are-u-boot-imx-environment-variables-installed-after/m-p/1032880#M152488</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-16T23:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where are u-boot.imx environment variables installed after saveenv?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-are-u-boot-imx-environment-variables-installed-after/m-p/1032881#M152489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="1034" data-externalid="" data-online="false" data-presence="null" data-userid="206296" data-username="igorpadykov" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt;, thanks for the response. I found that the saveenv depends on fdt_addr, but I could not find it in document if the fdt_addr=0x83000000 must be used in &lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fuboot-imx%2Ftree%2Finclude%2Fconfigs%2Fmx6ul_14x14_evk.h%3Fh%3Dimx_v2019.04_4.19.35_1.1.0" rel="nofollow" target="_blank"&gt;mx6ul_14x14_evk&lt;/A&gt;, if I change the fdt_addr it could not even boot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; print fdt_addr&lt;BR /&gt;fdt_addr=0x88c00000&lt;BR /&gt;=&amp;gt; saveenv&lt;BR /&gt;saveenv&lt;BR /&gt;Saving Environment to NAND... Erasing NAND...&lt;BR /&gt;Erasing at 0x5e0000 -- 100% complete.&lt;BR /&gt;Writing to NAND... OK&lt;/P&gt;&lt;P&gt;=&amp;gt; print fdt_addr&lt;BR /&gt;fdt_addr=0x83000000&lt;BR /&gt;=&amp;gt; saveenv&lt;BR /&gt;Saving Environment to NAND... Erasing NAND...&lt;BR /&gt;Erasing at 0x3c00000 -- 100% complete.&lt;BR /&gt;Writing to NAND... OK&lt;BR /&gt;OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help to explain if the fdt_addr is hard coded in u-boot to link to kernel or what I could be missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- jh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 02:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-are-u-boot-imx-environment-variables-installed-after/m-p/1032881#M152489</guid>
      <dc:creator>jupiter_hce</dc:creator>
      <dc:date>2020-02-17T02:20:15Z</dc:date>
    </item>
  </channel>
</rss>

