<?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: [iMX8QM-MEK] RS232(ttyLP2) setting in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1482751#M192067</link>
    <description>&lt;P&gt;Sorry for miss your thread and late reply.&lt;/P&gt;
&lt;P&gt;1. use stty configure the ttyLP2 and test&amp;nbsp;&lt;/P&gt;
&lt;P&gt;stty -F /dev/ttyLP2 115200&lt;BR /&gt;echo abc &amp;gt; /dev/ttyLP2&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="b45499_0-1656589021551.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185169iA6B760284116111A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="b45499_0-1656589021551.png" alt="b45499_0-1656589021551.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;b45499_0-1656589021551.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. enable ttyLP2 in systemd as another login console for test purpose&lt;/P&gt;
&lt;P&gt;systemctl enable &lt;A href="mailto:serial-getty@ttyLP2" target="_blank" rel="nofollow noopener noreferrer"&gt;serial-getty@ttyLP2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You will have two login consoles.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="b45499_1-1656589022423.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185170iA470598AB618B5B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="b45499_1-1656589022423.png" alt="b45499_1-1656589022423.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;b45499_1-1656589022423.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 11:37:33 GMT</pubDate>
    <dc:creator>Rita_Wang</dc:creator>
    <dc:date>2022-06-30T11:37:33Z</dc:date>
    <item>
      <title>[iMX8QM-MEK] RS232(ttyLP2) setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1459605#M190490</link>
      <description>&lt;P&gt;Hi, all.&lt;/P&gt;&lt;P&gt;I would like to use the imx8qm-mek RS-232 connector (J37).&lt;BR /&gt;LPUART2( /dev/ttyLP2 ) is not enabled.&lt;BR /&gt;What should I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made the following changes.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;changes&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;・init.rc (/device/nxp/imx8q/mek_8q)&lt;BR /&gt;&amp;nbsp; - Added the following code before "on boot".&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; chmod 0777 /dev/ttyLP2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;・imx8qm-mek.dts (/vendor/nxp-opensource/kernel-imx/arch/arm64/boot/dts/freescale)&lt;BR /&gt;&amp;nbsp; - changed the following code.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;amp;lpuart2 {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpuart2&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status = "okay";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; };&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 02:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1459605#M190490</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2022-05-18T02:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] RS232(ttyLP2) setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1482751#M192067</link>
      <description>&lt;P&gt;Sorry for miss your thread and late reply.&lt;/P&gt;
&lt;P&gt;1. use stty configure the ttyLP2 and test&amp;nbsp;&lt;/P&gt;
&lt;P&gt;stty -F /dev/ttyLP2 115200&lt;BR /&gt;echo abc &amp;gt; /dev/ttyLP2&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="b45499_0-1656589021551.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185169iA6B760284116111A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="b45499_0-1656589021551.png" alt="b45499_0-1656589021551.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;b45499_0-1656589021551.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. enable ttyLP2 in systemd as another login console for test purpose&lt;/P&gt;
&lt;P&gt;systemctl enable &lt;A href="mailto:serial-getty@ttyLP2" target="_blank" rel="nofollow noopener noreferrer"&gt;serial-getty@ttyLP2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You will have two login consoles.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="b45499_1-1656589022423.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185170iA470598AB618B5B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="b45499_1-1656589022423.png" alt="b45499_1-1656589022423.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;b45499_1-1656589022423.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 11:37:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1482751#M192067</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2022-06-30T11:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] RS232(ttyLP2) setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1483179#M192094</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57740"&gt;@Rita_Wang&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;I saw that page, so already it's checked.&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/How-to-check-rs232-port-in-imx8-8x-baseboard-in-imx8qxp-mek/td-p/1240789" target="_self"&gt;How to check rs232 port in imx8-8x baseboard in imx8qxp-mek&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Executing that command will fail.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ttyLP2_ss_1.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185259i091E7EB1514ABEAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ttyLP2_ss_1.png" alt="ttyLP2_ss_1.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ttyLP2_ss_1.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There is no ttyLP2 device file in the first place.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ttyLP2_ss_2.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185260iC3AED4FC67A9A922/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ttyLP2_ss_2.png" alt="ttyLP2_ss_2.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ttyLP2_ss_2.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Executing the command on ttyLP4 does not echo to ttyLP4.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ttyLP2_ss_3.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185258i21A252428CFFC3BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="ttyLP2_ss_3.png" alt="ttyLP2_ss_3.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ttyLP2_ss_3.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 04:28:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1483179#M192094</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2022-07-01T04:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] RS232(ttyLP2) setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1497247#M193149</link>
      <description>&lt;P&gt;Hi, I have exact same problem with my i.MX8 QM MEK board. I am using Base Board to connect PC and Board using RS232. I am using USB-to-serial converter to do that, but I cannot see /dev/ttyLP2. I also tried to change lpuart2 status in dts to "okay" but it didn't help.&lt;BR /&gt;Did you manage to solve the problem?&lt;BR /&gt;BR,&lt;BR /&gt;Vanja&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 10:05:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1497247#M193149</guid>
      <dc:creator>vzeric</dc:creator>
      <dc:date>2022-07-28T10:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] RS232(ttyLP2) setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1503212#M193618</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196548"&gt;@vzeric&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;It's the same situation.&lt;BR /&gt;The problem is unresolved.&lt;BR /&gt;UART2 is assigned to core M41, and access from core A may be prohibited.&lt;BR /&gt;However, UART2 cannot be used even if the SCFW changed.&lt;/P&gt;&lt;P&gt;I was able to use LPUART4 with reference to the following.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/td-p/1450389" target="_blank"&gt;Solved: [iMX8QM-MEK] LPUART4 settings - NXP Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Getting-started/ta-p/1121153" target="_blank"&gt;System Controller Firmware 101 - Getting started - NXP Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let us know if there is any progress.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 10:07:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1503212#M193618</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2022-08-09T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] RS232(ttyLP2) setting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1531849#M195921</link>
      <description>&lt;P&gt;I solved.&lt;/P&gt;&lt;P&gt;Please refer to :&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART2-setting/m-p/1503179/highlight/false#M193616" target="_blank"&gt;Solved: [iMX8QM-MEK] LPUART2 setting - NXP Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 00:18:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-RS232-ttyLP2-setting/m-p/1531849#M195921</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2022-10-04T00:18:49Z</dc:date>
    </item>
  </channel>
</rss>

