<?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のトピックUsing UART2 from Linux on i.MX8M-EVK board</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-UART2-from-Linux-on-i-MX8M-EVK-board/m-p/956947#M142963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the i.MX8M-EVK board there are two UARTs available through the USB micro socket, which is fine.&lt;/P&gt;&lt;P&gt;One is used as a Linux console and the other is connected to the Cortex-M4 core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I would not use the Cortex-M4 but would like to have access to the UART2 from Linux. I presume I will have to modify the DTS, adding a node for uart2, but I wonder what pin multiplexing definitions to use (probably I will have to add them too).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, I presume that the UART2 was dedicated to the Cortex-M4 and I don't know how (and especially where) to reprogram the RDC (Resource Domain Controler) to arrange for the UART2 to be accessible from the Cortex-A53). Or is the UART2 declared as a shared peripheral at boot time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any pointer to relevant BSP documentation or to any hints on how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jun 2019 10:09:36 GMT</pubDate>
    <dc:creator>BernardDAUTREVA</dc:creator>
    <dc:date>2019-06-21T10:09:36Z</dc:date>
    <item>
      <title>Using UART2 from Linux on i.MX8M-EVK board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-UART2-from-Linux-on-i-MX8M-EVK-board/m-p/956947#M142963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the i.MX8M-EVK board there are two UARTs available through the USB micro socket, which is fine.&lt;/P&gt;&lt;P&gt;One is used as a Linux console and the other is connected to the Cortex-M4 core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I would not use the Cortex-M4 but would like to have access to the UART2 from Linux. I presume I will have to modify the DTS, adding a node for uart2, but I wonder what pin multiplexing definitions to use (probably I will have to add them too).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, I presume that the UART2 was dedicated to the Cortex-M4 and I don't know how (and especially where) to reprogram the RDC (Resource Domain Controler) to arrange for the UART2 to be accessible from the Cortex-A53). Or is the UART2 declared as a shared peripheral at boot time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any pointer to relevant BSP documentation or to any hints on how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 10:09:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-UART2-from-Linux-on-i-MX8M-EVK-board/m-p/956947#M142963</guid>
      <dc:creator>BernardDAUTREVA</dc:creator>
      <dc:date>2019-06-21T10:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using UART2 from Linux on i.MX8M-EVK board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-UART2-from-Linux-on-i-MX8M-EVK-board/m-p/956948#M142964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RDC is not used at boot time and it has default settings.&lt;/P&gt;&lt;P&gt;To have access to the UART2 from Linux one can use below dts (set status = "okay" for UART2)&lt;/P&gt;&lt;P&gt;linux/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-root.dts&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-root.dts?h=imx_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-root.dts?h=imx_4.14.78_1.0.0_ga"&gt;fsl-imx8mq-evk-root.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For using UART2 with M4 below dts file is used ( UART2 is dedicated to the Cortex-M4)&lt;/P&gt;&lt;P&gt;linux/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-m4.dts&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-m4.dts?h=imx_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-m4.dts?h=imx_4.14.78_1.0.0_ga"&gt;fsl-imx8mq-evk-m4.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 23:11:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-UART2-from-Linux-on-i-MX8M-EVK-board/m-p/956948#M142964</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-06-21T23:11:51Z</dc:date>
    </item>
  </channel>
</rss>

