<?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>i.MX ProcessorsのトピックRe: KGDB on i.MX8 serial polling function</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/KGDB-on-i-MX8-serial-polling-function/m-p/1190540#M165668</link>
    <description>&lt;P&gt;Hi &lt;SPAN class="blob-code-inner blob-code-marker"&gt;&lt;SPAN class="pl-en"&gt;Lorenzo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can look at Uboot/Kernel/SCFW debugging documentation AN12631&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_7" href="https://www.nxp.com/docs/en/application-note/AN12631.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Normal and Secure Debug for i.MX8/8X Family of Applications Processors&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Lauterbach debug tool&amp;nbsp;&amp;nbsp; : TRACE32 as GDB&lt;BR /&gt;&lt;A href="https://www2.lauterbach.com/pdf/frontend_gdb.pdf" target="_blank"&gt;https://www2.lauterbach.com/pdf/frontend_gdb.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Sun, 29 Nov 2020 00:55:25 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-11-29T00:55:25Z</dc:date>
    <item>
      <title>KGDB on i.MX8 serial polling function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/KGDB-on-i-MX8-serial-polling-function/m-p/1190310#M165648</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to debug the Linux Kernel remotely using KGDB over the serial port.&lt;/P&gt;&lt;P&gt;I followed the instruction shown here: &lt;A href="https://elinux.org/images/1/1b/ELC19_Serial_kdb_kgdb.pdf" target="_blank" rel="noopener nofollow noopener noreferrer noopener noreferrer"&gt;https://elinux.org/images/1/1b/ELC19_Serial_kdb_kgdb.pdf&lt;/A&gt; but can't make it to work. This is what I get:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I can do echo ttyLP0 &amp;gt; /sys/module/kgdboc/parameters/kgdboc and it gets successfully registered (note: ttyLP0 is my console too)&lt;/LI&gt;&lt;LI&gt;when I do echo g &amp;gt; /proc/sysrq-trigger I get messages telling that the kernel dropped into kdb, then I see the kdb prompt but it stops there, when I try to type nothing happens&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have the idea that it may involve the polling functions &lt;SPAN class="blob-code-inner blob-code-marker"&gt;&lt;SPAN class="pl-en"&gt;lpuart32_poll_put_char and&amp;nbsp; lpuart32_poll_get_char but I do not know how to debug it. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="blob-code-inner blob-code-marker"&gt;&lt;SPAN class="pl-en"&gt;It would be great to know if someone from NXP ever tried it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="blob-code-inner blob-code-marker"&gt;&lt;SPAN class="pl-en"&gt;BR,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="blob-code-inner blob-code-marker"&gt;&lt;SPAN class="pl-en"&gt;Lorenzo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 13:30:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/KGDB-on-i-MX8-serial-polling-function/m-p/1190310#M165648</guid>
      <dc:creator>lorenzo_giraudi</dc:creator>
      <dc:date>2020-11-27T13:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: KGDB on i.MX8 serial polling function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/KGDB-on-i-MX8-serial-polling-function/m-p/1190540#M165668</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="blob-code-inner blob-code-marker"&gt;&lt;SPAN class="pl-en"&gt;Lorenzo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can look at Uboot/Kernel/SCFW debugging documentation AN12631&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_7" href="https://www.nxp.com/docs/en/application-note/AN12631.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Normal and Secure Debug for i.MX8/8X Family of Applications Processors&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Lauterbach debug tool&amp;nbsp;&amp;nbsp; : TRACE32 as GDB&lt;BR /&gt;&lt;A href="https://www2.lauterbach.com/pdf/frontend_gdb.pdf" target="_blank"&gt;https://www2.lauterbach.com/pdf/frontend_gdb.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sun, 29 Nov 2020 00:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/KGDB-on-i-MX8-serial-polling-function/m-p/1190540#M165668</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-11-29T00:55:25Z</dc:date>
    </item>
  </channel>
</rss>

