<?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>i.MX ProcessorsのトピックRe: elftosb output is 0 bytes</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1258576#M172236</link>
    <description>&lt;P&gt;This is what I did only at the point at first the &lt;STRONG&gt;elftosb&lt;/STRONG&gt; line the output of the bin file is 0 bytes. I only used a different bd file. Because it is not clear to me which one to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it is not so good idea to take a obscure github tool to do your image signing if it is not your hobby project.&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>Thu, 08 Apr 2021 06:13:32 GMT</pubDate>
    <dc:creator>e_v_spronsen</dc:creator>
    <dc:date>2021-04-08T06:13:32Z</dc:date>
    <item>
      <title>elftosb output is 0 bytes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1257353#M172140</link>
      <description>&lt;P&gt;I'm trying to make a bootable images without any success.&lt;BR /&gt;I compiled the blinky example with the options:&lt;BR /&gt;XIP_BOOT_HEADER_ENABLE=0 and XIP_BOOT_HEADER_DCD_ENABLE=0&lt;/P&gt;&lt;P&gt;next I tried to build the image with the following command:&lt;BR /&gt;elftosb -f imx -V -c imx-dtcm-unsigned.bd -o evkmimxrt1064_iled_blinky.bin evkmimxrt1064_iled_blinky.s19&lt;BR /&gt;Section: 0x0&lt;/P&gt;&lt;P&gt;No error message. But the bin file size is 0 bytes any suggestion what is wrong?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 13:43:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1257353#M172140</guid>
      <dc:creator>e_v_spronsen</dc:creator>
      <dc:date>2021-04-06T13:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: elftosb output is 0 bytes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1258214#M172211</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to the following community document, which explains step-by-step how to generate a bootable image.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Generating-a-Bootable-Image-for-the-RT1050/ta-p/1123079" target="_blank"&gt;Generating a Bootable Image for the RT1050 - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also, you could use the MCUBootUtility.&amp;nbsp;This tool was created by a co-worker. It's an automated way to do all the steps mentioned in the above community document. You can download this tool from the following repository. In the repository, you will find the instructions on how this tool works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/JayHeng/NXP-MCUBootUtility" target="_blank"&gt;GitHub - JayHeng/NXP-MCUBootUtility: A one-stop boot utility tool based on Python2.7+wxPython4.0, it can help you get started with NXP MCU (i.MXRT,LPC,Kinetis...) secure boot easily | 恩智浦MCU安全启动一站式工具（研发模式），既可独立使用也可配合MfgTool或RT-Flash，助你轻松入门安全加密启动&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Victor&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 18:07:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1258214#M172211</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2021-04-07T18:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: elftosb output is 0 bytes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1258576#M172236</link>
      <description>&lt;P&gt;This is what I did only at the point at first the &lt;STRONG&gt;elftosb&lt;/STRONG&gt; line the output of the bin file is 0 bytes. I only used a different bd file. Because it is not clear to me which one to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it is not so good idea to take a obscure github tool to do your image signing if it is not your hobby project.&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>Thu, 08 Apr 2021 06:13:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1258576#M172236</guid>
      <dc:creator>e_v_spronsen</dc:creator>
      <dc:date>2021-04-08T06:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: elftosb output is 0 bytes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1259115#M172293</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What RT are you using? Where do you want to flash your application? This will determine which bd file you have to use. Please share a screenshot of your cmd windows to see the command along with its output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the MCUBootUtility, the tool is very robust. We have several customers that used this in their production environment and never had any type of problems.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Victor&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 20:31:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1259115#M172293</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2021-04-08T20:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: elftosb output is 0 bytes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1259400#M172322</link>
      <description>&lt;P&gt;I'm using the RT1064.&lt;/P&gt;&lt;P&gt;This is the line i'm using with result of the tool:&lt;/P&gt;&lt;P&gt;elftosb -f imx -V -c imx-dtcm-unsigned.bd -o evkmimxrt1064_iled_blinky.bin evkmimxrt1064_iled_blinky.s19&lt;BR /&gt;Section: 0x0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please point me at a document where the different bd files are explained.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't a bit odd that NXP have to recommend a public tool over there own tools,&amp;nbsp; because they did a better job.&amp;nbsp; Signing a application is creating a chain of trust. Please explain to me how/why I can trust the tool MCUBootUtility?&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, 09 Apr 2021 06:41:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1259400#M172322</guid>
      <dc:creator>e_v_spronsen</dc:creator>
      <dc:date>2021-04-09T06:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: elftosb output is 0 bytes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1261422#M172539</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The bd file that you are using is for when you are trying to load your image into the internal DTCM SRAM. Do you want to load your image into this memory? If not, then you should not be using this bd file. For loading this into the on-chip flash of the RT1064, the bd file that you need to use is the&amp;nbsp;program_flexspi2nor_image_qspinor.bd&lt;/P&gt;
&lt;P&gt;If you don't want to use the MCUBootUtility tool,&amp;nbsp;you could use the MCUXpresso Secure Provisioning Tool. This is an official tool.&amp;nbsp;The MCUXpresso Secure Provisioning Tool is a GUI-based application provided to simplify the generation and provisioning of bootable executables on NXP MCU devices.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-secure-provisioning-tool:MCUXPRESSO-SECURE-PROVISIONING" target="_blank" rel="noopener"&gt;MCUXpresso Secure Provisioning Tool | NXP Semiconductors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here's some training material that explains step-by-step how to use this tool.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/training/getting-starting-with-mcuxpresso-secure-provisioning-tool:TIP-MCUXPRESSO-SECURE-PROVISIONING-TOOL" target="_blank" rel="noopener"&gt;Getting Starting with MCUXpresso Secure Provisioning Tool | NXP Semiconductors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Victor&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 14:58:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1261422#M172539</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2021-04-14T14:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: elftosb output is 0 bytes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1262002#M172586</link>
      <description>&lt;P&gt;Thanks I will look into it.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 11:58:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-output-is-0-bytes/m-p/1262002#M172586</guid>
      <dc:creator>e_v_spronsen</dc:creator>
      <dc:date>2021-04-14T11:58:55Z</dc:date>
    </item>
  </channel>
</rss>

