<?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: How to make .bin from .elf in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-bin-from-elf/m-p/909650#M137055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Files&amp;nbsp; .elf and .bin are really just different formats of the same code / data.&lt;/P&gt;&lt;P&gt;In .elf code / data are stored in records with headers, also additional information&amp;nbsp;&lt;/P&gt;&lt;P&gt;is added, say for debugging. In .bin memory image is stored.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If Your debugger can load and run .elf, using own loader, understanding .elf format - apply it.&lt;/P&gt;&lt;P&gt;Note - special command should be used to load .elf - it is not just copy image file to memory,&lt;/P&gt;&lt;P&gt;byte-to-byte, as for the .bin.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Your steps are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2019 02:53:46 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2019-09-13T02:53:46Z</dc:date>
    <item>
      <title>How to make .bin from .elf</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-bin-from-elf/m-p/909647#M137052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to try DDR Stress test via JTAG interface with i.MX6SL.&lt;/P&gt;&lt;P&gt;According to the following link, user use elf file which is in&amp;nbsp;ddr_stress_tester_jtag_vX.xx.zip and makes use of *.bin file output.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105652"&gt;i.MX6/7 DDR Stress Test Tool V3.00&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0170.pdf" title="http://cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0170.pdf"&gt;http://cache.freescale.com/files/training/doc/ftf/2014/FTF-SDS-F0170.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to convert from elf to bin file with following link but failed.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0805bj/CACDFBIF.html"&gt;http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0805bj/CACDFBIF.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you tell me how to get a bin file to use DDR Stress Test via JTAG ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Background of the question]&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to try DDR Stress test via JTAG interface and unzip a&amp;nbsp;ddr_stress_tester_jtag_vX.xx.zip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then, I got .elf but those files exceeded capacity of internal RAM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I think I need to get bin file from it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ko-hey&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 05:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-bin-from-elf/m-p/909647#M137052</guid>
      <dc:creator>ko-hey</dc:creator>
      <dc:date>2019-09-11T05:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to make .bin from .elf</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-bin-from-elf/m-p/909648#M137053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; Using .elf with JTAG is quite reasonable way. The program in itself in .elf format&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;uses the same target memory as in just memory image in .bin. But usually it is needed&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;to perform system / memory initialization, provided by corresponding initialization script. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; Examples of the initialization script may be found in &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;ddr_stress_tester_v3.00\script\mx6sl\&lt;/STRONG&gt; directory&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 06:49:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-bin-from-elf/m-p/909648#M137053</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-09-12T06:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to make .bin from .elf</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-bin-from-elf/m-p/909649#M137054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/YuriMuhin_ng"&gt;YuriMuhin_ng&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reply.&lt;/P&gt;&lt;P&gt;Do you say it doesn't need to convert to bin from elf file ?&lt;/P&gt;&lt;P&gt;Does it no matter that the elf file exceeds the&amp;nbsp;capacity of internal RAM ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are the following steps correct ?&lt;/P&gt;&lt;P&gt;1. User runs&amp;nbsp;DRAM init which is in&amp;nbsp;ddr_stress_tester_v3.00\script\mx6sl\ directory.&lt;/P&gt;&lt;P&gt;2. User loads&amp;nbsp;ddr_stress_tester_jtag_v3.00\ddr-test-uboot-jtag-mx6sl.elf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;ko-hey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 23:29:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-bin-from-elf/m-p/909649#M137054</guid>
      <dc:creator>ko-hey</dc:creator>
      <dc:date>2019-09-12T23:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to make .bin from .elf</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-make-bin-from-elf/m-p/909650#M137055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Files&amp;nbsp; .elf and .bin are really just different formats of the same code / data.&lt;/P&gt;&lt;P&gt;In .elf code / data are stored in records with headers, also additional information&amp;nbsp;&lt;/P&gt;&lt;P&gt;is added, say for debugging. In .bin memory image is stored.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If Your debugger can load and run .elf, using own loader, understanding .elf format - apply it.&lt;/P&gt;&lt;P&gt;Note - special command should be used to load .elf - it is not just copy image file to memory,&lt;/P&gt;&lt;P&gt;byte-to-byte, as for the .bin.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Your steps are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2019 02:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-make-bin-from-elf/m-p/909650#M137055</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-09-13T02:53:46Z</dc:date>
    </item>
  </channel>
</rss>

