<?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のトピックelftosb bad convert</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-bad-convert/m-p/730198#M113552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon. It is not possible to add the IVT header for the axf file, the final file is then clipped.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54047i5453A402FF18D66F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Input parameters:&lt;/P&gt;&lt;P&gt;scf - file:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#! armcc -E&lt;/P&gt;&lt;P&gt;#define m_interrupts_start 0x00002000&lt;BR /&gt;#define m_interrupts_size 0x00000400&lt;/P&gt;&lt;P&gt;#define m_text_start m_interrupts_start + m_interrupts_size&lt;BR /&gt;#define m_text_size 0x00020000 - m_interrupts_size&lt;/P&gt;&lt;P&gt;#define m_data_start 0x20000000&lt;BR /&gt;#define m_data_size 0x00020000&lt;/P&gt;&lt;P&gt;/* Sizes */&lt;BR /&gt;#if (defined(__stack_size__))&lt;BR /&gt; #define Stack_Size __stack_size__&lt;BR /&gt;#else&lt;BR /&gt; #define Stack_Size 0x0400&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#if (defined(__heap_size__))&lt;BR /&gt; #define Heap_Size __heap_size__&lt;BR /&gt;#else&lt;BR /&gt; #define Heap_Size 0x0400&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;LR_m_text m_interrupts_start m_text_start+m_text_size-m_interrupts_size { ; load region size_region&lt;BR /&gt; VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address&lt;BR /&gt; * (RESET,+FIRST)&lt;BR /&gt; }&lt;BR /&gt; ER_m_text m_text_start m_text_size { ; load address = execution address&lt;BR /&gt; * (InRoot$$Sections)&lt;BR /&gt; .ANY (+RO)&lt;BR /&gt; }&lt;BR /&gt; RW_m_data m_data_start m_data_size-Stack_Size-Heap_Size { ; RW data&lt;BR /&gt; .ANY (+RW +ZI)&lt;BR /&gt; * (NonCacheable.init)&lt;BR /&gt; * (NonCacheable) &lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;ARM_LIB_HEAP +0 EMPTY Heap_Size { ; Heap region growing up&lt;BR /&gt; }&lt;BR /&gt; ARM_LIB_STACK m_data_start+m_data_size EMPTY -Stack_Size { ; Stack region growing down&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;imx-itcm-unsigned.bd:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;options {&lt;BR /&gt; flags = 0x00;&lt;BR /&gt; startAddress = 0x0000;&lt;BR /&gt; ivtOffset = 0x00001000;&lt;BR /&gt; initialLoadSize = 0x00002000; &lt;BR /&gt; entryPointAddress = 0x00002000;&lt;BR /&gt; DCDFilePath = "dcd.bin";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;sources {&lt;BR /&gt; elfFile = extern(0);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;section (0)&lt;BR /&gt;{&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Run elftosb:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;elftosb.exe -d -f imx -V -c imx-itcm-unsigned.bd -o ivt_ECP_RT1052_Release.bin ECP_RT1052_Release.axf&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The elftosb utility is very unstable, constantly crashes.&lt;/P&gt;&lt;P&gt;For example, the following situation leads to departure:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;RW_m_data m_data_start m_data_size-Stack_Size-Heap_Size { ; RW data&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;.ANY (+RW +ZI)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #f6f6f6;"&gt;.ANY (+RO)&lt;/STRONG&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;* (NonCacheable.init)&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;* (NonCacheable)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell me how to properly process the elf file?&lt;/P&gt;&lt;P&gt;Sorry for bad English&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2018 06:31:05 GMT</pubDate>
    <dc:creator>dark0711</dc:creator>
    <dc:date>2018-05-29T06:31:05Z</dc:date>
    <item>
      <title>elftosb bad convert</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-bad-convert/m-p/730198#M113552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon. It is not possible to add the IVT header for the axf file, the final file is then clipped.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54047i5453A402FF18D66F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Input parameters:&lt;/P&gt;&lt;P&gt;scf - file:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#! armcc -E&lt;/P&gt;&lt;P&gt;#define m_interrupts_start 0x00002000&lt;BR /&gt;#define m_interrupts_size 0x00000400&lt;/P&gt;&lt;P&gt;#define m_text_start m_interrupts_start + m_interrupts_size&lt;BR /&gt;#define m_text_size 0x00020000 - m_interrupts_size&lt;/P&gt;&lt;P&gt;#define m_data_start 0x20000000&lt;BR /&gt;#define m_data_size 0x00020000&lt;/P&gt;&lt;P&gt;/* Sizes */&lt;BR /&gt;#if (defined(__stack_size__))&lt;BR /&gt; #define Stack_Size __stack_size__&lt;BR /&gt;#else&lt;BR /&gt; #define Stack_Size 0x0400&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#if (defined(__heap_size__))&lt;BR /&gt; #define Heap_Size __heap_size__&lt;BR /&gt;#else&lt;BR /&gt; #define Heap_Size 0x0400&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;LR_m_text m_interrupts_start m_text_start+m_text_size-m_interrupts_size { ; load region size_region&lt;BR /&gt; VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address&lt;BR /&gt; * (RESET,+FIRST)&lt;BR /&gt; }&lt;BR /&gt; ER_m_text m_text_start m_text_size { ; load address = execution address&lt;BR /&gt; * (InRoot$$Sections)&lt;BR /&gt; .ANY (+RO)&lt;BR /&gt; }&lt;BR /&gt; RW_m_data m_data_start m_data_size-Stack_Size-Heap_Size { ; RW data&lt;BR /&gt; .ANY (+RW +ZI)&lt;BR /&gt; * (NonCacheable.init)&lt;BR /&gt; * (NonCacheable) &lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;ARM_LIB_HEAP +0 EMPTY Heap_Size { ; Heap region growing up&lt;BR /&gt; }&lt;BR /&gt; ARM_LIB_STACK m_data_start+m_data_size EMPTY -Stack_Size { ; Stack region growing down&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;imx-itcm-unsigned.bd:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;options {&lt;BR /&gt; flags = 0x00;&lt;BR /&gt; startAddress = 0x0000;&lt;BR /&gt; ivtOffset = 0x00001000;&lt;BR /&gt; initialLoadSize = 0x00002000; &lt;BR /&gt; entryPointAddress = 0x00002000;&lt;BR /&gt; DCDFilePath = "dcd.bin";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;sources {&lt;BR /&gt; elfFile = extern(0);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;section (0)&lt;BR /&gt;{&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Run elftosb:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;elftosb.exe -d -f imx -V -c imx-itcm-unsigned.bd -o ivt_ECP_RT1052_Release.bin ECP_RT1052_Release.axf&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The elftosb utility is very unstable, constantly crashes.&lt;/P&gt;&lt;P&gt;For example, the following situation leads to departure:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;RW_m_data m_data_start m_data_size-Stack_Size-Heap_Size { ; RW data&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;.ANY (+RW +ZI)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #f6f6f6;"&gt;.ANY (+RO)&lt;/STRONG&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;* (NonCacheable.init)&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;* (NonCacheable)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell me how to properly process the elf file?&lt;/P&gt;&lt;P&gt;Sorry for bad English&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 06:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-bad-convert/m-p/730198#M113552</guid>
      <dc:creator>dark0711</dc:creator>
      <dc:date>2018-05-29T06:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: elftosb bad convert</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-bad-convert/m-p/730199#M113553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anton&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check elftosb user guide&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/user-guide/KBLELFTOSBUG.pdf" title="https://www.nxp.com/docs/en/user-guide/KBLELFTOSBUG.pdf"&gt;https://www.nxp.com/docs/en/user-guide/KBLELFTOSBUG.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and look at app notes describing usage of that tool on :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/products/processors-and-microcontrollers/applications-processors/i.mx-applications-processors/i.mx-rt-series/i.mx-rt1050-crossover-processor-with-arm-cortex-m7-core:i.MX-RT1050?tab=Documentation_Tab" title="https://www.nxp.com/products/processors-and-microcontrollers/applications-processors/i.mx-applications-processors/i.mx-rt-series/i.mx-rt1050-crossover-processor-with-arm-cortex-m7-core:i.MX-RT1050?tab=Documentation_Tab"&gt;i.MX RT1050 MCU/Applications Crossover Processor | Arm® Cortex®-M7 @600 MHz, 512KB SRAM |NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 01:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-bad-convert/m-p/730199#M113553</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-05-30T01:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: elftosb bad convert</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/elftosb-bad-convert/m-p/730200#M113554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You can also try this tool, with this tool, You can flash bare image into various boot devices easily and don't need to care about headers (ivt, boot data...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A class="" href="https://github.com/JayHeng/nxp-sec-boot-ui" style="color: #2989c5; text-decoration: none;" title="https://github.com/JayHeng/nxp-sec-boot-ui"&gt;GitHub - JayHeng/nxp-sec-boot-ui: A one-stop GUI tool to work with NXP MCU (Kinetis, i.MXRT, LPC) ROM bootloader, It can…&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2018 05:39:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/elftosb-bad-convert/m-p/730200#M113554</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2018-12-23T05:39:55Z</dc:date>
    </item>
  </channel>
</rss>

