<?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: mx6 SDMA stops fetching UART rx data in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936713#M140347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Well uart flow control is of course on.&lt;/P&gt;&lt;P&gt;I have tested this with linux-imx kernels rel_imx_4.19.35_1.0.0 and imx_4.14.98_2.0.0_ga.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In imx_4.14.98_2.0.0_ga this problem seems to have been gone away.&lt;/P&gt;&lt;P&gt;In rel_imx_4.19.35_1.0.0 it reappeared again as i know from mainline kernel 4.15 and 5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases i have used firmware sdma-imx6q.bin v3.5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jul 2019 15:21:03 GMT</pubDate>
    <dc:creator>pp1</dc:creator>
    <dc:date>2019-07-04T15:21:03Z</dc:date>
    <item>
      <title>mx6 SDMA stops fetching UART rx data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936711#M140345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;i have custom boards with i.MX6ul and i.MX6dl and a wlan/bluetooth chip wl1837 that communicates via uart with the i.MX6.&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;If dma is enabled at one point during normal work load the sdma stops fetching data from the rx fifo. This leads to rx fifo&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;overflow and raising the CTS line that yields in errors in the bluetooth stack&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;Bluetooth: hci0: command 0x0406 tx timeout&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;reloading hci_uart module yields in a working state of uart and sdma but is obviously no solution.&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;I'm using a linux mailine kernel v4.15 but i have also tried v5.2-rc3. I'm using sdma-imx6q.bin from mainline linux-firmware v3.3&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;but i also have tried out the ROM code and the newest available v3.5. Without success.&lt;/P&gt;&lt;P style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;I have checked the uart registers. RRDY is 1. Checking the uart data with a logic analyzer doesn't show any errors.&lt;/P&gt;&lt;P style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;I have dumped the uart registers after the error occurs:&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC000: 0000803D&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC080: 00000125&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC084: 00002027&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC088: 0000008C&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC08C: 00004000&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC090: 000022C9&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC094: 00006250&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC098: 000042A9&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC09C: 0000002B&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC0A0: 00000000&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC0A4: 00000000&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC0A8: 00000000&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC0AC: 00000008&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC0B0: 00013880&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC0B4: 00000040&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;021EC0B8: 00000000&lt;/P&gt;&lt;P style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;Any ideas?&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"&gt;edit: removed mention of FRAMERR, this is not always 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 14:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936711#M140345</guid>
      <dc:creator>pp1</dc:creator>
      <dc:date>2019-07-03T14:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: mx6 SDMA stops fetching UART rx data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936712#M140346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philipp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mailine kernel and v5.2-rc3 are not supported by nxp, one can try L4.1.15&lt;/P&gt;&lt;P&gt;from official nxp source.codeaurora.org/external/imx/linux-imx/ repository&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.1.15_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.1.15_2.0.0_ga"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also recommended to use uart flow control.&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>Wed, 03 Jul 2019 23:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936712#M140346</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-07-03T23:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: mx6 SDMA stops fetching UART rx data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936713#M140347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Well uart flow control is of course on.&lt;/P&gt;&lt;P&gt;I have tested this with linux-imx kernels rel_imx_4.19.35_1.0.0 and imx_4.14.98_2.0.0_ga.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In imx_4.14.98_2.0.0_ga this problem seems to have been gone away.&lt;/P&gt;&lt;P&gt;In rel_imx_4.19.35_1.0.0 it reappeared again as i know from mainline kernel 4.15 and 5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases i have used firmware sdma-imx6q.bin v3.5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 15:21:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936713#M140347</guid>
      <dc:creator>pp1</dc:creator>
      <dc:date>2019-07-04T15:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: mx6 SDMA stops fetching UART rx data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936714#M140348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philipp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;In rel_imx_4.19.35_1.0.0 it reappeared again as i know from mainline kernel 4.15 and 5.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;issue can be posted on kernel mail list as these versions are not supported by nxp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 15:55:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936714#M140348</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-07-04T15:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: mx6 SDMA stops fetching UART rx data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936715#M140349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is imx_4.14.98_2.0.0_ga supported? Which is the newest branch in linux-imx repository that is supported?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Philipp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 16:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936715#M140349</guid>
      <dc:creator>pp1</dc:creator>
      <dc:date>2019-07-04T16:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: mx6 SDMA stops fetching UART rx data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936716#M140350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillipp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"In imx_4.14.98_2.0.0_ga this problem seems to have been gone away."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;latest can be found on nxp source.codeaurora.org/external/imx/linux-imx repository&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx" title="https://source.codeaurora.org/external/imx/linux-imx"&gt;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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2019 23:25:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mx6-SDMA-stops-fetching-UART-rx-data/m-p/936716#M140350</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-07-04T23:25:44Z</dc:date>
    </item>
  </channel>
</rss>

