<?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: Cannot set environment variable in the u-boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209528#M167546</link>
    <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I will try this out.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Payal&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2021 09:01:12 GMT</pubDate>
    <dc:creator>emb-bharpay</dc:creator>
    <dc:date>2021-01-11T09:01:12Z</dc:date>
    <item>
      <title>Cannot set environment variable in the u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1208726#M167456</link>
      <description>&lt;DIV&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I am trying to set the environment variable from u-boot but after rebooting the system it is taking the default one.&lt;BR /&gt;Following are the details that I am trying to implement.&lt;/P&gt;&lt;P&gt;u-boot&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; setenv mmcroot '/dev/mmcblk0p3 rootwait rw'&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;saveenv&lt;/P&gt;&lt;P&gt;But after rebooting I could not able to boot from /dev/mmcblk0p3, instead, the system is restarting from dev/mmcblk0p2.&lt;/P&gt;&lt;P&gt;Can anyone let me know what is the correct way to set the environment variable in u-boot?&lt;/P&gt;&lt;P&gt;FYI: Using iMX8QM-MEK board.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Jan 2021 06:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1208726#M167456</guid>
      <dc:creator>emb-bharpay</dc:creator>
      <dc:date>2021-01-08T06:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set environment variable in the u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1208889#M167469</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you can make this entry in your u-boot source code, so whenever it will boot normaly it will use the same patrition, below is the command you can use and under the common/autoboot.c such as&amp;nbsp; __abortboot(int bootdelay) function.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run_command("setenv mmcroot \"/dev/mmcblk0p3 rootwait rw\"",0);&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 10:25:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1208889#M167469</guid>
      <dc:creator>nikhil_sahu2</dc:creator>
      <dc:date>2021-01-08T10:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set environment variable in the u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1208910#M167475</link>
      <description>&lt;P&gt;Thank you for your reply,&lt;/P&gt;&lt;P&gt;Actually, I want to access the partition during runtime. So as per my need, I have to switch the partition whenever it is required.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I wanted to know if it is possible to access the partition from u-boot environment.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 11:02:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1208910#M167475</guid>
      <dc:creator>emb-bharpay</dc:creator>
      <dc:date>2021-01-08T11:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set environment variable in the u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209503#M167538</link>
      <description>&lt;P&gt;The kernel boot command lines you can set when u-boot boot up. For the emmc boot you need to know which uSDHC or emmc dev are you using in your board. Are you using the iMX8QM-MEK board from NXP?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 08:32:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209503#M167538</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2021-01-11T08:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set environment variable in the u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209504#M167539</link>
      <description>&lt;P&gt;Reading the kernel image from eMMC&lt;BR /&gt;eMMC has user area, boot partition 1, and boot partition 2. To switch between the eMMC partitions, the user needs to use the&lt;BR /&gt;command mmc dev [dev id] [partition id]. For example,&lt;BR /&gt;mmc dev 2 0 ---&amp;gt; user area&lt;BR /&gt;mmc dev 2 1 ---&amp;gt; boot partition 1&lt;BR /&gt;mmc dev 2 2 ---&amp;gt; boot partition 2&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 08:33:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209504#M167539</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2021-01-11T08:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set environment variable in the u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209528#M167546</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I will try this out.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Payal&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 09:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209528#M167546</guid>
      <dc:creator>emb-bharpay</dc:creator>
      <dc:date>2021-01-11T09:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set environment variable in the u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209529#M167547</link>
      <description>&lt;DIV&gt;&lt;DIV class="copy-paste-block"&gt;Yes, I am &lt;SPAN&gt;using the iMX8QM-MEK board.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;u boot &amp;gt;&amp;gt; mmc list&lt;BR /&gt;FSL_SDHC: 0 (eMMC)&lt;BR /&gt;FSL_SDHC: 1&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Jan 2021 09:01:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209529#M167547</guid>
      <dc:creator>emb-bharpay</dc:creator>
      <dc:date>2021-01-11T09:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set environment variable in the u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209570#M167549</link>
      <description>&lt;P&gt;The emmc on the The eMMC5.0 on the i.MX 8QuadMax MEK board, i.MX 8QuadXPlus MEK board, and i.MX 8M Quad EVK board are mmcblk0. The i.MX8QuadMax MEK use the eMMC0, so use the mmc dev 0.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 09:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-set-environment-variable-in-the-u-boot/m-p/1209570#M167549</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2021-01-11T09:48:31Z</dc:date>
    </item>
  </channel>
</rss>

