<?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: Having problem with ttyAMA0 serial console</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203099#M11397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how you build your root filesystem, but maybe booting with 'init=/bin/sh' and looking around in the filesystem might help you to find the bug.&lt;/P&gt;&lt;P&gt;Does the serial interface work after you have created the device node manually? If yes, you could add the node to your root filesystem permanently (or instruct your build system to do so). Our usual recommendation is to use devtmpfs for any modern kernel, because it creates the device nodes automatically for you.&lt;/P&gt;&lt;P&gt;rsc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 13:49:20 GMT</pubDate>
    <dc:creator>RobertSchwebel</dc:creator>
    <dc:date>2012-01-24T13:49:20Z</dc:date>
    <item>
      <title>Having problem with ttyAMA0 serial console</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203096#M11394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm using busybox and the kernel 3.2.1 on the i.MX28 EVK board. The serial console name change and it's now ttyAMA0 instead of ttyAM0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I needed to make a adjustment in the inittab file. Now I have the following line in the inittab file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ttyAMA0::respawn:/sbin/getty -L ttyAMA0 115200 vt100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the system finises booting, I will the following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can't open /dev/ttyAMA0: No such device or address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the device node by using this command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mknod -m 666 ttyAMA0 c 204 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody knows what the problem is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;:-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 12:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203096#M11394</guid>
      <dc:creator>Jean-PaulLePape</dc:creator>
      <dc:date>2012-01-17T12:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem with ttyAMA0 serial console</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203097#M11395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we start up our getty's a little different (using busybox's srvctrl functionality) but the params I pass in are this.&lt;/P&gt;&lt;P&gt;/sbin/getty -L 11520 /dev/ttyAMA0 console&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the other question is, does y our mknod actually work and create the /dev/ttyAMA0 device? &amp;nbsp;Can you ssh or telnet into the device to see what the state of your filesystem is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 12:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203097#M11395</guid>
      <dc:creator>netstv</dc:creator>
      <dc:date>2012-01-17T12:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem with ttyAMA0 serial console</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203098#M11396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&amp;nbsp;It works now but the problem was coming from device node (As you suspected). The correct command to create the device node is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mknod ttyAMA0 c 204 64&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;:-)&lt;BR /&gt; &lt;BR /&gt; &lt;CITE&gt;Steve Iribarne said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/having-problem-with-ttyama0-serial-console?groupUrl=imx28andimx28evk&amp;amp;commentId=4103961%3AComment%3A54195&amp;amp;xg_source=activity&amp;amp;groupId=4103961%3AGroup%3A4609#4103961Comment54195"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;we start up our getty's a little different (using busybox's srvctrl functionality) but the params I pass in are this.&lt;/P&gt;&lt;P&gt;/sbin/getty -L 11520 /dev/ttyAMA0 console&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the other question is, does y our mknod actually work and create the /dev/ttyAMA0 device? &amp;nbsp;Can you ssh or telnet into the device to see what the state of your filesystem is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 00:28:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203098#M11396</guid>
      <dc:creator>Jean-PaulLePape</dc:creator>
      <dc:date>2012-01-18T00:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem with ttyAMA0 serial console</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203099#M11397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how you build your root filesystem, but maybe booting with 'init=/bin/sh' and looking around in the filesystem might help you to find the bug.&lt;/P&gt;&lt;P&gt;Does the serial interface work after you have created the device node manually? If yes, you could add the node to your root filesystem permanently (or instruct your build system to do so). Our usual recommendation is to use devtmpfs for any modern kernel, because it creates the device nodes automatically for you.&lt;/P&gt;&lt;P&gt;rsc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 13:49:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203099#M11397</guid>
      <dc:creator>RobertSchwebel</dc:creator>
      <dc:date>2012-01-24T13:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem with ttyAMA0 serial console</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203100#M11398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Sorry for the delay, was working on something else. Yes it does work when I create manually the device node. We are using udev on the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you have any example of dynamically/automatically creating the node with devtmpfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 09:02:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Having-problem-with-ttyAMA0-serial-console/m-p/203100#M11398</guid>
      <dc:creator>Jean-PaulLePape</dc:creator>
      <dc:date>2012-05-24T09:02:02Z</dc:date>
    </item>
  </channel>
</rss>

