<?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: fail to generate signed boot image from my own bootloader in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2018245#M2230</link>
    <description>&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;Thanks for your reply.In my environment,elftosb can work but no effective output.The size of bootloader_signed.bin is 0.My elftosb version is also 4.0.0.&lt;/P&gt;&lt;P&gt;Can you check your output in your side?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="goodboy2024_0-1734921375827.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316962i446E2CA63693A894/image-size/medium?v=v2&amp;amp;px=400" role="button" title="goodboy2024_0-1734921375827.png" alt="goodboy2024_0-1734921375827.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Dec 2024 02:41:48 GMT</pubDate>
    <dc:creator>goodboy2024</dc:creator>
    <dc:date>2024-12-23T02:41:48Z</dc:date>
    <item>
      <title>fail to generate signed boot image from my own bootloader</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2016946#M2211</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Our product board use imxrt1061. There are two parts in our firmware running on RT1061, bootloader and app.The firmware is saved on extern QSPI Nor flash.We want to use HAB to secure the&amp;nbsp;bootloader.But I cannot&amp;nbsp;generate signed binary file from bootloader.elf using&amp;nbsp;elftosb.Attached zip file is the bootloader.efl and bd file.The bd file is the same as the one in fold Flashloader_RT106x_1.0_GA\Tools\bd_file\imx10xx.The command execution is as below:&lt;/P&gt;&lt;P&gt;c:\work\project\LYG\secure_boot\Flashloader_RT106x_1.0_GA\Tools\elftosb\win&amp;gt;elftosb -f imx -V -d -c imx-flexspinor-normal-signed.bd -o bootloader_signed.bin bootloader.elf&lt;BR /&gt;positional args:&lt;BR /&gt;0: bootloader.elf&lt;BR /&gt;source elfFile =&amp;gt; extern(0=bootloader.elf)&lt;BR /&gt;Section: 0x14&lt;BR /&gt;Section: 0x15&lt;BR /&gt;Section: 0x16&lt;BR /&gt;Section: 0x18&lt;BR /&gt;Section: 0x19&lt;BR /&gt;Section: 0x1a&lt;BR /&gt;Section: 0x1f&lt;BR /&gt;Section: 0x21&lt;BR /&gt;filtering sections of file: bootloader.elf&lt;BR /&gt;creating segment for section RW_m_config_text&lt;BR /&gt;creating segment for section RW_m_ivt_text&lt;BR /&gt;creating segment for section VECTOR_ROM&lt;BR /&gt;creating segment for section ER_m_text&lt;BR /&gt;creating segment for section RW_m_data1&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you help me figure out what I might be doing wrong ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 07:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2016946#M2211</guid>
      <dc:creator>goodboy2024</dc:creator>
      <dc:date>2024-12-19T07:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: fail to generate signed boot image from my own bootloader</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2017772#M2220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/104793"&gt;@goodboy2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please give more details with error log, I am not sure which version are you using, how to reproduce it. I checked from my side, it seems works well.&lt;/P&gt;
&lt;P&gt;FYI:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/MBOOTELFTOSBUG.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/MBOOTELFTOSBUG.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;$&amp;nbsp;elftosb.exe -v&lt;/P&gt;
&lt;P&gt;elftosb 4.0.0&lt;BR /&gt;Copyright (c) 2004-2015 Freescale Semiconductor, Inc.&lt;BR /&gt;Copyright 2016-2018 NXP&lt;BR /&gt;All rights reserved.&lt;/P&gt;
&lt;P&gt;$ elftosb.exe -f imx -V -d -c imx-flexspinor-normal-signed.bd -o bootloader_signed.bin bootloader.elf&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;positional args:&lt;BR /&gt;0: bootloader.elf&lt;BR /&gt;source elfFile =&amp;gt; extern(0=bootloader.elf)&lt;BR /&gt;Section: 0x14&lt;BR /&gt;Section: 0x15&lt;BR /&gt;Section: 0x16&lt;BR /&gt;Section: 0x18&lt;BR /&gt;Section: 0x19&lt;BR /&gt;Section: 0x1a&lt;BR /&gt;Section: 0x1f&lt;BR /&gt;Section: 0x21&lt;BR /&gt;filtering sections of file: bootloader.elf&lt;BR /&gt;creating segment for section RW_m_config_text&lt;BR /&gt;creating segment for section RW_m_ivt_text&lt;BR /&gt;creating segment for section VECTOR_ROM&lt;BR /&gt;creating segment for section ER_m_text&lt;BR /&gt;creating segment for section RW_m_data1&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 09:01:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2017772#M2220</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2024-12-20T09:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: fail to generate signed boot image from my own bootloader</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2018245#M2230</link>
      <description>&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;Thanks for your reply.In my environment,elftosb can work but no effective output.The size of bootloader_signed.bin is 0.My elftosb version is also 4.0.0.&lt;/P&gt;&lt;P&gt;Can you check your output in your side?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="goodboy2024_0-1734921375827.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316962i446E2CA63693A894/image-size/medium?v=v2&amp;amp;px=400" role="button" title="goodboy2024_0-1734921375827.png" alt="goodboy2024_0-1734921375827.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 02:41:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2018245#M2230</guid>
      <dc:creator>goodboy2024</dc:creator>
      <dc:date>2024-12-23T02:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: fail to generate signed boot image from my own bootloader</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2018950#M2245</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/104793"&gt;@goodboy2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you please give me some background about this issue and which documentaion are you using in details so that I can support more efficient.&lt;/P&gt;
&lt;P&gt;1. Normal Boottable Image: elftosb&amp;nbsp; -f&amp;nbsp; imx&amp;nbsp; -V&amp;nbsp; -c&amp;nbsp; xxx.bd&amp;nbsp; -o&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;xx_signed.bin&amp;nbsp;&lt;/STRONG&gt; xxx.elf&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;Generate SB file for FlexSPI NOR Image encryption&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;Generate SB file for FlexSPI NAND image programming&lt;/P&gt;
&lt;P&gt;4. ....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this issue, it may cause by some incorrect keys(keys/SRK_1_2_3_4_table.bin) which can be found in xxx.bd files.&lt;/P&gt;
&lt;P&gt;More details, please refer to this post:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/elftosb-command-file/m-p/844844" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/elftosb-command-file/m-p/844844&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 07:32:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2018950#M2245</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2024-12-24T07:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: fail to generate signed boot image from my own bootloader</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2019320#M2249</link>
      <description>&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;The signed image is generated with a GUI tool.Attached has four image files:&lt;/P&gt;&lt;P&gt;BOOTLOADER.axf/BOOTLOADER.bin:&amp;nbsp; generated by our ARM MDK project&lt;/P&gt;&lt;P&gt;ivt_BOOTLOADER_signed.bin/&amp;nbsp;ivt_BOOTLOADER_signed_nopadding.bin：generated by&amp;nbsp;NXP-MCUBootUtility-6.3.0&lt;/P&gt;&lt;P&gt;I program&amp;nbsp;BOOTLOADER.bin to our product board with JLINK,the board can setup .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ivt_BOOTLOADER_signed.bin or &amp;nbsp;ivt_BOOTLOADER_signed_nopadding.bin is&amp;nbsp;programed the same way,the board cannot setup.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is there anything wrong with the signed image? Could you help me figure out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2024 09:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2019320#M2249</guid>
      <dc:creator>goodboy2024</dc:creator>
      <dc:date>2024-12-25T09:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: fail to generate signed boot image from my own bootloader</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2026568#M2341</link>
      <description>&lt;P&gt;Would you please help give more details step by step? how about the trace log when issue happened?&lt;/P&gt;
&lt;P&gt;Here is a chinese guide&amp;nbsp;&lt;A href="https://www.cnblogs.com/henjay724/p/10189593.html" target="_blank"&gt;https://www.cnblogs.com/henjay724/p/10189593.html&lt;/A&gt;&amp;nbsp;, please note it depends hab cst tools.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 08:36:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/fail-to-generate-signed-boot-image-from-my-own-bootloader/m-p/2026568#M2341</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2025-01-13T08:36:16Z</dc:date>
    </item>
  </channel>
</rss>

