<?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>NXP DesignsのトピックWhy are u-boot's printenv and linux's fw_printenv default values different?</title>
    <link>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987417#M129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use lx2160ardb board.&lt;/P&gt;&lt;P&gt;Why are u-boot's printenv and linux's fw_printenv default values different?&lt;/P&gt;&lt;P&gt;How do i set if i want to use the same default value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2020 04:19:36 GMT</pubDate>
    <dc:creator>songhee_yun</dc:creator>
    <dc:date>2020-03-19T04:19:36Z</dc:date>
    <item>
      <title>Why are u-boot's printenv and linux's fw_printenv default values different?</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987417#M129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use lx2160ardb board.&lt;/P&gt;&lt;P&gt;Why are u-boot's printenv and linux's fw_printenv default values different?&lt;/P&gt;&lt;P&gt;How do i set if i want to use the same default value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 04:19:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987417#M129</guid>
      <dc:creator>songhee_yun</dc:creator>
      <dc:date>2020-03-19T04:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why are u-boot's printenv and linux's fw_printenv default values different?</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987418#M130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="356733" data-username="songhee.yun@qucell.com" href="https://community.nxp.com/people/songhee.yun@qucell.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;songhee yun&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;After creating configuration file&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;/etc/fw_env.config as the following, I execute command "fw_printenv" to get u-boot environment parameters as the attachment, I compared this file with the one generated by u-boot pri command, they are same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; : ; color: #646464; "&gt;# cat /etc/fw_env.config&lt;BR /&gt; /dev/mtd0 0x500000 0x2000 0x20000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;Please make sure you get u-boot environment parameters from the same flash bank.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464; "&gt;Yiping&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 04:16:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987418#M130</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-03-20T04:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why are u-boot's printenv and linux's fw_printenv default values different?</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987419#M131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yipingwang"&gt;yipingwang&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uses &lt;STRONG&gt;sd card(DIP SW1 1111-&amp;gt;1000)&lt;/STRONG&gt; and &lt;STRONG&gt;CONFIG_SYS_MMC_ENV_DEV 0 -&amp;gt; 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I configure fw_env.conf already. and i tested 2 cases.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;/dev/mmcblk0&amp;nbsp;&amp;nbsp;&amp;nbsp;0x500000 0x2000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, i tried '# &lt;EM&gt;env default -f -a&lt;/EM&gt;' at u-boot command line.&lt;/P&gt;&lt;P&gt;Second, i tried '&lt;EM&gt;dd if=/dev/null of=/dev/mmcblk0 bs=1 skip=0x500000 seek=0x500000 count=20&lt;/EM&gt;' after linux booting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that cases results are different.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 04:36:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987419#M131</guid>
      <dc:creator>songhee_yun</dc:creator>
      <dc:date>2020-03-20T04:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why are u-boot's printenv and linux's fw_printenv default values different?</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987420#M132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In "dd" command seek should be 0x02800, bs should be 512&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 08:31:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987420#M132</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-03-20T08:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why are u-boot's printenv and linux's fw_printenv default values different?</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987421#M133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi~ Thank you for your help.&lt;/P&gt;&lt;P&gt;but, i solved my problem myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u-boot printenv &amp;amp; linux fw_printenv default value is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Linux fw_printenv(ex. bootdelay=2) is downloaded binary for url.&lt;/P&gt;&lt;P&gt;- U-boot printenv is compiled with my configuration(ex. bootdelay=10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, default value is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i tried to compile u-boot/tools/env/ directory, then fw_printenv that compiled has same default env as u-boot printenv tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2020 07:07:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Why-are-u-boot-s-printenv-and-linux-s-fw-printenv-default-values/m-p/987421#M133</guid>
      <dc:creator>songhee_yun</dc:creator>
      <dc:date>2020-03-23T07:07:38Z</dc:date>
    </item>
  </channel>
</rss>

