<?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のトピックimx6 UART issue on 5.4.24 kernel</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169314#M163646</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am porting my I.MX6 platform kernel from 4.9.11 to 5.4.24, and face some weird issue on the UART port&lt;/P&gt;&lt;P&gt;after i port the code and my device tree, I manage to boot up my machine. Then I tried to read some data from another subcpu which is connected to ttymxc2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In console, I tried to cat /dev/ttymxc2, but it returns me with some text that seems like system related information as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zc_tee_0-1603083379260.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127689i3D8F34F9C368FEB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zc_tee_0-1603083379260.png" alt="zc_tee_0-1603083379260.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to do a stty then cat, it returns me with another type of information, which seems to be like cat /proc/filesystems plus something else as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zc_tee_1-1603083564920.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127691iA3C9A42A9C0DF74D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zc_tee_1-1603083564920.png" alt="zc_tee_1-1603083564920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I cannot understand why is this happening. It seems like the ttymxc device is mixed up with /proc/ information. Can anybody advise?&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing is that the system is working fine in kernel 4.9.11. Only change is changing the kernel from 4.9.11 to 5.4.24.&lt;/P&gt;&lt;P&gt;By the way, i am using same bootloader 2017.03 for both the 4.9.11 and 5.4.24 kernel. I suppose 5.4.24 kernel can work well with 2017.03 uboot?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2020 05:04:14 GMT</pubDate>
    <dc:creator>zc_tee</dc:creator>
    <dc:date>2020-10-19T05:04:14Z</dc:date>
    <item>
      <title>imx6 UART issue on 5.4.24 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169314#M163646</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am porting my I.MX6 platform kernel from 4.9.11 to 5.4.24, and face some weird issue on the UART port&lt;/P&gt;&lt;P&gt;after i port the code and my device tree, I manage to boot up my machine. Then I tried to read some data from another subcpu which is connected to ttymxc2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In console, I tried to cat /dev/ttymxc2, but it returns me with some text that seems like system related information as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zc_tee_0-1603083379260.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127689i3D8F34F9C368FEB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zc_tee_0-1603083379260.png" alt="zc_tee_0-1603083379260.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to do a stty then cat, it returns me with another type of information, which seems to be like cat /proc/filesystems plus something else as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zc_tee_1-1603083564920.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127691iA3C9A42A9C0DF74D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zc_tee_1-1603083564920.png" alt="zc_tee_1-1603083564920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I cannot understand why is this happening. It seems like the ttymxc device is mixed up with /proc/ information. Can anybody advise?&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing is that the system is working fine in kernel 4.9.11. Only change is changing the kernel from 4.9.11 to 5.4.24.&lt;/P&gt;&lt;P&gt;By the way, i am using same bootloader 2017.03 for both the 4.9.11 and 5.4.24 kernel. I suppose 5.4.24 kernel can work well with 2017.03 uboot?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 05:04:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169314#M163646</guid>
      <dc:creator>zc_tee</dc:creator>
      <dc:date>2020-10-19T05:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 UART issue on 5.4.24 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169395#M163655</link>
      <description>&lt;P&gt;Hi Tee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you are right, reason may be in uboot, recommended to use&lt;/P&gt;
&lt;P&gt;uboot version (v2020.04) as listed in Release Notes of each BSP described on&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=imx_v2020.04_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=imx_v2020.04_5.4.24_2.1.0&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>Mon, 19 Oct 2020 07:20:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169395#M163655</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-19T07:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 UART issue on 5.4.24 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169405#M163656</link>
      <description>&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;After doing some searching online, i tried to disable the serial port dma in device tree&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zc_tee_0-1603092574958.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127716i5FB2776EED08CD88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zc_tee_0-1603092574958.png" alt="zc_tee_0-1603092574958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then my machine's UART port works.&lt;/P&gt;&lt;P&gt;I think i will disable the UART dma for now and test further. Do you forsee any issue disabling the UART's dma?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 07:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169405#M163656</guid>
      <dc:creator>zc_tee</dc:creator>
      <dc:date>2020-10-19T07:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 UART issue on 5.4.24 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169574#M163668</link>
      <description>&lt;P&gt;Hi Tee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;usually dma is disabled for console port.&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>Mon, 19 Oct 2020 09:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169574#M163668</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-19T09:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 UART issue on 5.4.24 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169929#M163694</link>
      <description>&lt;P&gt;Hi Igor&lt;/P&gt;&lt;P&gt;Thank you. I will proceed with disabling UART dma.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 01:49:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-UART-issue-on-5-4-24-kernel/m-p/1169929#M163694</guid>
      <dc:creator>zc_tee</dc:creator>
      <dc:date>2020-10-20T01:49:15Z</dc:date>
    </item>
  </channel>
</rss>

