<?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のトピックu-boot environment switching error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-environment-switching-error/m-p/1227953#M169151</link>
    <description>&lt;P&gt;Dear NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default u-boot environment stored in EMMC offset -&amp;nbsp;0x400000.&lt;/P&gt;&lt;P&gt;I implement the new EMMC partition and switch u-boot environment variable to that partition,&lt;/P&gt;&lt;P&gt;include/configs/imx8mn_evk.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #define CONFIG_SYS_MMC_ENV_PART 12&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created the partition,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+#part 12&lt;BR /&gt;+part /env --source bootimg-partition --ondisk mmcblk --fstype=vfat --label env --align 8192 --size 64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, while booting I got following error -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;Loading Environment from MMC... VINOTH ++++++++++++++++++++++++++++ mmc_set_env_part env partition is 12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;VINOTH ++++++++++= blk_select_hwpart_devnum ++++++++++++++++ hwpart: 12 +++ ret: 0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;VINOTH ++++++++++= mmc_switch_part ++++++++++++++++ part_num: 12 +++&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;VINOTH ++++++++++= mmc_select_hwpart 3 ++++++++++++++++ hwpart: 12 +++ ret: -5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;MMC partition switch failed&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Feb 2021 12:07:49 GMT</pubDate>
    <dc:creator>vinothkumars</dc:creator>
    <dc:date>2021-02-08T12:07:49Z</dc:date>
    <item>
      <title>u-boot environment switching error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-environment-switching-error/m-p/1227953#M169151</link>
      <description>&lt;P&gt;Dear NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default u-boot environment stored in EMMC offset -&amp;nbsp;0x400000.&lt;/P&gt;&lt;P&gt;I implement the new EMMC partition and switch u-boot environment variable to that partition,&lt;/P&gt;&lt;P&gt;include/configs/imx8mn_evk.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #define CONFIG_SYS_MMC_ENV_PART 12&amp;nbsp;&lt;/P&gt;&lt;P&gt;Created the partition,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+#part 12&lt;BR /&gt;+part /env --source bootimg-partition --ondisk mmcblk --fstype=vfat --label env --align 8192 --size 64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, while booting I got following error -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;Loading Environment from MMC... VINOTH ++++++++++++++++++++++++++++ mmc_set_env_part env partition is 12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;VINOTH ++++++++++= blk_select_hwpart_devnum ++++++++++++++++ hwpart: 12 +++ ret: 0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;VINOTH ++++++++++= mmc_switch_part ++++++++++++++++ part_num: 12 +++&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;VINOTH ++++++++++= mmc_select_hwpart 3 ++++++++++++++++ hwpart: 12 +++ ret: -5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="mingliu,biaukai" size="2" color="#FF0000"&gt;MMC partition switch failed&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 12:07:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-environment-switching-error/m-p/1227953#M169151</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2021-02-08T12:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot environment switching error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-environment-switching-error/m-p/1229378#M169309</link>
      <description>&lt;P&gt;This may help you. You may find some hints from the discussion of below link.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://lists.denx.de/pipermail/u-boot/2013-June/155723.html" target="_blank"&gt;https://lists.denx.de/pipermail/u-boot/2013-June/155723.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the new version of u-boot, the mmc.c is in the env folder.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/env/mmc.c?h=imx_v2019.04_5.4.3_2.0.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/env/mmc.c?h=imx_v2019.04_5.4.3_2.0.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 15:27:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-environment-switching-error/m-p/1229378#M169309</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-02-10T15:27:10Z</dc:date>
    </item>
  </channel>
</rss>

