<?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: Failed in building signed application binary in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1930046#M31523</link>
    <description>&lt;P&gt;I think there is no need to run the image_hash_tool.py for OTA example. Because the OTA application image is loader by MCUBOOT bootloader, not the BOOT ROM of RT1180.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide the post build script to sign the OTA application image? I tried several time refer to the readme.md, but failed to load OTA image.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2024 08:49:19 GMT</pubDate>
    <dc:creator>shengs</dc:creator>
    <dc:date>2024-08-12T08:49:19Z</dc:date>
    <item>
      <title>Failed in building signed application binary</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1925984#M31445</link>
      <description>&lt;P&gt;&lt;LI-PRODUCT title="i.MX-RT1180" id="i.MX-RT1180"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="MCUBOOT" id="MCUBOOT"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;你好，我在尝试运行MCUBOOT的例程，在编译OTA例程时无法生成signed固件，请帮忙看看原因。&lt;/P&gt;&lt;P&gt;我的环境：&lt;/P&gt;&lt;P&gt;MCUXpresso IDE v11.10.0&lt;/P&gt;&lt;P&gt;MIMXRT1180-EVK board (SCH-50577 REV C3)&lt;/P&gt;&lt;P&gt;SDK v2.16.000&lt;/P&gt;&lt;P&gt;我按默认步骤导入evkmimxrt1180_mcuboot_opensource_cm33例子，编译下载后可以正常运行，该例子readme.md里有如下描述，我的理解是搭配的OTA例子，比如evkmimxrt1180_ota_mcuboot_server_enet_cm33，需要通过post-build steps生成signed的固件。&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shengs_1-1722923164640.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/292068iA3F48372EB24EA6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shengs_1-1722923164640.png" alt="shengs_1-1722923164640.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;于是，我按照默认步骤导入evkmimxrt1180_ota_mcuboot_server_enet_cm33&lt;/P&gt;&lt;P&gt;在Release模式下编译.axf文件成功，但执行post-build steps时出错，提示“&lt;STRONG&gt;Requested section .boot_hdr not found!&lt;/STRONG&gt;”。请问如何解决？&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shengs_0-1722922887722.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/292067i9D4D99AE32A2C7B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shengs_0-1722922887722.png" alt="shengs_0-1722922887722.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 05:51:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1925984#M31445</guid>
      <dc:creator>shengs</dc:creator>
      <dc:date>2024-08-06T05:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Failed in building signed application binary</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1930046#M31523</link>
      <description>&lt;P&gt;I think there is no need to run the image_hash_tool.py for OTA example. Because the OTA application image is loader by MCUBOOT bootloader, not the BOOT ROM of RT1180.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide the post build script to sign the OTA application image? I tried several time refer to the readme.md, but failed to load OTA image.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 08:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1930046#M31523</guid>
      <dc:creator>shengs</dc:creator>
      <dc:date>2024-08-12T08:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Failed in building signed application binary</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1934200#M31575</link>
      <description>&lt;P&gt;Solved by local FAE.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 23:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1934200#M31575</guid>
      <dc:creator>shengs</dc:creator>
      <dc:date>2024-08-17T23:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Failed in building signed application binary</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1935132#M31593</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202260"&gt;@shengs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks to your question, if you want to know h&lt;SPAN&gt;ow to create signed AHAB for i.MXRT118x devices, please refer to this&amp;nbsp;&lt;A href="https://spsdk.readthedocs.io/en/latest/examples/rt118x/rt118x_secure_boot.html#prepare-the-environment" target="_blank"&gt;https://spsdk.readthedocs.io/en/latest/examples/rt118x/rt118x_secure_boot.html#prepare-the-environment&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please note the resulting image must be programmed into the external memory via blhost tool.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please let me know if my understanding is wrong.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;B.R,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sam&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 10:37:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1935132#M31593</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2024-08-19T10:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Failed in building signed application binary</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1935671#M31600</link>
      <description>&lt;P&gt;Thanks for your information!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What do you mean the signed AHAB? Can you explain it?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The original purpose of this topic is to sign OTA&amp;nbsp; firmware that can be loaded by MCUBOOT example. I did the following steps, then it works.&lt;/P&gt;&lt;P&gt;1. copy "mcuboot_opensource" directory from SDK to OTA example project's "scripts" directory.&lt;/P&gt;&lt;P&gt;2. delete the original post build steps script, and replaced with "python ../scripts/mcuboot_opensource/scripts/imgtool.py sign --key ../keys/sign-rsa2048-priv.pem --align 4 --header-size 0x400 --pad-header --slot-size 0x200000 --version "1.0.2" evkmimxrt1180_ota_mcuboot_server_enet_cm33.bin ota_example_SIGNED_APP2_V1.0.2.bin"&lt;/P&gt;&lt;P&gt;3. build OTA example, right click the evkmimxrt1180_ota_mcuboot_server_enet_cm33.axf file in the Project Explorer, click "Binary Utilities"-&amp;gt;"Create binary". Then build again. So I have the signed bin file.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 00:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1935671#M31600</guid>
      <dc:creator>shengs</dc:creator>
      <dc:date>2024-08-20T00:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Failed in building signed application binary</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1958742#M31883</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202260"&gt;@shengs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well, my apologies for the delayed response.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems this issue is fixed about how to sign in RT1180 by local FAE's support.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me update some details for you, and please feel free to tell me if you have any questions.&lt;/P&gt;
&lt;P&gt;1. There is known issue about&amp;nbsp;`ota_mcuboot_server_enet_cm33` or&amp;nbsp; `mcuboot_opensource_cm33` for RT1180 SDK as you mentioned, please see below picture and comments(ota_mcuboot_server_enet_cm33\scripts\mcuxpresso\readme), it seems be not able to work with IDE + image_hash_tool.py, and you have to use&amp;nbsp;&lt;SPAN&gt;imgtool to do that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sam_Gao_0-1726829536524.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300378i61D92349631DF1A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sam_Gao_0-1726829536524.png" alt="Sam_Gao_0-1726829536524.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. About AHB, please see&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/MCUOTASBLSFWUG.pdf" target="_self"&gt;MCU-OTA SBL and SFW User Guide&lt;/A&gt;&amp;nbsp;to find&amp;nbsp;&lt;STRONG&gt;5.1.1 High Assurance Boot (HAB),&lt;/STRONG&gt;It is the high-assurance boot feature in the system boot&amp;nbsp;ROM, that detects and prevents the execution of unauthorized software (malware) during the boot sequence.&lt;BR /&gt;&lt;STRONG&gt;HAB&lt;/STRONG&gt; uses asymmetric cryptography to sign the image. The bootable image can be signed by the &lt;STRONG&gt;CST&lt;/STRONG&gt; tool (another one tool).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sam_Gao_1-1726829712042.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300379i5E35C504EDE965FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sam_Gao_1-1726829712042.png" alt="Sam_Gao_1-1726829712042.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. I assume that you want to know how OTA works, please see the reference as below.&lt;/P&gt;
&lt;OL class="lia-list-style-type-lower-roman"&gt;
&lt;LI&gt;&lt;SPAN data-fm-marker="187"&gt;&lt;A class="external-link" href="https://www.nxp.com/docs/en/application-note/AN13460.pdf?_gl=1*wr7ca7*_ga*MTAxODM3NTk4Ny4xNzE4NjE4OTc0*_ga_WM5LE0KMSH*MTcyNTMyODgwMy4xOC4xLjE3MjUzMjk4OTUuMC4wLjA." rel="nofollow" data-fm-marker="188" target="_blank"&gt;FOTA Design for SBL and SFW&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-fm-marker="189"&gt;&lt;SPAN data-fm-marker="190"&gt;&lt;A class="external-link" href="https://www.nxp.com/docs/en/application-note/AN12604.pdf" rel="nofollow" data-fm-marker="191" target="_blank"&gt;Implement Second Bootloader on i.MX RT10xx Series&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&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, 20 Sep 2024 10:59:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Failed-in-building-signed-application-binary/m-p/1958742#M31883</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2024-09-20T10:59:30Z</dc:date>
    </item>
  </channel>
</rss>

