<?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: ls1028a using lpuart (dma tx/rx channel request failed) in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170639#M6816</link>
    <description>&lt;P&gt;Please provide U-Boot booting log showing the RCW.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 02:50:33 GMT</pubDate>
    <dc:creator>ufedor</dc:creator>
    <dc:date>2020-10-21T02:50:33Z</dc:date>
    <item>
      <title>ls1028a using lpuart (dma tx/rx channel request failed)</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170596#M6814</link>
      <description>&lt;P&gt;Hi, &lt;SPAN&gt;I'm developing a custom board using ls1028a.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I added lpuart to dtsi to use lpuart,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;lpuart2: serial@2280000 {&lt;BR /&gt;compatible = "fsl,ls1028a-lpuart";&lt;BR /&gt;reg = &amp;lt;0x0 0x2280000 0x0 0x1000&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clockgen 4 1&amp;gt;;&lt;BR /&gt;clock-names = "ipg";&lt;BR /&gt;little-endian;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and added it to dts as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;amp;lpuart2 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After creating and checking the image file, ttyLP0 was created under /dev. But when I checked because there was no communication, I found the following log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@TinyLinux:~# dmesg | grep lpuart&lt;BR /&gt;[ 3.465382] fsl-lpuart 2280000.serial: DMA tx channel request failed, operating without tx DMA&lt;BR /&gt;[ 3.474030] fsl-lpuart 2280000.serial: DMA rx channel request failed, operating without rx DMA&lt;BR /&gt;[ 3.492118] fsl-lpuart 2290000.serial: DMA tx channel request failed, operating without tx DMA&lt;BR /&gt;[ 3.500765] fsl-lpuart 2290000.serial: DMA rx channel request failed, operating without rx DMA&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think it's a problem that doesn't have access to DMA, but it's hard to determine whether it's a hardware problem or a software problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For your information, the basic uart works properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'd appreciate it if you could give me an answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 01:43:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170596#M6814</guid>
      <dc:creator>pjw</dc:creator>
      <dc:date>2020-10-21T01:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028a using lpuart (dma tx/rx channel request failed)</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170639#M6816</link>
      <description>&lt;P&gt;Please provide U-Boot booting log showing the RCW.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 02:50:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170639#M6816</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2020-10-21T02:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028a using lpuart (dma tx/rx channel request failed)</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170674#M6817</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Here is..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reset Configuration Word (RCW):&lt;BR /&gt;00000000: 3c004010 00000030 00000000 00000000&lt;BR /&gt;00000010: 00000000 018f0000 0030c000 00000000&lt;BR /&gt;00000020: 01e031a0 00002580 00000000 010db291&lt;BR /&gt;00000030: 00000000 00000010 00000000 00000000&lt;BR /&gt;00000040: 00000000 00000000 00000000 00000000&lt;BR /&gt;00000050: 00000000 00000000 00000000 00000000&lt;BR /&gt;00000060: 00000000 00000000 100e7012 00000000&lt;BR /&gt;00000070: bb580000 00000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;XSPI1_A_DATA74_PMUX[369:367]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;XSPI1_A_DATA30_PMUX[372:370]&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;for using LPUART2 / 3&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;SPAN&gt;some other gpio pins.The clock side did not change because there was no change in hardware.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 04:08:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170674#M6817</guid>
      <dc:creator>pjw</dc:creator>
      <dc:date>2020-10-21T04:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028a using lpuart (dma tx/rx channel request failed)</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170753#M6819</link>
      <description>&lt;P&gt;Please provide complete U-Boot and Linux booting logs and log of the LPUART testing in Linux as ZIP archive attachment.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 06:33:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170753#M6819</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2020-10-21T06:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028a using lpuart (dma tx/rx channel request failed)</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170827#M6820</link>
      <description>&lt;P&gt;u- boot log&amp;nbsp; and kernel log and testing log lpuart&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The lpuart test was done using echo and nothing appears on the serial program.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 07:53:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1170827#M6820</guid>
      <dc:creator>pjw</dc:creator>
      <dc:date>2020-10-21T07:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028a using lpuart (dma tx/rx channel request failed)</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1171896#M6839</link>
      <description>&lt;P&gt;&amp;gt; I think it's a problem that doesn't have access to DMA, but it's hard&lt;/P&gt;
&lt;P&gt;&amp;gt; to determine whether it's a hardware problem or a software problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, it's not a problem, LPUART can operate without DMA. Read the message, in fact:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DMA tx channel request failed, **operating without tx DMA**&lt;/P&gt;
&lt;P&gt;DMA rx channel request failed, **operating without rx DMA**&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you were to add DMA channels, you would use the "dmas" and "dma-names"&lt;/P&gt;
&lt;P&gt;device tree properties. Read the documentation for more details:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://elixir.bootlin.com/linux/v5.9/source/Documentation/devicetree/bindings/serial/fsl-lpuart.txt" target="_blank"&gt;https://elixir.bootlin.com/linux/v5.9/source/Documentation/devicetree/bindings/serial/fsl-lpuart.txt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What logic level are you using for interfacing with the LPUART? 1.8V, right?&lt;/P&gt;
&lt;P&gt;Does anything get output if you add console=/dev/ttyLP0,115200 to the kernel boot arguments?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 14:18:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-using-lpuart-dma-tx-rx-channel-request-failed/m-p/1171896#M6839</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2020-10-22T14:18:53Z</dc:date>
    </item>
  </channel>
</rss>

