<?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のトピックIssues about GPIO debug</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issues-about-GPIO-debug/m-p/365438#M51765</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now I want to "&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: 'Calibri','sans-serif';"&gt;cat /sys/kernel/debug/gpio", but I found "debugfs_create_file" was called but didnt reate the path "sys/kernel/debug/gpio",and both the CONFIG_DEBUG_FS and CONFIG_DEBUG_FS are open. but when &lt;SPAN style="font-family: Calibri, sans-serif; font-size: 13.9130439758301px;"&gt;debugfs_create_file was to create the gpio node, it failed to&amp;nbsp; create the node. and I want to use the dump_stack to trace, and the dump_stack cannot be used, in another word, it cannot dump the log.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.9130439758301px; font-family: Calibri, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, I have the 2 questions: 1. how to create the GPIO node? Can I use mount the debugfs before entering to kernel? where to add the cmd?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. how to use dump_stack? why cant I dump the log?&lt;/P&gt;&lt;P&gt;help,plz,3Q!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2015 07:02:44 GMT</pubDate>
    <dc:creator>tony_l_cai</dc:creator>
    <dc:date>2015-02-11T07:02:44Z</dc:date>
    <item>
      <title>Issues about GPIO debug</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issues-about-GPIO-debug/m-p/365438#M51765</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now I want to "&lt;SPAN lang="EN-US" style="font-size: 10.5pt; font-family: 'Calibri','sans-serif';"&gt;cat /sys/kernel/debug/gpio", but I found "debugfs_create_file" was called but didnt reate the path "sys/kernel/debug/gpio",and both the CONFIG_DEBUG_FS and CONFIG_DEBUG_FS are open. but when &lt;SPAN style="font-family: Calibri, sans-serif; font-size: 13.9130439758301px;"&gt;debugfs_create_file was to create the gpio node, it failed to&amp;nbsp; create the node. and I want to use the dump_stack to trace, and the dump_stack cannot be used, in another word, it cannot dump the log.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.9130439758301px; font-family: Calibri, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, I have the 2 questions: 1. how to create the GPIO node? Can I use mount the debugfs before entering to kernel? where to add the cmd?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. how to use dump_stack? why cant I dump the log?&lt;/P&gt;&lt;P&gt;help,plz,3Q!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 07:02:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issues-about-GPIO-debug/m-p/365438#M51765</guid>
      <dc:creator>tony_l_cai</dc:creator>
      <dc:date>2015-02-11T07:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issues about GPIO debug</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issues-about-GPIO-debug/m-p/365439#M51766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tony&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for gpio node usage please look below links &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="2004" data-containertype="14" data-objectid="1459" data-objecttype="102" href="https://community.freescale.com/docs/DOC-1459"&gt;https://community.freescale.com/docs/DOC-1459&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://falsinsoft.blogspot.com/2012/11/access-gpio-from-linux-user-space.html" target="_blank"&gt;http://falsinsoft.blogspot.com/2012/11/access-gpio-from-linux-user-space.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for debugging purposes one can look at appnote below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4553.pdf" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4553.pdf"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4553.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding debugfs please check below and post on kernel.org&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt" title="https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt"&gt;https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 00:57:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issues-about-GPIO-debug/m-p/365439#M51766</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-02-12T00:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issues about GPIO debug</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issues-about-GPIO-debug/m-p/365440#M51767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear igor，&lt;/P&gt;&lt;P&gt;         Now Iwant to tell you my steps for GPIO test，&lt;/P&gt;&lt;P&gt;         Firstly， I change the high/low signal in codebase, after I measured I found it was right&lt;/P&gt;&lt;P&gt;         Secondly, I change the high/low signal in console by echo cmd, after I measured I found it cannot change it&lt;/P&gt;&lt;P&gt;         I also found the GPIO value after “cat /sys/kernel/debug/gpio” is not right.&lt;/P&gt;&lt;P&gt;So Please help me,3Q!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;发件人: igorpadykov &lt;/P&gt;&lt;P&gt;发送时间: 2015年2月12日 8:59&lt;/P&gt;&lt;P&gt;收件人: Tony L Cai&lt;/P&gt;&lt;P&gt;主题: Re:  - Issues about GPIO debug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.freescale.com/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issues about GPIO debug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from igorpadykov&amp;lt;https://community.freescale.com/people/igorpadykov?et=watches.email.thread&amp;gt; in i.MX Community - View the full discussion&amp;lt;https://community.freescale.com/message/480080?et=watches.email.thread#480080&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 07:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issues-about-GPIO-debug/m-p/365440#M51767</guid>
      <dc:creator>tony_l_cai</dc:creator>
      <dc:date>2015-02-12T07:13:27Z</dc:date>
    </item>
  </channel>
</rss>

