<?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: how to enable uart4</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360314#M50622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi fsl：&lt;/P&gt;&lt;P&gt;any update？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 11:20:13 GMT</pubDate>
    <dc:creator>mingmingyuan</dc:creator>
    <dc:date>2015-03-30T11:20:13Z</dc:date>
    <item>
      <title>how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360308#M50616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we use mx6q sabresd board and run linux 3.0.35, now I want to use uart4,but I can't find ttymxc3 in /dev/&lt;/P&gt;&lt;P&gt;I read porting guide for this, I add follow code in board.c, after add this code, I can find ttymxc3 in /dev, but this uart can't send or receive data.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;// yuanmm add uart begin&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;imx6q_add_imx_uart(1, NULL);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;imx6q_add_imx_uart(3, NULL);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;imx6q_add_imx_uart(4, NULL);&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;// yuanmm add uart end&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cat /dev/ttymxc3 &amp;amp;&lt;/P&gt;&lt;P&gt;echo ymm &amp;gt; /dev/ttymxc3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 09:19:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360308#M50616</guid>
      <dc:creator>mingmingyuan</dc:creator>
      <dc:date>2015-03-28T09:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360309#M50617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Please check the UART setting (e.g. DMA enable, flow control setting) in the linux/arch/arm/mach-mx6/serial.h.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Saurabh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 09:53:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360309#M50617</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-03-28T09:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360310#M50618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't modify other code after I got bsp code , as your mean, bsp code can't support uart when use default setting( e.g DMA and flow control)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 10:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360310#M50618</guid>
      <dc:creator>mingmingyuan</dc:creator>
      <dc:date>2015-03-28T10:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360311#M50619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It may possible that UART4 is not used so it might be disabled, so it better to verify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be like&lt;/P&gt;&lt;P&gt;#define UART4_UCR4_CTSTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;#define UART4_DMA_ENABLE 1&lt;/P&gt;&lt;P&gt;#define UART4_DMA_RXBUFSIZE&amp;nbsp;&amp;nbsp;&amp;nbsp; 512&lt;/P&gt;&lt;P&gt;#define UART4_UFCR_RXTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;#define UART4_UFCR_TXTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 10:06:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360311#M50619</guid>
      <dc:creator>saurabh206</dc:creator>
      <dc:date>2015-03-28T10:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360312#M50620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thank you for your help, I think your suggestion is right.&lt;/P&gt;&lt;P&gt;I will check this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 10:11:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360312#M50620</guid>
      <dc:creator>mingmingyuan</dc:creator>
      <dc:date>2015-03-28T10:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360313#M50621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have modified code, but uart4 can't work still.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* UART 4 configuration */&lt;/P&gt;&lt;P&gt;#define UART4_UCR4_CTSTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16// yuanmm change to 16 before is -1&lt;/P&gt;&lt;P&gt;#define UART4_DMA_ENABLE 1// yuanmm change to 1 before is 0&lt;/P&gt;&lt;P&gt;#define UART4_DMA_RXBUFSIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512// this number I have tried 512 and 1024&lt;/P&gt;&lt;P&gt;#define UART4_UFCR_RXTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;#define UART4_UFCR_TXTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 00:28:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360313#M50621</guid>
      <dc:creator>mingmingyuan</dc:creator>
      <dc:date>2015-03-29T00:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360314#M50622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi fsl：&lt;/P&gt;&lt;P&gt;any update？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 11:20:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360314#M50622</guid>
      <dc:creator>mingmingyuan</dc:creator>
      <dc:date>2015-03-30T11:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360315#M50623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mingming yuan,&lt;/P&gt;&lt;P&gt;Here I have a document for Debug UART Customization on i.MX6x. There are steps about how to modify you can refer to .&lt;/P&gt;&lt;P&gt;In the attachment you can see the document. Hope this can help you.&lt;BR /&gt;Have a great day&lt;BR /&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Mon, 30 Mar 2015 18:56:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360315#M50623</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2015-03-30T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360316#M50624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DanWang：&lt;/P&gt;&lt;P&gt;thank you for provide me document，I will read this doc and respond as soon as&amp;nbsp; possiable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360316#M50624</guid>
      <dc:creator>mingmingyuan</dc:creator>
      <dc:date>2015-03-30T20:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360317#M50625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. If any questions you can contact me easily.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 21:16:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360317#M50625</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2015-03-30T21:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360318#M50626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi danwang:&lt;/P&gt;&lt;P&gt;thank you for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read this ppt and modified code for test, but uart4 can't work still.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my step, can you help to double check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use uart4 for data transmit in kernel not for debug, So I think I only need to modify code in kernel, needn't modify uboot and MFT code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ppt description for board-mx6q_arm2, but I use sabresd board, so I need to modify Board-mx6q_sabresd.c and releational file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1,arch\arm\mach-mx6\serial.h&lt;/P&gt;&lt;P&gt;I check uart4 configration and only change UART4_UCR4_CTSTL from -1 to 16, other configration use default setting&lt;/P&gt;&lt;P&gt;/* UART 4 configuration */&lt;/P&gt;&lt;P&gt;#define UART4_UCR4_CTSTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16// yuanmm change to 16 before is -1&lt;/P&gt;&lt;P&gt;#define UART4_DMA_ENABLE 0&lt;/P&gt;&lt;P&gt;#define UART4_DMA_RXBUFSIZE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512&lt;/P&gt;&lt;P&gt;#define UART4_UFCR_RXTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;#define UART4_UFCR_TXTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2, arch\arm\mach-mx6\Board-mx6q_sabresd.h&lt;/P&gt;&lt;P&gt;add code as follow,as hareware design, We use pad csi0 data12 and data13,not PAD_KEY_COL0&lt;/P&gt;&lt;P&gt;&amp;nbsp; // yuanmm add begin&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX6Q_PAD_CSI0_DAT12__UART4_TXD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX6Q_PAD_CSI0_DAT13__UART4_RXD,&lt;/P&gt;&lt;P&gt;&amp;nbsp; // yuanmm add end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3, arch\arm\mach-mx6\Board-mx6q_sabresd.c&lt;/P&gt;&lt;P&gt;add code as follow:&lt;/P&gt;&lt;P&gt;static inline void mx6q_sabresd_init_uart(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; imx6q_add_imx_uart(2, NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp; imx6q_add_imx_uart(0, NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp; // yuanmm add uart begin&lt;/P&gt;&lt;P&gt;&amp;nbsp; imx6q_add_imx_uart(1, NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp; imx6q_add_imx_uart(3, NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp; imx6q_add_imx_uart(4, NULL);&lt;/P&gt;&lt;P&gt;&amp;nbsp; // yuanmm add uart end&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;4,arch\arm\mach-mx6\Board-mx6q_sabresd.c&lt;/P&gt;&lt;P&gt;as ppt description, I should add code &lt;/P&gt;&lt;P&gt;early_console_setup(UART4_BASE_ADDR, uart_clk);&lt;/P&gt;&lt;P&gt;but I think this functiong is for console setting, so I didn't add this code for uart4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5, arch\arm\plat-mxc\include\mach\Uncompress.h&lt;/P&gt;&lt;P&gt;this fill already have follow code, so I didn't modify this code&lt;/P&gt;&lt;P&gt;&amp;nbsp; case MACH_TYPE_MX6Q_SABRESD:&lt;/P&gt;&lt;P&gt;&amp;nbsp; uart_base = MX6Q_UART1_BASE_ADDR;&lt;/P&gt;&lt;P&gt;&amp;nbsp; break;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 21:52:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360318#M50626</guid>
      <dc:creator>mingmingyuan</dc:creator>
      <dc:date>2015-03-30T21:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to enable uart4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360319#M50627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mingmingyuan,&lt;/P&gt;&lt;P&gt;Your step is OK. Sorry for late reply. I wonder if your uart4 can work now?&lt;/P&gt;&lt;P&gt;Have a nice day&lt;BR /&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 16 Apr 2015 08:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-enable-uart4/m-p/360319#M50627</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2015-04-16T08:53:06Z</dc:date>
    </item>
  </channel>
</rss>

