<?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: iMX95 - swupdate/fw_printenv problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX95-swupdate-fw-printenv-problem/m-p/2116942#M238256</link>
    <description>&lt;P&gt;(AUTO)SOLVED:&lt;/P&gt;&lt;PRE&gt;~&lt;SPAN class=""&gt;# fw_printenv&lt;/SPAN&gt;
Cannot read environment, &lt;SPAN class=""&gt;using&lt;/SPAN&gt; &lt;SPAN class=""&gt;default&lt;/SPAN&gt;
Cannot read &lt;SPAN class=""&gt;default&lt;/SPAN&gt; environment &lt;SPAN class=""&gt;from&lt;/SPAN&gt; file&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;That error simply means that you MUST execute the command “saveenv” in U-Boot at least once after flashing the board. The offsets I posted are correct.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jun 2025 12:07:31 GMT</pubDate>
    <dc:creator>sicScar1</dc:creator>
    <dc:date>2025-06-16T12:07:31Z</dc:date>
    <item>
      <title>iMX95 - swupdate/fw_printenv problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX95-swupdate-fw-printenv-problem/m-p/2115941#M238177</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I’m trying to integrate SWUpdate (by sbabic) inside my Yocto distro, using the NXP guides, which use the meta-swupdate-imx and swupdate-scripts repos as a reference.&lt;BR /&gt;I tried to make a port to Scarthgap (last branch for meta-swupdate-imx is Mickledore) and add config files for imx95 (last is imx93).&lt;/P&gt;&lt;P&gt;I should be at a good point of the integration, but I noticed that the tool fw_printenv can’t access U-Boot env variables. Log:&lt;/P&gt;&lt;PRE&gt;~&lt;SPAN class=""&gt;# fw_printenv&lt;/SPAN&gt;
Cannot read environment, &lt;SPAN class=""&gt;using&lt;/SPAN&gt; &lt;SPAN class=""&gt;default&lt;/SPAN&gt;
Cannot read &lt;SPAN class=""&gt;default&lt;/SPAN&gt; environment &lt;SPAN class=""&gt;from&lt;/SPAN&gt; file&lt;/PRE&gt;&lt;P&gt;At the moment, the file /etc/fw_env.config is:&lt;/P&gt;&lt;PRE&gt;/dev/mmcblk0 0x700000 0x4000
/dev/mmcblk0 0x704000 0x4000&lt;/PRE&gt;&lt;P&gt;That’s because in the uboot defconfig (in my case, I'm using iMX95 Verdin from Toradex, but the config is basically the same for imx95evk except for dtbs)&amp;nbsp;configs/imx95_19x19_verdin_defconfig&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I have:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;CONFIG_ENV_SIZE&lt;/SPAN&gt;=&lt;SPAN class=""&gt;0&lt;/SPAN&gt;x4000
&lt;SPAN class=""&gt;CONFIG_ENV_OFFSET&lt;/SPAN&gt;=&lt;SPAN class=""&gt;0&lt;/SPAN&gt;x700000&lt;/PRE&gt;&lt;P&gt;and the NXP patches also include:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;+CONFIG_SYS_REDUNDAND_ENVIRONMENT=y&lt;/SPAN&gt;
&lt;SPAN class=""&gt;+CONFIG_ENV_OFFSET_REDUND=0x704000&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;But it’s not working… Does someone know how to deal with it?&lt;BR /&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 07:34:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX95-swupdate-fw-printenv-problem/m-p/2115941#M238177</guid>
      <dc:creator>sicScar1</dc:creator>
      <dc:date>2025-06-13T07:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: iMX95 - swupdate/fw_printenv problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX95-swupdate-fw-printenv-problem/m-p/2116942#M238256</link>
      <description>&lt;P&gt;(AUTO)SOLVED:&lt;/P&gt;&lt;PRE&gt;~&lt;SPAN class=""&gt;# fw_printenv&lt;/SPAN&gt;
Cannot read environment, &lt;SPAN class=""&gt;using&lt;/SPAN&gt; &lt;SPAN class=""&gt;default&lt;/SPAN&gt;
Cannot read &lt;SPAN class=""&gt;default&lt;/SPAN&gt; environment &lt;SPAN class=""&gt;from&lt;/SPAN&gt; file&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;That error simply means that you MUST execute the command “saveenv” in U-Boot at least once after flashing the board. The offsets I posted are correct.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 12:07:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX95-swupdate-fw-printenv-problem/m-p/2116942#M238256</guid>
      <dc:creator>sicScar1</dc:creator>
      <dc:date>2025-06-16T12:07:31Z</dc:date>
    </item>
  </channel>
</rss>

