<?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 Using elftosb with ARM GCC Compiler and Linker, Part 2 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-elftosb-with-ARM-GCC-Compiler-and-Linker-Part-2/m-p/1474007#M191491</link>
    <description>&lt;P&gt;This is a continuation of &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Using-elftosb-Utility-with-GCC-Compiler-and-Linker/m-p/1453118" target="_self"&gt;"Using elftosb Utility with GCC Compiler and Linker":&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We're using &lt;A href="https://developer.arm.com/downloads/-/gnu-rm" target="_self"&gt;gcc-arm-none-eabi 0.3-2021.10&lt;/A&gt; (&lt;A href="https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2" target="_self"&gt;arm-none-eabi-g++&lt;/A&gt;) to compile and link.&amp;nbsp; Then, because for our project constraints we have to do everything in command line, we have to use sdphost and blhost to flash our MCU with the .sb (secure binary) created from elfosb, all from command line.&lt;/P&gt;&lt;P&gt;How should I use the elftosb command in Linux (i.e. what options and option values should I use)? For example, I used&lt;/P&gt;&lt;P&gt;sudo elftosb -f imx -V -c imx_application_gen.bd -o my_output.bin my_input.s19&lt;/P&gt;&lt;P&gt;Is this correct?&lt;/P&gt;&lt;P&gt;What should be the contents of my .bd file?&lt;/P&gt;&lt;P&gt;Included is the srec that comes out of the ARM gcc compiler and using objcopy to get it into the srec format.&lt;/P&gt;&lt;P&gt;cc &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/198987"&gt;@mjpovi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 02:48:11 GMT</pubDate>
    <dc:creator>ernest_yeung_terran</dc:creator>
    <dc:date>2022-06-15T02:48:11Z</dc:date>
    <item>
      <title>Using elftosb with ARM GCC Compiler and Linker, Part 2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-elftosb-with-ARM-GCC-Compiler-and-Linker-Part-2/m-p/1474007#M191491</link>
      <description>&lt;P&gt;This is a continuation of &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Using-elftosb-Utility-with-GCC-Compiler-and-Linker/m-p/1453118" target="_self"&gt;"Using elftosb Utility with GCC Compiler and Linker":&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We're using &lt;A href="https://developer.arm.com/downloads/-/gnu-rm" target="_self"&gt;gcc-arm-none-eabi 0.3-2021.10&lt;/A&gt; (&lt;A href="https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2" target="_self"&gt;arm-none-eabi-g++&lt;/A&gt;) to compile and link.&amp;nbsp; Then, because for our project constraints we have to do everything in command line, we have to use sdphost and blhost to flash our MCU with the .sb (secure binary) created from elfosb, all from command line.&lt;/P&gt;&lt;P&gt;How should I use the elftosb command in Linux (i.e. what options and option values should I use)? For example, I used&lt;/P&gt;&lt;P&gt;sudo elftosb -f imx -V -c imx_application_gen.bd -o my_output.bin my_input.s19&lt;/P&gt;&lt;P&gt;Is this correct?&lt;/P&gt;&lt;P&gt;What should be the contents of my .bd file?&lt;/P&gt;&lt;P&gt;Included is the srec that comes out of the ARM gcc compiler and using objcopy to get it into the srec format.&lt;/P&gt;&lt;P&gt;cc &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/198987"&gt;@mjpovi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 02:48:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-elftosb-with-ARM-GCC-Compiler-and-Linker-Part-2/m-p/1474007#M191491</guid>
      <dc:creator>ernest_yeung_terran</dc:creator>
      <dc:date>2022-06-15T02:48:11Z</dc:date>
    </item>
  </channel>
</rss>

