<?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: unable to read uboot environment using fw_printenv in imx8mm evk in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/unable-to-read-uboot-environment-using-fw-printenv-in-imx8mm-evk/m-p/1246164#M170903</link>
    <description>&lt;P&gt;Hi ganesh_k&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can look at fw_printenv discussion on yocto mail list&lt;/P&gt;
&lt;P&gt;&lt;A href="https://lists.yoctoproject.org/g/meta-freescale/topic/80166140#24508" target="_blank"&gt;https://lists.yoctoproject.org/g/meta-freescale/topic/80166140#24508&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Tue, 16 Mar 2021 07:30:13 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-03-16T07:30:13Z</dc:date>
    <item>
      <title>unable to read uboot environment using fw_printenv in imx8mm evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/unable-to-read-uboot-environment-using-fw-printenv-in-imx8mm-evk/m-p/1246118#M170897</link>
      <description>&lt;P&gt;i m trying to update the imx-boot(bootloader) image from user space(target board). from the target board, i can able to see below partitions.&lt;BR /&gt;mmcblk2 mmcblk2boot1 mmcblk2p2&lt;BR /&gt;mmcblk2boot0 mmcblk2p1 mmcblk2rpmb&lt;/P&gt;&lt;P&gt;i m bit confused to update the bootloader image and also in which partition environment variable available to read the environment variables from user space using fw_printenv command.&lt;BR /&gt;while running this fw_printenv command i m getting below error.&lt;BR /&gt;-----------------------------------------------------------------------------------&lt;BR /&gt;root@arm:~# fw_printenv&lt;BR /&gt;Cannot read environment, using default&lt;BR /&gt;Cannot read default environment from file&lt;BR /&gt;-----------------------------------------------------------------------------------&lt;BR /&gt;below lines are edit for fw_evn.config file in /etc folder&lt;BR /&gt;-----------------------------------------------------------------------------------&lt;BR /&gt;root@arm:~# cat /etc/fw_env.config&lt;BR /&gt;/dev/mmcblk2 0x400000 0x1000&lt;BR /&gt;/dev/mmcblk2 0x400000 0x1000&lt;BR /&gt;------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;can someone tell me ..where i m doing mistake here.&lt;BR /&gt;Thanks in advance...&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 06:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/unable-to-read-uboot-environment-using-fw-printenv-in-imx8mm-evk/m-p/1246118#M170897</guid>
      <dc:creator>ganesh_k</dc:creator>
      <dc:date>2021-03-16T06:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: unable to read uboot environment using fw_printenv in imx8mm evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/unable-to-read-uboot-environment-using-fw-printenv-in-imx8mm-evk/m-p/1246164#M170903</link>
      <description>&lt;P&gt;Hi ganesh_k&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can look at fw_printenv discussion on yocto mail list&lt;/P&gt;
&lt;P&gt;&lt;A href="https://lists.yoctoproject.org/g/meta-freescale/topic/80166140#24508" target="_blank"&gt;https://lists.yoctoproject.org/g/meta-freescale/topic/80166140#24508&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 07:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/unable-to-read-uboot-environment-using-fw-printenv-in-imx8mm-evk/m-p/1246164#M170903</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-03-16T07:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: unable to read uboot environment using fw_printenv in imx8mm evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/unable-to-read-uboot-environment-using-fw-printenv-in-imx8mm-evk/m-p/1250866#M171329</link>
      <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Solved this issue by following procedure.&lt;BR /&gt;-&amp;gt; added the "#define CONFIG_SYS_MMC_ENV_PART 0" in the "include/configs/imx8mm_evk.h" file in uboot.&lt;/P&gt;&lt;P&gt;which makes the environment will rw to userspace area.&lt;/P&gt;&lt;P&gt;and made one partition(/dev/mmcblk2p1) in emmc for this environment. and given the env partition starting address as env offset address(0x400000) in uboot.&lt;/P&gt;&lt;P&gt;etc/fw_env.config configured as below&lt;/P&gt;&lt;P&gt;/dev/mmcblk2p1 0x400000 0x1000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now i can able to read and write to the env using fw_printenv and fw_setenv.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Mar 2021 04:51:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/unable-to-read-uboot-environment-using-fw-printenv-in-imx8mm-evk/m-p/1250866#M171329</guid>
      <dc:creator>ganesh_k</dc:creator>
      <dc:date>2021-03-24T04:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: unable to read uboot environment using fw_printenv in imx8mm evk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/unable-to-read-uboot-environment-using-fw-printenv-in-imx8mm-evk/m-p/1255594#M171936</link>
      <description>&lt;P&gt;I don't know if you define new one for env. It can sync with u-boot command or not.&lt;/P&gt;
&lt;P&gt;Linux fw_printenv fw_setenv to access U-Boot's environment variables&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Linux-fw-printenv-fw-setenv-to-access-U-Boot-s-environment/ta-p/1121201" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Linux-fw-printenv-fw-setenv-to-access-U-Boot-s-environment/ta-p/1121201&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;fw_env.config&lt;BR /&gt;fw_env.config default directory is in the /etc/&lt;BR /&gt;/dev/mmcblk1 0x400000 0x2000&lt;BR /&gt;uboot/include/configs/imx8qxp_mek.h&lt;BR /&gt;0x2000 : #define CONFIG_ENV_SIZE 0x2000&lt;BR /&gt;0x400000: #define CONFIG_ENV_OFFSET (64 * SZ_64K)&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 07:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/unable-to-read-uboot-environment-using-fw-printenv-in-imx8mm-evk/m-p/1255594#M171936</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2021-04-01T07:17:33Z</dc:date>
    </item>
  </channel>
</rss>

