<?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: u-boot is getting stuck at infinite_debug_loop: in start.S in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638239#M3810</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 able to boot u-boot on my board with BDI connected, i.e 'reset halt' and 'go' &amp;nbsp;will bring the board up.&lt;/P&gt;&lt;P&gt;But as I try to boot the board independently i.e without bdi connected I dont see any output on console.&lt;/P&gt;&lt;P&gt;still u-boot is missing something that BDI config does if so please help to find that missing stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2017 06:36:59 GMT</pubDate>
    <dc:creator>venkatt</dc:creator>
    <dc:date>2017-05-12T06:36:59Z</dc:date>
    <item>
      <title>u-boot is getting stuck at infinite_debug_loop: in start.S</title>
      <link>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638233#M3804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am porting u-boot from P2020RDB code base to one of my custom board based on P2020 processor. As u-boot boots from 0xfffffffc, it is getting stuck at&amp;nbsp;infinite_debug_loop: in start.S, I am not familiar with PPC assembly ISA, please help me to debug the fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 12:45:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638233#M3804</guid>
      <dc:creator>venkatt</dc:creator>
      <dc:date>2017-04-24T12:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot is getting stuck at infinite_debug_loop: in start.S</title>
      <link>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638234#M3805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u-Boot enters infinite_debug_loop if it discovers that CCSRBAR is not&lt;BR /&gt;at the location it expects. start.S has a comment about that a few lines&lt;BR /&gt;above the loop. If you are working with a JTAG debugger, make sure &lt;BR /&gt;it executes no startup script which alters CCSRBAR before u-Boot &lt;BR /&gt;gets control.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&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>Mon, 24 Apr 2017 15:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638234#M3805</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2017-04-24T15:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot is getting stuck at infinite_debug_loop: in start.S</title>
      <link>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638235#M3806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Platon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks for info,&amp;nbsp;&lt;/P&gt;&lt;P&gt;when you say CCSRBAR is not at the location it expects means, do it expects it to be at default location i.e 0xff700000 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;I use bdi jtag debugger, after flashing u-boot as I run below commands&lt;/P&gt;&lt;P&gt;BDI&amp;gt; reset&lt;/P&gt;&lt;P&gt;BDI&amp;gt; go&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think the script executes with those commands&lt;/P&gt;&lt;P&gt;as-well &amp;nbsp;when I saw below info when core is at halted state and PC points to reset-vector address CCSRBAR ( line # 9) has other than default value - IS THIS THE CONCERN&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14021i171DFBBCEE451FDD/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638235#M3806</guid>
      <dc:creator>venkatt</dc:creator>
      <dc:date>2017-04-25T13:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot is getting stuck at infinite_debug_loop: in start.S</title>
      <link>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638236#M3807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry I pressed ctrl+s before completion,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line #10 I did reset then after CCSRBAR is at default location,&amp;nbsp;&lt;/P&gt;&lt;P&gt;then go and info shows that PC is stuck at 0xffff_f29c which is the infinite_debug_loop address, as per System.map file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;Even I tried with BDI disconnected from target and did a powercycle but I dont see anything on the console ( both for 9600 and 115200 baud rate )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you... and good day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638236#M3807</guid>
      <dc:creator>venkatt</dc:creator>
      <dc:date>2017-04-25T13:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot is getting stuck at infinite_debug_loop: in start.S</title>
      <link>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638237#M3808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat&lt;/P&gt;&lt;P&gt;With your BDI, if you like to not execute your init script you would&lt;/P&gt;&lt;P&gt;need to issue a RESET RUN. Please try this when you reset.&lt;/P&gt;&lt;P&gt;You mentioned that even without BDI you don't see any output&lt;/P&gt;&lt;P&gt;but this might be a separate problem. To ensure your init section&lt;/P&gt;&lt;P&gt;is not executed as Platon suggests use RESET RUN and see what&lt;/P&gt;&lt;P&gt;happens with&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;CCSRBAR&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;. BTW, which config file you are using ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Sinan Akman&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 17:45:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638237#M3808</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2017-04-25T17:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot is getting stuck at infinite_debug_loop: in start.S</title>
      <link>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638238#M3809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sinan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for point me to config file, yes after tweaking config file I could able to avoid the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;infinite_debug_loop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Then somewhere down the line, it was not able to access the stack set-up under init_ram, in my case its at oxffd0_0000, which I mapped to L2SRAM via config file then all function call were fine.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Now I got stuck at function "cpu_init_early_f ", basically control is not coming out of this function, because LR is re-loading with wrong value at the end of this routine, but while entering the routine the LR was right. so to skip I forced the LR to "&lt;SPAN&gt;cpu_init_early_f + 0x04" . but after reaching here target is getting freezed.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;I made use of buildroot to set-up cross-compiler and finaly I have&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;"powerpc-unkown-linux-uclibcspe-gcc-4.5.3"&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;please suggest is it must to use compiler with "EABI" extention as its SPE for me now&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks,&lt;BR /&gt;Venkat&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 11:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638238#M3809</guid>
      <dc:creator>venkatt</dc:creator>
      <dc:date>2017-05-04T11:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot is getting stuck at infinite_debug_loop: in start.S</title>
      <link>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638239#M3810</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 able to boot u-boot on my board with BDI connected, i.e 'reset halt' and 'go' &amp;nbsp;will bring the board up.&lt;/P&gt;&lt;P&gt;But as I try to boot the board independently i.e without bdi connected I dont see any output on console.&lt;/P&gt;&lt;P&gt;still u-boot is missing something that BDI config does if so please help to find that missing stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 06:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/u-boot-is-getting-stuck-at-infinite-debug-loop-in-start-S/m-p/638239#M3810</guid>
      <dc:creator>venkatt</dc:creator>
      <dc:date>2017-05-12T06:36:59Z</dc:date>
    </item>
  </channel>
</rss>

