<?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: OTA bootloader Image validation failed issue in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1512044#M21283</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192990"&gt;@PabloAvalos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;May I ask you some questions?&lt;/P&gt;&lt;P&gt;We use&amp;nbsp;Macronix MX25L25645GZ2I-08G instead of&amp;nbsp;ISSI IS25WP064AJBLE for test.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;MX25L25645GZ2I-08G NOR Flash size is different with&amp;nbsp;ISSI IS25WP064AJBLE, how could I config flash size in ota bootloader and&amp;nbsp;lwip_httpssrv_ota_enet application?&lt;/P&gt;&lt;P&gt;2. Is there any other configs I need to modify for different NOR flash?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2022 03:09:28 GMT</pubDate>
    <dc:creator>KyleHsieh</dc:creator>
    <dc:date>2022-08-26T03:09:28Z</dc:date>
    <item>
      <title>OTA bootloader Image validation failed issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1506488#M21082</link>
      <description>&lt;P&gt;Hi, I tried to update lwip_httpssrv_ota_enet image but encounterd "Image validation failed" issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried some test image on forums but still could not found the root cause of this issue.&lt;/P&gt;&lt;P&gt;The followings are my test steps, could you help us to check our steps of update image?&lt;/P&gt;&lt;P&gt;Step1.&amp;nbsp;Install MCUXpresso IDE v11.6.0 and SDK 2.10.1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step1.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190260i5D4000610BFADBEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="step1.JPG" alt="step1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step2.&amp;nbsp;Import SDK examples "lwip_httpssrv_ota_enet" and named it&amp;nbsp; "v1_lwip_httpssrv_ota_enet" and "v2_lwip_httpssrv_ota_enet"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step2.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190262iC582D491416EFFC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="step2.JPG" alt="step2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step3.&amp;nbsp;Modify the print message to identify the different image.&lt;/P&gt;&lt;P&gt;v1_lwip_httpssrv_ota_enet:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step33.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190265i67D7E2556886A6F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="step33.JPG" alt="step33.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;v2_lwip_httpssrv_ota_enet:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step34.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190266i98173496E597548E/image-size/large?v=v2&amp;amp;px=999" role="button" title="step34.JPG" alt="step34.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step4.&amp;nbsp;Release build the "v1_lwip_httpssrv_ota_enet" and "v2_lwip_httpssrv_ota_enet" project&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step3.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190263i4B8616E5269E0990/image-size/large?v=v2&amp;amp;px=999" role="button" title="step3.jpg" alt="step3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step 5. Create the binary file of "v1_lwip_httpssrv_ota_enet" and "v2_lwip_httpssrv_ota_enet"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step5.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190267i2C8729830DD4DC6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="step5.png" alt="step5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step 6. Import SDK examples "ota_bootloader", release build and create binary file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step6.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190268i659840B755433532/image-size/large?v=v2&amp;amp;px=999" role="button" title="step6.JPG" alt="step6.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step61.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190269i68575A08A2DD77CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="step61.JPG" alt="step61.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step 7. Use the GUI flash tool to flash the binary file to RT1060 EVK board.&lt;/P&gt;&lt;P&gt;evkmimxrt1060_ota_bootloader.bin(0x60000000)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step71.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190271i07BC9F2851AF1FE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="step71.jpg" alt="step71.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;v1_lwip_httpssrv_ota_enet.bin(0x60040000)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step72.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190272iF939887347282B18/image-size/large?v=v2&amp;amp;px=999" role="button" title="step72.jpg" alt="step72.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step 8. Connect RT1060 EVK to COM10 and it will show the following messages.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step8.JPG" style="width: 979px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190273i11A054FB933BAE6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="step8.JPG" alt="step8.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Step 9. Upload "v2_lwip_httpssrv_ota_enet.bin" by GUI&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step9.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190274iABE2205EF1869BB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="step9.JPG" alt="step9.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step91.JPG" style="width: 978px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190275i9421DCCF3A2D58FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="step91.JPG" alt="step91.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After Reboot, click "Accept Update"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step92.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190276iC0E6E4EFD0B59E04/image-size/large?v=v2&amp;amp;px=999" role="button" title="step92.JPG" alt="step92.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The console will show the "update_image_state(3): 0".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step93.JPG" style="width: 977px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190277i489ACD4D3126D9A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="step93.JPG" alt="step93.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And Reboot again, we will show the application already change to v2 app.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step94.JPG" style="width: 976px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190278i310904AC34D8B77C/image-size/large?v=v2&amp;amp;px=999" role="button" title="step94.JPG" alt="step94.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step 10. But if I would like to upload "v1_lwip_httpssrv_ota_enet.bin" bu web GUI again, it will shown the "Image validation failed".&lt;/P&gt;&lt;P&gt;Is there any steps uncorrect and caused this error?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="step10.JPG" style="width: 982px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190280i85ADACF7C9797CCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="step10.JPG" alt="step10.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I uploaded my binary file as attachment, could you help us to check this issue?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 03:42:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1506488#M21082</guid>
      <dc:creator>KyleHsieh</dc:creator>
      <dc:date>2022-08-16T03:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: OTA bootloader Image validation failed issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1507121#M21103</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After upgraded successful at step 9, I found that application check size of the image failed while running "bl_verify_image((void *)update_partition.start, stored" function at step10.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="check size failed.JPG" style="width: 793px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/190435i7D8A14FECC99CB82/image-size/large?v=v2&amp;amp;px=999" role="button" title="check size failed.JPG" alt="check size failed.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;May I ask what's the difference after I first time upgraded the image?&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 01:56:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1507121#M21103</guid>
      <dc:creator>KyleHsieh</dc:creator>
      <dc:date>2022-08-17T01:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: OTA bootloader Image validation failed issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1508495#M21155</link>
      <description>&lt;P&gt;I found this issue was caused by I used different QSPI flash, how can I config for different size NOR flash to avoid this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 02:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1508495#M21155</guid>
      <dc:creator>KyleHsieh</dc:creator>
      <dc:date>2022-08-19T02:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: OTA bootloader Image validation failed issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1511807#M21277</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195330"&gt;@KyleHsieh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please accept my apologies for the delay on my response. I really appreciate your patience. Ann also, thanks a lot for your updates on the thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, regarding your main issue, you have already hit the nail on the head, right? And also I will double-check with my teammates how to configurate it for a different NOR flash size, I will ask for you a little bit more time to reach you back with a proper answer. I apology for the issues that this might cause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you find well, please let me know any update or some more questions you have. We are to gladly assist you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;BR /&gt;Pablo Avalos.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 14:18:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1511807#M21277</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2022-08-25T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: OTA bootloader Image validation failed issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1512044#M21283</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192990"&gt;@PabloAvalos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;May I ask you some questions?&lt;/P&gt;&lt;P&gt;We use&amp;nbsp;Macronix MX25L25645GZ2I-08G instead of&amp;nbsp;ISSI IS25WP064AJBLE for test.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;MX25L25645GZ2I-08G NOR Flash size is different with&amp;nbsp;ISSI IS25WP064AJBLE, how could I config flash size in ota bootloader and&amp;nbsp;lwip_httpssrv_ota_enet application?&lt;/P&gt;&lt;P&gt;2. Is there any other configs I need to modify for different NOR flash?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 03:09:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1512044#M21283</guid>
      <dc:creator>KyleHsieh</dc:creator>
      <dc:date>2022-08-26T03:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: OTA bootloader Image validation failed issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1515748#M21423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195330"&gt;@KyleHsieh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for your patience and I apology for the delay on my response and the inconvenience that this might cause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your questions, I think you may load your image file through the MCU Boot Utility by configuring the NOR flash size that you are going to use.&lt;/P&gt;
&lt;P&gt;You may go to the correspondent tab and select your Micronix Flash and configure it before loading the image:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PabloAvalos_0-1662053140652.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192185i8358088D1433FE55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PabloAvalos_0-1662053140652.png" alt="PabloAvalos_0-1662053140652.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PabloAvalos_1-1662053172511.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192186i9F08554678483DA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PabloAvalos_1-1662053172511.png" alt="PabloAvalos_1-1662053172511.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you, please let me know if you have more questions or doubts about it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards.&lt;BR /&gt;Pablo Avalos.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 17:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTA-bootloader-Image-validation-failed-issue/m-p/1515748#M21423</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2022-09-01T17:27:02Z</dc:date>
    </item>
  </channel>
</rss>

