<?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: P4080DS kernel debugging with hypervisor in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/P4080DS-kernel-debugging-with-hypervisor/m-p/266436#M708</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry about the late response. I do not have a "guest-debug-disable' property defined in the partition definition node. I am attaching the hypervisor and kernel configuration device trees.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the versions of the hypervisor and kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hypervisor version:&lt;/P&gt;&lt;P&gt;=====================&lt;/P&gt;&lt;P&gt;Freescale Embedded Hypervisor version 1.2-003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux version:&lt;/P&gt;&lt;P&gt;================&lt;/P&gt;&lt;P&gt;Linux p4080ds 3.0.34-rt55-02404-g1a39570 #1 SMP PREEMPT RT Wed Feb 27 21:38:39 CST 2013 ppc GNU/Linux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Please let me know if I am going wrong somewhere.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;A vasu&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 22:18:02 GMT</pubDate>
    <dc:creator>avasu</dc:creator>
    <dc:date>2013-04-18T22:18:02Z</dc:date>
    <item>
      <title>P4080DS kernel debugging with hypervisor</title>
      <link>https://community.nxp.com/t5/P-Series/P4080DS-kernel-debugging-with-hypervisor/m-p/266434#M706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to debug the kernel in the presence of Topaz hypervisor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I enabled kernel debugging and I compiled the images. I followed "QorIQ debbuging user's guide" and exactly performed the steps for QorIQ debugging, in the presence of hypervisor. The QorIQ debug module does not get loaded. Does hypervisor intervene when I try to "modprobe qoriq-dbg" in the kernel?&lt;/P&gt;&lt;P&gt;Should I change hypervisor configuration and rebuild embedded-hv so that the hypervisor lets the kernel access the registers that I am interested in? &lt;/P&gt;&lt;P&gt;It would be really great if someone has already worked on something similar and can clear my doubts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to debug the kernel when the kernel is standalone without any partitions and hypervisor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;A Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 21:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080DS-kernel-debugging-with-hypervisor/m-p/266434#M706</guid>
      <dc:creator>avasu</dc:creator>
      <dc:date>2013-02-20T21:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: P4080DS kernel debugging with hypervisor</title>
      <link>https://community.nxp.com/t5/P-Series/P4080DS-kernel-debugging-with-hypervisor/m-p/266435#M707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Few comments below ...&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;I enabled kernel debugging and I compiled the images. I followed "QorIQ debbuging user's guide" and exactly performed the steps for QorIQ debugging, in the presence of hypervisor. The QorIQ debug module does not get loaded. Does hypervisor intervene when I try to "modprobe qoriq-dbg" in the kernel?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;There shouldn't be any interaction between hypervisor and the module.&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Should I change hypervisor configuration and rebuild embedded-hv so that the hypervisor lets the kernel access the registers that I am interested in?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;The debug resources (registers and interrupt) are given to the guest by default so you shouldn't need to change the hypervisor config. Unless you use a very old hypervisor version that by default allocated the debug resources to the hypervisor or, by chance, you have a "guest-debug- disable" property in your partition definition node in the configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explore other options such as using gdb with the gdb-stub included in Topaz (see Embedded Hypervisor User's Manual, Apendix A for details)?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;What version of hypervisor are you using?&lt;/P&gt;&lt;P&gt;Can you share the config file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;HTH, Laurentiu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 11:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080DS-kernel-debugging-with-hypervisor/m-p/266435#M707</guid>
      <dc:creator>laurentiutudor</dc:creator>
      <dc:date>2013-02-22T11:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: P4080DS kernel debugging with hypervisor</title>
      <link>https://community.nxp.com/t5/P-Series/P4080DS-kernel-debugging-with-hypervisor/m-p/266436#M708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry about the late response. I do not have a "guest-debug-disable' property defined in the partition definition node. I am attaching the hypervisor and kernel configuration device trees.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the versions of the hypervisor and kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hypervisor version:&lt;/P&gt;&lt;P&gt;=====================&lt;/P&gt;&lt;P&gt;Freescale Embedded Hypervisor version 1.2-003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux version:&lt;/P&gt;&lt;P&gt;================&lt;/P&gt;&lt;P&gt;Linux p4080ds 3.0.34-rt55-02404-g1a39570 #1 SMP PREEMPT RT Wed Feb 27 21:38:39 CST 2013 ppc GNU/Linux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Please let me know if I am going wrong somewhere.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;A vasu&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 22:18:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080DS-kernel-debugging-with-hypervisor/m-p/266436#M708</guid>
      <dc:creator>avasu</dc:creator>
      <dc:date>2013-04-18T22:18:02Z</dc:date>
    </item>
  </channel>
</rss>

