<?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: How to use elftosb to generate image with plain CRC on bootup enabled? in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2015551#M32939</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240689"&gt;@pcpro1789&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that the elftosb tool was replaced by the nxpimage tool. The nxpimage is part of the NXP secure Provisioning SDK, or SPSDK.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1734469894883.png" style="width: 643px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316353iC979718A72309499/image-dimensions/643x219?v=v2" width="643" height="219" role="button" title="diego_charles_2-1734469894883.png" alt="diego_charles_2-1734469894883.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From SPSDK documentation&amp;nbsp;&lt;A href="https://spsdk.readthedocs.io/en/latest/apps/nxpimage.html#nxpimage" target="_blank"&gt;https://spsdk.readthedocs.io/en/latest/apps/nxpimage.html#nxpimage&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;MCUXpresso Secure Provisioning Tool GUI does call the SPSDK APIS and tools to create bootable images.&lt;/P&gt;
&lt;P&gt;To create with ease this kind of image using elftosb, you can use older versions of the MCUXpresso Secure Provisioning Tool, for example version 7.0. You can see in the log, calls to the elftosb GUI&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1734469593617.png" style="width: 733px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316350iD18CC5653704EB9F/image-dimensions/733x373?v=v2" width="733" height="373" role="button" title="diego_charles_0-1734469593617.png" alt="diego_charles_0-1734469593617.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However,&amp;nbsp; it is always better if you use latest versions. For example MCUXPresso Secure Provisioning Tool v10, which does use nxpimage instead.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1734469719197.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316352iFCC65F3609DD1B66/image-dimensions/700x376?v=v2" width="700" height="376" role="button" title="diego_charles_1-1734469719197.png" alt="diego_charles_1-1734469719197.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope this could help you.&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 21:12:36 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2024-12-17T21:12:36Z</dc:date>
    <item>
      <title>How to use elftosb to generate image with plain CRC on bootup enabled?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2010446#M32872</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;The title says it all.&amp;nbsp; How can &lt;STRONG&gt;elftousb&lt;/STRONG&gt; be used to generate an image with the plain CRC check enabled?&amp;nbsp; We're using load to RAM, not run in place.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Dec 2024 20:12:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2010446#M32872</guid>
      <dc:creator>pcpro1789</dc:creator>
      <dc:date>2024-12-09T20:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to use elftosb to generate image with plain CRC on bootup enabled?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2015551#M32939</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240689"&gt;@pcpro1789&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that the elftosb tool was replaced by the nxpimage tool. The nxpimage is part of the NXP secure Provisioning SDK, or SPSDK.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1734469894883.png" style="width: 643px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316353iC979718A72309499/image-dimensions/643x219?v=v2" width="643" height="219" role="button" title="diego_charles_2-1734469894883.png" alt="diego_charles_2-1734469894883.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From SPSDK documentation&amp;nbsp;&lt;A href="https://spsdk.readthedocs.io/en/latest/apps/nxpimage.html#nxpimage" target="_blank"&gt;https://spsdk.readthedocs.io/en/latest/apps/nxpimage.html#nxpimage&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;MCUXpresso Secure Provisioning Tool GUI does call the SPSDK APIS and tools to create bootable images.&lt;/P&gt;
&lt;P&gt;To create with ease this kind of image using elftosb, you can use older versions of the MCUXpresso Secure Provisioning Tool, for example version 7.0. You can see in the log, calls to the elftosb GUI&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1734469593617.png" style="width: 733px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316350iD18CC5653704EB9F/image-dimensions/733x373?v=v2" width="733" height="373" role="button" title="diego_charles_0-1734469593617.png" alt="diego_charles_0-1734469593617.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However,&amp;nbsp; it is always better if you use latest versions. For example MCUXPresso Secure Provisioning Tool v10, which does use nxpimage instead.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1734469719197.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316352iFCC65F3609DD1B66/image-dimensions/700x376?v=v2" width="700" height="376" role="button" title="diego_charles_1-1734469719197.png" alt="diego_charles_1-1734469719197.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope this could help you.&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 21:12:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2015551#M32939</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-12-17T21:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use elftosb to generate image with plain CRC on bootup enabled?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2016156#M32952</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;Thanks for the response.&amp;nbsp; All I need is to be able to generate the plain CRC value for a load to RAM application on the&amp;nbsp;MIMXRT685SFAWB, but I've been unable to find straightforward documentation that describes how to do this.&amp;nbsp; It all seems to be focused on using the more secure options.&amp;nbsp; Where may I find step-by-step instructions for generating the plain CRC value&amp;nbsp;for a load to RAM application on the&amp;nbsp;MIMXRT685SFAWB?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 15:11:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2016156#M32952</guid>
      <dc:creator>pcpro1789</dc:creator>
      <dc:date>2024-12-18T15:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use elftosb to generate image with plain CRC on bootup enabled?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2020097#M33008</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240689"&gt;@pcpro1789&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My apologies for the delayed response.&lt;/P&gt;
&lt;P&gt;I want to understand better your goal, could you help me?&lt;/P&gt;
&lt;P&gt;The RT600 supports booting plain images&amp;nbsp; with CRC&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1735321507090.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317507i45F334EE494FE9D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_0-1735321507090.png" alt="diego_charles_0-1735321507090.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Those images can be non-XIP or XIP&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1735321554949.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317509i9BEA3330FC0FD2C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_2-1735321554949.png" alt="diego_charles_2-1735321554949.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do you need booting this kind of images with CRC or only the computed CRC value?&lt;/P&gt;
&lt;P&gt;Happy holidays,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&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>Fri, 27 Dec 2024 17:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2020097#M33008</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-12-27T17:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use elftosb to generate image with plain CRC on bootup enabled?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2020110#M33010</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;.&amp;nbsp; To my knowledge, I need help calculating the CRC value that needs to be populated at offset 0x28, as well as ensuring that CRC validation is actually happening.&amp;nbsp; The image length is populated at offset 0x20, and the value 0x2 (plain image with CRC - load to RAM) is populated at offset 0x24.&lt;/P&gt;&lt;P&gt;I've been working from the assumption that the internally calculated CRC at bootup uses the built-in CRC Engine module.&amp;nbsp; From that, I've developed an algorithm to calculate the CRC based on the flowchart in the attached PDF.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, it does not appear that CRC validation is being performed at bootup.&amp;nbsp; That is, even if I deliberately invalidate the CRC, the firmware application still runs.&amp;nbsp; My expectation was that the device would get stuck in the bootloader.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 19:10:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2020110#M33010</guid>
      <dc:creator>pcpro1789</dc:creator>
      <dc:date>2024-12-27T19:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use elftosb to generate image with plain CRC on bootup enabled?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2024351#M33128</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240689"&gt;@pcpro1789&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your patience and additional details!&lt;/P&gt;
&lt;P&gt;How are you invalidating the CRC? Are you modiying this parameter in the image binary and then programming the image?&lt;/P&gt;
&lt;P&gt;Btw, I am sorry, I&amp;nbsp; can not see the&amp;nbsp; the attached PDF, is this a document from us? Would you&amp;nbsp; please let me know where to find the document or attach it again?&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 23:32:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2024351#M33128</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2025-01-08T23:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use elftosb to generate image with plain CRC on bootup enabled?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2024898#M33140</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;I am trying to calculate the CRC to insert into a production binary image at offset 0x28.&amp;nbsp; The flowchart mentioned in my earlier response is attached here.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 14:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2024898#M33140</guid>
      <dc:creator>pcpro1789</dc:creator>
      <dc:date>2025-01-09T14:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use elftosb to generate image with plain CRC on bootup enabled?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2033504#M33296</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240689"&gt;@pcpro1789&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply and patience.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I just want to maintain you updated, and apologize for the delayed response. With regards to this: &lt;SPAN&gt;To my knowledge, I need help calculating the CRC value that needs to be populated at offset 0x28, as well as ensuring that CRC validation is actually happening.&amp;nbsp; &lt;/SPAN&gt;I am testing on my end using the MCUXpresso Secure Provisioning Tool.&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 00:47:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2033504#M33296</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2025-01-24T00:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use elftosb to generate image with plain CRC on bootup enabled?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2034838#M33318</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240689"&gt;@pcpro1789&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I send you an email on your ticket &lt;SPAN&gt;00654062&amp;nbsp;Implementing CRC32 Image Check in Bootloader, please check&amp;nbsp; your email inbox and let me know, any comments &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Diego&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 23:59:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-use-elftosb-to-generate-image-with-plain-CRC-on-bootup/m-p/2034838#M33318</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2025-01-27T23:59:42Z</dc:date>
    </item>
  </channel>
</rss>

