<?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: CW &amp; u-boot debug in CodeWarrior for QorIQ</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152027#M1789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Consult the &lt;I&gt;Pro &amp;amp; Linux App Edtion Targeting Manual&lt;/I&gt;&amp;nbsp; in CodeWarrior's Hlpe directory. In ths manual's Working with the Debugger chapter, locate the section, Debugging the U-boot Bootstrap Firmware, and follow its directions. It describes in detail what you must do to build the U-boot code and download it. HTH,&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 May 2008 21:22:50 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2008-05-01T21:22:50Z</dc:date>
    <item>
      <title>CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152026#M1788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi all,&lt;BR /&gt;I have installed CW Dev Studio (Power architecture, Professional edition &amp;amp; Linux Application edition, v8.8, Build 70921) on a WinXp based computer. Secondly, on a Fedora core based host computer, I have cross compiled u-boot 1.1.6 for mpc8313rdb board (toolchain gcc-4.0.2+e30c3/glibc-2.3.6).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The issue is that I want to debug u-boot using CW (and USB TAP)&amp;nbsp;but breakpoints "do not work".&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is what I've done:&lt;BR /&gt;Within CW, I have done a "File | Open" on the u-boot elf image.&lt;BR /&gt;CW has created a project for that elf file (it has not found libgcc2.c file so it gives me a "warning" message).&lt;BR /&gt;Once the project is created I have set the target CPU type in the EPPC Debugger Settings panel and a register init file (8313RDB_uboot_init_Linux.cfg).&lt;/DIV&gt;&lt;DIV&gt;Any Advice? Do I have to compile u-boot in a particular manner?&lt;BR /&gt;Thanks a lot in advance,&lt;/DIV&gt;&lt;DIV&gt;Igor&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 16:17:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152026#M1788</guid>
      <dc:creator>Igor</dc:creator>
      <dc:date>2008-04-30T16:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152027#M1789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Consult the &lt;I&gt;Pro &amp;amp; Linux App Edtion Targeting Manual&lt;/I&gt;&amp;nbsp; in CodeWarrior's Hlpe directory. In ths manual's Working with the Debugger chapter, locate the section, Debugging the U-boot Bootstrap Firmware, and follow its directions. It describes in detail what you must do to build the U-boot code and download it. HTH,&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 21:22:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152027#M1789</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2008-05-01T21:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152028#M1790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I encounted the same issue-- lack of libgcc2 and breakpoint unreachable, and don't know how to resolve. i have&amp;nbsp;operated with the instructor step by step, but that's useless still. lgor,&amp;nbsp;whether&amp;nbsp;you &amp;nbsp;have resolved this issue? can you give me some tutorial?&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 17:06:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152028#M1790</guid>
      <dc:creator>huangxianguo</dc:creator>
      <dc:date>2009-03-25T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152029#M1791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some time has passed...Sorry but the only thing I remember&amp;nbsp;is that I religiously followed the document's procedure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 17:58:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152029#M1791</guid>
      <dc:creator>Igor</dc:creator>
      <dc:date>2009-03-25T17:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152030#M1792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MPC8536DS Evaluation environment.&lt;/P&gt;&lt;P&gt;nowhow i was able to get working configuration [JTAG] file for the 8536.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i too facing same problem. &lt;IMG alt=":smileymad:" class="emoticon emoticon-smileymad" id="smileymad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-mad.gif" title="Smiley Mad" /&gt;&lt;/P&gt;&lt;P&gt;when i compile the u-Boot over ltib tool as described in "&lt;FONT color="#0000ff"&gt;Pro &amp;amp; Linux App Edition Targeting Manual.pdf&lt;/FONT&gt;" =&amp;gt; Debugging the U-Boot Bootstrap Firmware&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;step by step following of guide still not working for me &lt;IMG alt=":smileysad:" border="0" src="http://forums.freescale.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 point i am not sure about is 【&lt;EM&gt;&lt;FONT color="#0000ff"&gt;manuaｌ Note】&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;"NOTE If you are using an LTIB BSP, you may need to change the optimization flag of&lt;BR /&gt;the U-Boot CFLAGS argument in this file: &lt;FONT color="#800000"&gt;install/ltib/config/platform/boardName/.config file&lt;/FONT&gt;."&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i have to set there and with which flag?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i.e there is Flag named as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;CONFIG_TOOLCHAIN_CFLAGS=""&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;becuase this is a auto genereted file from ltib config tool, so i changed this from that tool as "-O2"&lt;/P&gt;&lt;P&gt;is it wrong anywhere or i loosing something @?@;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here what i have to do otherwise?&lt;/P&gt;&lt;P&gt;please help me out if anybody resolved this issue anyhow. :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;u-Boot code compiled successfully but when i tried to open elf file in the C, it is giving me warning about "libgcc2.c" file not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command i am using for compiling is&amp;nbsp; &lt;IMG alt=":robotmad:" class="emoticon emoticon-robotmad" id="robotmad" src="http://freescale.i.lithium.com/i/smilies/16x16_robot-mad.gif" title="Robot Mad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;./ltib -m scbuild -p u-boot-1.3.4-mpc8536ds.spec&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it Okie ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libgcc2.c file does not exists or it may not be genereted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt=":smileytongue:" class="emoticon emoticon-smileytongue" id="smileytongue" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-tongue.gif" title="Smiley Tongue" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ashish Agarwal&lt;/P&gt;&lt;P&gt;"&lt;A href="http://www.quotationspage.com/quote/2289.html" rel="nofollow" target="_blank"&gt;There's no ceiling on effort!&lt;/A&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 08:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152030#M1792</guid>
      <dc:creator>AshishAgarwal</dc:creator>
      <dc:date>2009-04-01T08:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152031#M1793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fortunately, i have known how to debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If you&lt;/P&gt;&lt;P&gt;1.want to stop at FLASH breakpoint:&lt;/P&gt;&lt;P&gt;a.&amp;nbsp; check the option "use Target Initilization File", and locate the file"Program Files/Freescale/CodeWarrior PA V8.8/PowerPC_EABI_Support/Initialization_Files/PQ2/83xxRDB_init_debug_uboot.cfg"&lt;/P&gt;&lt;P&gt;b.&amp;nbsp; non-check the option "Alternate Load Address"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.want to stop at RAM breakpoint:&lt;/P&gt;&lt;P&gt;a. non-check the option "use Target Initilization File"&lt;/P&gt;&lt;P&gt;b. check&amp;nbsp; "Alternate Load Address" in terms of the section: " Debugging the U-Boot Bootstrap Firmware" in the document"/Program Files/Freescale/CodeWarrior PA V8.8/Help/Pro_&amp;amp;_Linux_App_Edition_Targeting_Manual.chm&lt;/P&gt;&lt;P&gt;c. &lt;SPAN&gt;set Hardware Breakpoint&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;other settings follow the .chm file in step.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 17:07:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152031#M1793</guid>
      <dc:creator>huangxianguo</dc:creator>
      <dc:date>2009-04-03T17:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152032#M1794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="http://forums.freescale.com/t5/user/viewprofilepage/user-id/14043" target="_self"&gt;&lt;SPAN&gt;huangxianguo&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your kind reply. it true what you commented, is steps for the debuging of U-boot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But here i mentioned that i want to debug the MPC8536DS version u-Boot 1.3.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and indeed i did the debugging of MPC8544 successsfully before the procedure written abov. but in my case right now i am not able to get rid from "libgcc2.c"file missin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is the case when we open ****.elf file. i made sure about the process written there in mannual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i am looking is if there is any FLAG setting in the Makefile i am missing that generates "libgcc2.c" file warning. that stops me to halt at breakpoints.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 12:12:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152032#M1794</guid>
      <dc:creator>AshishAgarwal</dc:creator>
      <dc:date>2009-04-07T12:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152033#M1795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I think the libgcc2.c is not neccessary if you have compiled the u-boot. you can skip it. you can find it at the libc source.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 09:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152033#M1795</guid>
      <dc:creator>huangxianguo</dc:creator>
      <dc:date>2009-04-22T09:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152034#M1796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I receive an answer regarding my Servie request to Freescale is like below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uboot debugging&lt;BR /&gt;------------------&lt;BR /&gt;This is not supported for 8536 yet.&amp;nbsp; It will not be supported until the June 22 release (CW EPPC 8.8.3).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Got stuck with in development cycle. &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but now one thing we can do is insert printf statements in the u-boot source to debug it..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i know it is hard to compile source every time and write it to the Flash but it is the only way i am doing &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you know any other bright way to do the same ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;v- -v suggest me &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 07:16:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152034#M1796</guid>
      <dc:creator>AshishAgarwal</dc:creator>
      <dc:date>2009-05-12T07:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: CW &amp; u-boot debug</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152035#M1797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Freescale support comments :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;uboot debugging&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;This is not supported for 8536 yet.&amp;nbsp; It will not be supported until the 2009, June 22 release (CW EPPC 8.8.3).&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 11:50:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/CW-u-boot-debug/m-p/152035#M1797</guid>
      <dc:creator>AshishAgarwal</dc:creator>
      <dc:date>2009-05-18T11:50:10Z</dc:date>
    </item>
  </channel>
</rss>

