<?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: Using fuse_version in the container set header with mkimage and seco commit in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-fuse-version-in-the-container-set-header-with-mkimage-and/m-p/1517743#M194803</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205248"&gt;@RomanV-GGL&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have shared the additional details over email.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dhruvit.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 13:03:36 GMT</pubDate>
    <dc:creator>Dhruvit</dc:creator>
    <dc:date>2022-09-06T13:03:36Z</dc:date>
    <item>
      <title>Using fuse_version in the container set header with mkimage and seco commit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-fuse-version-in-the-container-set-header-with-mkimage-and/m-p/1513936#M194462</link>
      <description>&lt;P&gt;We are wanting to make use of the -fuse_version flag that can be supplied to mkimage_imx to set the 8bit Fuse Version header field in a container set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running mkimage_imx8 -soc QX -rev B0 -parse flash.bin, I can see the fuse version has been set for our container set&lt;/P&gt;&lt;PRE&gt;*********************************&lt;BR /&gt;* *&lt;BR /&gt;* CONTAINER 1 *&lt;BR /&gt;* *&lt;BR /&gt;*********************************&lt;BR /&gt;&lt;BR /&gt;Length: 0X2C0 (704)&lt;BR /&gt;Tag: 0X87&lt;BR /&gt;Version: 0&lt;BR /&gt;Flags: 0X1&lt;BR /&gt;Num images: 1&lt;BR /&gt;Fuse version: 0X3&lt;BR /&gt;SW version: 0XF000&lt;BR /&gt;Sig blk offset: 0X90&lt;BR /&gt;&lt;BR /&gt;IMAGE 1 (SECO FW)&lt;BR /&gt;Offset: 0X2000&lt;BR /&gt;Size: 0X11248 (70216)&lt;BR /&gt;Load Addr: 0X20C00000&lt;BR /&gt;Entry Addr: 0X20000000&lt;BR /&gt;Flags: 0X166 (IMG TYPE: SECO | CORE ID: CORE_SECO | HASH TYPE: SHA384 | ENCRYPTED: NO)&lt;BR /&gt;Metadata: 0&lt;BR /&gt;Hash: 77d1fb9ef46916c4f18481e830d3b415f087a450ebd60ee393306664f2a196c1e260b717a1bbca51ef094718e03801c2 (SHA384)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*********************************&lt;BR /&gt;* *&lt;BR /&gt;* CONTAINER 2 *&lt;BR /&gt;* *&lt;BR /&gt;*********************************&lt;BR /&gt;&lt;BR /&gt;Length: 0X1A0 (416)&lt;BR /&gt;Tag: 0X87&lt;BR /&gt;Version: 0&lt;BR /&gt;Flags: 0X10&lt;BR /&gt;Num images: 3&lt;BR /&gt;Fuse version: 0X1&lt;BR /&gt;SW version: 0&lt;BR /&gt;Sig blk offset: 0X190&lt;/PRE&gt;&lt;P&gt;We have a i.MX8Dx configured to boot from a eMMC's boot partitions, so setting sw_version has no affect. After successfully booting into the newer container set. we are still able to flash an older image that has fuse_version set to 0.&lt;/P&gt;&lt;P&gt;I suspect we may also need to call seco commit or sc_seco_commit() but the *info parameter is undocumented and we're unsure what to pass here.&lt;/P&gt;&lt;P&gt;An earlier thread does demonstrate calling seco commit for blowing a fuse for SRK. but the values are left unexplained.&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/i-MX8X-permanently-revoke-a-SRK-key/m-p/1209802" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/i-MX8X-permanently-revoke-a-SRK-key/m-p/1209802&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 13:14:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-fuse-version-in-the-container-set-header-with-mkimage-and/m-p/1513936#M194462</guid>
      <dc:creator>RomanV-GGL</dc:creator>
      <dc:date>2022-08-30T13:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using fuse_version in the container set header with mkimage and seco commit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-fuse-version-in-the-container-set-header-with-mkimage-and/m-p/1517743#M194803</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205248"&gt;@RomanV-GGL&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have shared the additional details over email.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dhruvit.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 13:03:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-fuse-version-in-the-container-set-header-with-mkimage-and/m-p/1517743#M194803</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2022-09-06T13:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using fuse_version in the container set header with mkimage and seco commit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-fuse-version-in-the-container-set-header-with-mkimage-and/m-p/2059461#M234925</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to implement the sc_seco_commit function in a imx8qxp machine.&lt;/P&gt;&lt;P&gt;I have set the Revocations parameter in the CST [Install SRK] command to revoke key SRK0, and I am signing images with SRK2. But this change is not persistent. I want to make the revocation persistent in the device.&lt;/P&gt;&lt;P&gt;[Install SRK]&lt;BR /&gt;...&lt;BR /&gt;# bitmask of the revoked SRKs&lt;BR /&gt;Revocations = 0x1&lt;/P&gt;&lt;P&gt;For that purpose, I have the following call to sc_seco_commit, but the execution of the command in u-boot does not burn any fuse.&lt;/P&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t;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Do someone know the correct value of the *info parameter or how to procede?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Mar 2025 11:04:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-fuse-version-in-the-container-set-header-with-mkimage-and/m-p/2059461#M234925</guid>
      <dc:creator>mgarcia2313</dc:creator>
      <dc:date>2025-03-11T11:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using fuse_version in the container set header with mkimage and seco commit</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-fuse-version-in-the-container-set-header-with-mkimage-and/m-p/2059561#M234928</link>
      <description>Hi,&lt;BR /&gt;Can I have also additional details?&lt;BR /&gt;BR.</description>
      <pubDate>Tue, 11 Mar 2025 13:09:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-fuse-version-in-the-container-set-header-with-mkimage-and/m-p/2059561#M234928</guid>
      <dc:creator>mgarcia2313</dc:creator>
      <dc:date>2025-03-11T13:09:53Z</dc:date>
    </item>
  </channel>
</rss>

