<?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: i.MX6ULL continued eMMC issues - lockups in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1293867#M175643</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/73143"&gt;@chadwolter&lt;/a&gt;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NXP released BSP driver reset eMMC through software command sequence. HW reset is optional.&lt;BR /&gt;On i.MX6ULL, NAND_ALE pin is input with keeper by default, which maybe an uncertain signal for eMMC RST.&lt;/P&gt;
&lt;P&gt;Did you capture the waveform of eMMC_RST# line when system hang occured?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image 4.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147304i55BFBA2D5F0EFC9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image 4.jpg" alt="Image 4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please add the pin configuration as below into all pinctrl_usdhc2 groups of uboot-imx and linux-imx.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Config: MX6UL_PAD_NAND_ALE__USDHC2_RESET_B 0x170b0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Another point, can you please share the log to us for knowing the failed location in the boot process? Thanks.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jun 2021 07:24:13 GMT</pubDate>
    <dc:creator>peter_tian</dc:creator>
    <dc:date>2021-06-17T07:24:13Z</dc:date>
    <item>
      <title>i.MX6ULL continued eMMC issues - lockups</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1279940#M174342</link>
      <description>&lt;P&gt;NXP - a few weeks ago, I had an issue with programming a Kioxia eMMC chip on my custom i.MX6ULL host board, as I am attempting to qualify both Kioxia and Macronix as second sources.&amp;nbsp; For background that thread is here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-trouble-with-Kioxia-eMMC/m-p/1274578#M173824" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-trouble-with-Kioxia-eMMC/m-p/1274578#M173824&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issue I am having now, with both these chips, are that they reach a certain point in my boot process and intermittently hang.&amp;nbsp; The Kioxia part hangs 1-3 times during 25 power cycles but the Macronix does this a little over half the time under the same number of power cycles.&amp;nbsp; The interesting thing is that if there is a failure, it ALWAYS does it in the exact same location....in our custom start script, there is a while loop with a sleep 1 statement that prints out a "." character 5 times if there is no serial number in the board.&amp;nbsp; The board hangs here, and I can at this instant see a drop in current consumption.&amp;nbsp; Normal current consumption at this point is usually 125mA, but under the hang case, it drops to 20mA.&amp;nbsp; Another POR at this point will make it restart the boot process, at which point it may or may not hang in the same spot.&amp;nbsp; I did attempt to remove this wait from our start script, and the board will then always boot normally, and I can log into the command line interface, but again, it will fail and hang at some point.&amp;nbsp; Any ideas on what we may be running into here?&amp;nbsp; I have done some searching around, and I can't really find anything helpful.&amp;nbsp; This is on the 4.9.11 NXP kernel we have been using.&lt;BR /&gt;&lt;BR /&gt;Also, I am not sure whether this is a clue or not, but on one of the trials I was running, I got the following error (but just this one time out of probably 150 different reboots)&lt;BR /&gt;&lt;BR /&gt;..../opt/iprf/firmware/start.sh: lineUnhandled fault: imprecise external abort (0x1c06) at 0x00078c55&lt;BR /&gt;364: 1662 Bus error sleep 1&lt;BR /&gt;pgd = 82d40000&lt;BR /&gt;[00078c55] *pgd=82f42835, *pte=80bf459f, *ppte=80bf4e7e&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please let me know what additional information may be helpful to you.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Chad&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 19:48:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1279940#M174342</guid>
      <dc:creator>chadwolter</dc:creator>
      <dc:date>2021-05-20T19:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL continued eMMC issues - lockups</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1280006#M174352</link>
      <description>&lt;P&gt;Hi Chad&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;random hang may be caused by signal integrity issues as described on&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/eMMC-8GB-to-4GB-crash-on-linux-yocto-boot/m-p/373231" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/eMMC-8GB-to-4GB-crash-on-linux-yocto-boot/m-p/373231&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;also one can try to test ddr memory and update image with new ddr calibration settings found from test in&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6ullevk/imximage.cfg?h=imx_v2020.04_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6ullevk/imximage.cfg?h=imx_v2020.04_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 00:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1280006#M174352</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-05-21T00:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL continued eMMC issues - lockups</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1287002#M175000</link>
      <description>&lt;P&gt;&amp;nbsp; Can you provide an update&amp;nbsp; on the previous suggestions and some more details on your testing&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;How is the eMMC /board being reset - is power being removed?&lt;/LI&gt;
&lt;LI&gt;Is the hang issue observed when the power is first applied or only after subsequent resets?&lt;/LI&gt;
&lt;LI&gt;Is the&amp;nbsp;&lt;SPAN&gt;hardware RST_B pin connected in your design?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Is there any SW or HW dependency on the hang?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Does the issue occur with the original eMMC memory?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 17:58:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1287002#M175000</guid>
      <dc:creator>asim_zaidi</dc:creator>
      <dc:date>2021-06-03T17:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL continued eMMC issues - lockups</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1292135#M175504</link>
      <description>&lt;P&gt;Hey Asim -&lt;/P&gt;&lt;P&gt;I still have not found a resolution to our issue.&amp;nbsp; To answer your questions from below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How is the eMMC /board being reset - is power being removed?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Yes, power is being removed.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is the hang issue observed when the power is first applied or only after subsequent resets?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;it can be on the first reboot after the code has been flashed, or subsequent reboots.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is the&amp;nbsp;&lt;SPAN&gt;hardware RST_B pin connected in your design?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Yes, but I noticed the signal is not defined in the dts or dtsi file.&amp;nbsp; Should I try to define this?&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Is there any SW or HW dependency on the hang?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;No&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Does the issue occur with the original eMMC memory?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;No&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, for the past few days, I have been playing with the registers in this post that &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;mentioned:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/eMMC-8GB-to-4GB-crash-on-linux-yocto-boot/m-p/373231" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/eMMC-8GB-to-4GB-crash-on-linux-yocto-boot/m-p/373231&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have been unable to make any combinations of the registers work.&amp;nbsp; There are combinations of the registers that will reliably make the boards containing the alternate eMMC vendors boot, but if I allow them to run overnight they are always locked up the next morning.&amp;nbsp; If you want to see, I attached the results of this testing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chad&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 21:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1292135#M175504</guid>
      <dc:creator>chadwolter</dc:creator>
      <dc:date>2021-06-14T21:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL continued eMMC issues - lockups</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1293867#M175643</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/73143"&gt;@chadwolter&lt;/a&gt;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NXP released BSP driver reset eMMC through software command sequence. HW reset is optional.&lt;BR /&gt;On i.MX6ULL, NAND_ALE pin is input with keeper by default, which maybe an uncertain signal for eMMC RST.&lt;/P&gt;
&lt;P&gt;Did you capture the waveform of eMMC_RST# line when system hang occured?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image 4.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147304i55BFBA2D5F0EFC9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image 4.jpg" alt="Image 4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please add the pin configuration as below into all pinctrl_usdhc2 groups of uboot-imx and linux-imx.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Config: MX6UL_PAD_NAND_ALE__USDHC2_RESET_B 0x170b0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Another point, can you please share the log to us for knowing the failed location in the boot process? Thanks.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 07:24:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-continued-eMMC-issues-lockups/m-p/1293867#M175643</guid>
      <dc:creator>peter_tian</dc:creator>
      <dc:date>2021-06-17T07:24:13Z</dc:date>
    </item>
  </channel>
</rss>

