<?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 [ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-SWUPDATE-failed-0-ERROR-Error-Cannot-read-default/m-p/1677477#M208254</link>
    <description>&lt;P&gt;HW: IMX8QXP&lt;/P&gt;&lt;P&gt;BSP:&amp;nbsp;L5.10.52&lt;/P&gt;&lt;P&gt;I want to update firmware by swupdate, so I add swupdate to Yocto and download to board and add fw_printenv/fw_setenv to system and work well. Then&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;root@imx8qxpmek:~# swupdate -w "--document-root /www --port 8999"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Swupdate v2021.11.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Licensed under GPLv2. See source distribution for detailed copyright notices.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Connected to SWUpdate via /tmp/swupdateprog&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;At this moment I can open the web on PC and try to update a signal file but always show：&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;[INFO ] : SWUPDATE started : Software Update started !&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;[ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[INFO ] : SWUPDATE running : Installation in progress&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[ERROR] : SWUPDATE failed [0] ERROR : Cannot persistently store INSTALLED update state.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[ERROR] : SWUPDATE failed [1] Installation failed !&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[INFO ] : No SWUPDATE running : Waiting for requests...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why always show this error and how to fix it ?&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 05:37:36 GMT</pubDate>
    <dc:creator>wang12zhe</dc:creator>
    <dc:date>2023-06-28T05:37:36Z</dc:date>
    <item>
      <title>[ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-SWUPDATE-failed-0-ERROR-Error-Cannot-read-default/m-p/1677477#M208254</link>
      <description>&lt;P&gt;HW: IMX8QXP&lt;/P&gt;&lt;P&gt;BSP:&amp;nbsp;L5.10.52&lt;/P&gt;&lt;P&gt;I want to update firmware by swupdate, so I add swupdate to Yocto and download to board and add fw_printenv/fw_setenv to system and work well. Then&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;root@imx8qxpmek:~# swupdate -w "--document-root /www --port 8999"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;Swupdate v2021.11.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Licensed under GPLv2. See source distribution for detailed copyright notices.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;Connected to SWUpdate via /tmp/swupdateprog&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;At this moment I can open the web on PC and try to update a signal file but always show：&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;[INFO ] : SWUPDATE started : Software Update started !&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;[ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[INFO ] : SWUPDATE running : Installation in progress&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[ERROR] : SWUPDATE failed [0] ERROR : Cannot persistently store INSTALLED update state.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[ERROR] : SWUPDATE failed [1] Installation failed !&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;[INFO ] : No SWUPDATE running : Waiting for requests...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why always show this error and how to fix it ?&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 05:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-SWUPDATE-failed-0-ERROR-Error-Cannot-read-default/m-p/1677477#M208254</guid>
      <dc:creator>wang12zhe</dc:creator>
      <dc:date>2023-06-28T05:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: [ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-SWUPDATE-failed-0-ERROR-Error-Cannot-read-default/m-p/1679444#M208416</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/81068"&gt;@wang12zhe&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;Please make sure that&amp;nbsp;&lt;STRONG&gt;/etc/fw_env.config&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;is present and has the correct information about the environment device, offset &amp;amp; size.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 08:49:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-SWUPDATE-failed-0-ERROR-Error-Cannot-read-default/m-p/1679444#M208416</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-06-30T08:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: [ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-SWUPDATE-failed-0-ERROR-Error-Cannot-read-default/m-p/1680068#M208488</link>
      <description>&lt;P&gt;Yes, my fw_printenv working well.&lt;/P&gt;&lt;P&gt;But when I do "saveenv" in uboot,this error will be fixed&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 03:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-SWUPDATE-failed-0-ERROR-Error-Cannot-read-default/m-p/1680068#M208488</guid>
      <dc:creator>wang12zhe</dc:creator>
      <dc:date>2023-07-03T03:06:44Z</dc:date>
    </item>
  </channel>
</rss>

