<?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>T-SeriesのトピックRe: How to disassemble a binary executable in yacto linux to get the assembly code?</title>
    <link>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882858#M3012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I done&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Yacto SDK installation directory&amp;gt;/build_t4240rdb-64b/tmp/sysroots/x86_64-linux/usr/bin/powerpc64-fsl-linux/powerpc64-fsl-linux-objdump -d u-boot-spl &amp;gt; u-boot-spl1.dis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;u-boot-spl1.dis&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u-boot-spl: file format elf32-powerpc&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Disassembly of section .text:&lt;/P&gt;&lt;P&gt;eff40000 &amp;lt;_start&amp;gt;:&lt;BR /&gt;eff40000: 27 05 19 56 dozi r24,r5,6486&lt;/P&gt;&lt;P&gt;eff40004 &amp;lt;version_string&amp;gt;:&lt;BR /&gt;eff40004: 55 2d 42 6f rlwinm. r13,r9,8,9,23&lt;/P&gt;&lt;P&gt;...................................................................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VInothS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2019 06:47:45 GMT</pubDate>
    <dc:creator>vinothkumars</dc:creator>
    <dc:date>2019-02-06T06:47:45Z</dc:date>
    <item>
      <title>How to disassemble a binary executable in yacto linux to get the assembly code?</title>
      <link>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882852#M3006</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 am using yacto with T4240 target and I built the u-boot.bin file. I want to check instruction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide command or path to generate assembly code from yacto linux executable binary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #000000; font-size: large; font-family: 'Times New Roman', serif; "&gt;&lt;STRONG&gt;QorIQ-SDK-V2.0-20160527-yocto&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" lang="en-US" style="margin-left: 1.27cm; margin-bottom: 0cm;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VinothS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 12:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882852#M3006</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-02-05T12:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to disassemble a binary executable in yacto linux to get the assembly code?</title>
      <link>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882853#M3007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Usually the following command is used for u-boot code modification:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;bitbake -c cleansstate u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;bitbake -c patch u-boot &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;This command generates source of the u-boot. See u-boot source using the similar path:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb/tmp/work/t1042d4rdb-fsl-linux/u-boot-qoriq/2016.01+fslgit-r0/git&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Change u-boot code and use the following command for u-boot building:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;bitbake -c compile -f u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;bitbake u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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, 06 Feb 2019 03:18:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882853#M3007</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-02-06T03:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to disassemble a binary executable in yacto linux to get the assembly code?</title>
      <link>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882854#M3008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whatever you mentioned commands are the general for building/compiling purpose.&lt;/P&gt;&lt;P&gt;After compilation we got linux executable binary file by using this file we can generate disassembly code file for u-boot debugging.&lt;/P&gt;&lt;P&gt;For this purpose. there is specific tool under the yacto sdk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VinothS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 03:57:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882854#M3008</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-02-06T03:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to disassemble a binary executable in yacto linux to get the assembly code?</title>
      <link>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882855#M3009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Yocto SDK provides generation u-boot source code. Disassembling is not needed for debugging.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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, 06 Feb 2019 05:45:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882855#M3009</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-02-06T05:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to disassemble a binary executable in yacto linux to get the assembly code?</title>
      <link>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882856#M3010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SDK after done built we got tool for binutils,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;binutils includes objdump and libopcodes library for assembly code generation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using this tool we can generate the assembly code for yacto linux executable. But, I don't know how to processed this and also I tried nothing I got.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;SDK installation directory&amp;gt;/build_t4160qds-64b/tmp/sysroots/t4160qds-64b/pkgdata/runtime-reverse u-boot-spl &amp;gt; u-boot-spl1.dis &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VinothS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 05:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882856#M3010</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-02-06T05:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to disassemble a binary executable in yacto linux to get the assembly code?</title>
      <link>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882857#M3011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;It looks like that this BSP does not supports this possibilities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The simplest way for your task is CodeWarrior. CodeWarrior provides u-boot debugging and check instruction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;See the AN4876 application note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4876.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN4876.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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, 06 Feb 2019 06:22:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882857#M3011</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-02-06T06:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to disassemble a binary executable in yacto linux to get the assembly code?</title>
      <link>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882858#M3012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I done&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Yacto SDK installation directory&amp;gt;/build_t4240rdb-64b/tmp/sysroots/x86_64-linux/usr/bin/powerpc64-fsl-linux/powerpc64-fsl-linux-objdump -d u-boot-spl &amp;gt; u-boot-spl1.dis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;u-boot-spl1.dis&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u-boot-spl: file format elf32-powerpc&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Disassembly of section .text:&lt;/P&gt;&lt;P&gt;eff40000 &amp;lt;_start&amp;gt;:&lt;BR /&gt;eff40000: 27 05 19 56 dozi r24,r5,6486&lt;/P&gt;&lt;P&gt;eff40004 &amp;lt;version_string&amp;gt;:&lt;BR /&gt;eff40004: 55 2d 42 6f rlwinm. r13,r9,8,9,23&lt;/P&gt;&lt;P&gt;...................................................................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VInothS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 06:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/How-to-disassemble-a-binary-executable-in-yacto-linux-to-get-the/m-p/882858#M3012</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2019-02-06T06:47:45Z</dc:date>
    </item>
  </channel>
</rss>

