<?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: debuging u-boot with Codewarrior in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/debuging-u-boot-with-Codewarrior/m-p/257788#M9850</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;Fist you should set the build environment with: source ./fsl-setup-poky -m p1010rdb and not use the -l option (lite mode). This will remove building files once the package is build. After build is complete use should search in build folder after u-boot (find -name u-boot) and then try to find the elf file (u-boot file don't have .elf extension) with file ./tmp/.../u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually u-boot executable is placed in (exemple for p4080ds board) ./tmp/work/p4080ds-fsl_networking-linux/u-boot/git-r33/git/P4080DS/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2013 06:40:48 GMT</pubDate>
    <dc:creator>addiyi</dc:creator>
    <dc:date>2013-10-01T06:40:48Z</dc:date>
    <item>
      <title>debuging u-boot with Codewarrior</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/debuging-u-boot-with-Codewarrior/m-p/257787#M9849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to build u-boot so that I can debug it with CodeWarrior 10.3 and I'm having no luck building an elf file.&amp;nbsp; I followed the directions below but I cannot locate an elf file. I'm using v1.4 of the SDK for the p1010rdb.&amp;nbsp; Everything builds with no errors but there is no elf file in the release&amp;gt;temp&amp;gt;work&amp;gt;p1010rdb-fsl_networking-linux-gnuspe location or any other location that I have found showing dates modified during my build.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas what I'm missing here?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P style="color: #51626f; font-family: arial, sans-serif; font-size: 12px; padding-bottom: 10px !important;"&gt;Q: How to build u-boot/kernel with debugger (CodeWarrior support)?&lt;/P&gt;&lt;P&gt;A: For u-boot:&lt;/P&gt;&lt;OL style="margin: 5px 15px; list-style-image: none;"&gt;&lt;LI&gt;&lt;SAMP class="codeph"&gt;$ cd &amp;lt;yocto_install_path&amp;gt;&lt;/SAMP&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SAMP class="codeph"&gt;$ bitbake -c cleansstate u-boot&lt;/SAMP&gt;&lt;/LI&gt;&lt;LI&gt;Modify the &lt;SAMP class="codeph"&gt;u-boot_git.bb&lt;/SAMP&gt; file and add following content:&lt;UL&gt;&lt;LI style="margin-bottom: 2px; margin-left: 15px; padding-bottom: 2px; padding-left: 2px;"&gt;&lt;SAMP class="codeph"&gt;$ cd meta-fsl-ppc/recipes-kernel/u-boot&lt;/SAMP&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SAMP class="codeph"&gt;$ add 'EXTRA_OEMAKE += "CONFIG_CW=1"' in u-boot_git.bb file&lt;/SAMP&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Rebuild u-boot:&lt;UL&gt;&lt;LI style="margin-bottom: 2px; margin-left: 15px; padding-bottom: 2px; padding-left: 2px;"&gt;&lt;SAMP class="codeph"&gt;$ bitbake u-boot&lt;/SAMP&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 21:00:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/debuging-u-boot-with-Codewarrior/m-p/257787#M9849</guid>
      <dc:creator>yensid</dc:creator>
      <dc:date>2013-09-30T21:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: debuging u-boot with Codewarrior</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/debuging-u-boot-with-Codewarrior/m-p/257788#M9850</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;Fist you should set the build environment with: source ./fsl-setup-poky -m p1010rdb and not use the -l option (lite mode). This will remove building files once the package is build. After build is complete use should search in build folder after u-boot (find -name u-boot) and then try to find the elf file (u-boot file don't have .elf extension) with file ./tmp/.../u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually u-boot executable is placed in (exemple for p4080ds board) ./tmp/work/p4080ds-fsl_networking-linux/u-boot/git-r33/git/P4080DS/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 06:40:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/debuging-u-boot-with-Codewarrior/m-p/257788#M9850</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2013-10-01T06:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: debuging u-boot with Codewarrior</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/debuging-u-boot-with-Codewarrior/m-p/257789#M9851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Adrian.&amp;nbsp; I was able to use the debugger to download the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 18:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/debuging-u-boot-with-Codewarrior/m-p/257789#M9851</guid>
      <dc:creator>yensid</dc:creator>
      <dc:date>2013-10-02T18:09:39Z</dc:date>
    </item>
  </channel>
</rss>

