<?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 imx8mm EMMC error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-EMMC-error/m-p/1433795#M188601</link>
    <description>&lt;P&gt;Hi,NXP teams&lt;/P&gt;&lt;P&gt;Recently We have a rather troublesome problem.&lt;/P&gt;&lt;P&gt;We use imx8mm platform, and Linux-4.14.98 kernel，when we write data to emmc, at sometime &lt;SPAN&gt;will wait for long time and shows as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[ 9430.110443] mmc0: cqhci: timeout for tag 31&lt;BR /&gt;[ 9430.114641] mmc0: cqhci: ============ CQHCI REGISTER DUMP ===========&lt;BR /&gt;[ 9430.121089] mmc0: cqhci: Caps: 0x0000310a | Version: 0x00000510&lt;BR /&gt;[ 9430.127534] mmc0: cqhci: Config: 0x00001001 | Control: 0x00000000&lt;BR /&gt;[ 9430.133979] mmc0: cqhci: Int stat: 0x00000000 | Int enab: 0x00000006&lt;BR /&gt;[ 9430.140425] mmc0: cqhci: Int sig: 0x00000006 | Int Coal: 0x00000000&lt;BR /&gt;[ 9430.146872] mmc0: cqhci: TDL base: 0xffffb000 | TDL up32: 0x00000000&lt;BR /&gt;[ 9430.153318] mmc0: cqhci: Doorbell: 0x00000000 | TCN: 0x80000000&lt;BR /&gt;[ 9430.159764] mmc0: cqhci: Dev queue: 0x00000004 | Dev Pend: 0x00000000&lt;BR /&gt;[ 9430.166210] mmc0: cqhci: Task clr: 0x00000000 | SSC1: 0x00011000&lt;BR /&gt;[ 9430.172656] mmc0: cqhci: SSC2: 0x00000001 | DCMD rsp: 0x00000004&lt;BR /&gt;[ 9430.179102] mmc0: cqhci: RED mask: 0xfdf9a080 | TERRI: 0x00000000&lt;BR /&gt;[ 9430.185548] mmc0: cqhci: Resp idx: 0x00000000 | Resp arg: 0x00000004&lt;BR /&gt;[ 9430.191996] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========&lt;BR /&gt;[ 9430.198442] mmc0: sdhci: Sys addr: 0xf9bdc000 | Version: 0x00000002&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;and then, we modify the linux source, &lt;SPAN&gt;shows as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;drivers/mmc/host/sdhci-esdhc-imx.c &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;static struct esdhc_soc_data usdhc_imx8qm_data = {&lt;BR /&gt;.flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING&lt;BR /&gt;| ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200&lt;BR /&gt;| ESDHC_FLAG_HS400 | ESDHC_FLAG_HS400_ES&lt;BR /&gt;// | ESDHC_FLAG_CQHCI // modify by Sindge 20220309&lt;BR /&gt;| ESDHC_FLAG_STATE_LOST_IN_LPMODE&lt;BR /&gt;| ESDHC_FLAG_CLK_RATE_LOST_IN_PM_RUNTIME,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;if we only write one file,that OK, but if we write more than two files at the same time, the write data is error!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any good suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope for your reply&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 03:32:27 GMT</pubDate>
    <dc:creator>sindge</dc:creator>
    <dc:date>2022-03-25T03:32:27Z</dc:date>
    <item>
      <title>imx8mm EMMC error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-EMMC-error/m-p/1433795#M188601</link>
      <description>&lt;P&gt;Hi,NXP teams&lt;/P&gt;&lt;P&gt;Recently We have a rather troublesome problem.&lt;/P&gt;&lt;P&gt;We use imx8mm platform, and Linux-4.14.98 kernel，when we write data to emmc, at sometime &lt;SPAN&gt;will wait for long time and shows as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[ 9430.110443] mmc0: cqhci: timeout for tag 31&lt;BR /&gt;[ 9430.114641] mmc0: cqhci: ============ CQHCI REGISTER DUMP ===========&lt;BR /&gt;[ 9430.121089] mmc0: cqhci: Caps: 0x0000310a | Version: 0x00000510&lt;BR /&gt;[ 9430.127534] mmc0: cqhci: Config: 0x00001001 | Control: 0x00000000&lt;BR /&gt;[ 9430.133979] mmc0: cqhci: Int stat: 0x00000000 | Int enab: 0x00000006&lt;BR /&gt;[ 9430.140425] mmc0: cqhci: Int sig: 0x00000006 | Int Coal: 0x00000000&lt;BR /&gt;[ 9430.146872] mmc0: cqhci: TDL base: 0xffffb000 | TDL up32: 0x00000000&lt;BR /&gt;[ 9430.153318] mmc0: cqhci: Doorbell: 0x00000000 | TCN: 0x80000000&lt;BR /&gt;[ 9430.159764] mmc0: cqhci: Dev queue: 0x00000004 | Dev Pend: 0x00000000&lt;BR /&gt;[ 9430.166210] mmc0: cqhci: Task clr: 0x00000000 | SSC1: 0x00011000&lt;BR /&gt;[ 9430.172656] mmc0: cqhci: SSC2: 0x00000001 | DCMD rsp: 0x00000004&lt;BR /&gt;[ 9430.179102] mmc0: cqhci: RED mask: 0xfdf9a080 | TERRI: 0x00000000&lt;BR /&gt;[ 9430.185548] mmc0: cqhci: Resp idx: 0x00000000 | Resp arg: 0x00000004&lt;BR /&gt;[ 9430.191996] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========&lt;BR /&gt;[ 9430.198442] mmc0: sdhci: Sys addr: 0xf9bdc000 | Version: 0x00000002&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;and then, we modify the linux source, &lt;SPAN&gt;shows as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;drivers/mmc/host/sdhci-esdhc-imx.c &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;static struct esdhc_soc_data usdhc_imx8qm_data = {&lt;BR /&gt;.flags = ESDHC_FLAG_USDHC | ESDHC_FLAG_STD_TUNING&lt;BR /&gt;| ESDHC_FLAG_HAVE_CAP1 | ESDHC_FLAG_HS200&lt;BR /&gt;| ESDHC_FLAG_HS400 | ESDHC_FLAG_HS400_ES&lt;BR /&gt;// | ESDHC_FLAG_CQHCI // modify by Sindge 20220309&lt;BR /&gt;| ESDHC_FLAG_STATE_LOST_IN_LPMODE&lt;BR /&gt;| ESDHC_FLAG_CLK_RATE_LOST_IN_PM_RUNTIME,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;if we only write one file,that OK, but if we write more than two files at the same time, the write data is error!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any good suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope for your reply&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 03:32:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-EMMC-error/m-p/1433795#M188601</guid>
      <dc:creator>sindge</dc:creator>
      <dc:date>2022-03-25T03:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm EMMC error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-EMMC-error/m-p/1436827#M188801</link>
      <description>&lt;P&gt;anybody?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 07:41:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-EMMC-error/m-p/1436827#M188801</guid>
      <dc:creator>sindge</dc:creator>
      <dc:date>2022-03-31T07:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm EMMC error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-EMMC-error/m-p/1440500#M189048</link>
      <description>&lt;P&gt;When you write 2 or more files what is the error messages? Can you share the log file to us?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 10:16:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-EMMC-error/m-p/1440500#M189048</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2022-04-07T10:16:49Z</dc:date>
    </item>
  </channel>
</rss>

