<?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: iMX6D Failure to Boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1335689#M179643</link>
    <description>&lt;P&gt;Some further details on this.&amp;nbsp; This is a new failure that we have been seeing recently and our eMMC chip was changed to a eMMCv5.0 part.&amp;nbsp; I see this in the iMX6 manual -- is this still true or was this just because v5.0 had not been released yet?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="imx6 boot rom.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155241i658AAFA5F2506CB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="imx6 boot rom.png" alt="imx6 boot rom.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our board holds the reset pin for 250ms after power-up.&amp;nbsp; If I extend that delay to 750ms, then the 10% boot failure not longer occurs.&lt;/P&gt;&lt;P&gt;I have set fuse 0x460[21] WDOG_ENABLE in hopes that at least the system would reboot after a maximum of 90 seconds, but even that does not work.&lt;/P&gt;&lt;P&gt;Any more ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 01:49:33 GMT</pubDate>
    <dc:creator>ericholmberg</dc:creator>
    <dc:date>2021-09-07T01:49:33Z</dc:date>
    <item>
      <title>iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1330676#M179199</link>
      <description>&lt;P&gt;I am seeing an issue where some of our iMX6D boards are failing to boot from a Power-on-Reset (POR).&amp;nbsp; The failure rate for affected boards is between 3% and 10% of the POR.&lt;/P&gt;&lt;P&gt;The system is booting from eMMC and I changed U-Boot to use the Boot Rom Plug-in IVT which allows writing to the UART from the plug-in entry (plugin_start):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;plugin_start:&lt;/P&gt;&lt;P&gt;push {r0-r4, lr}&lt;/P&gt;&lt;P&gt;/* UART Output */&lt;BR /&gt;// enable clock&lt;BR /&gt;ldr r0, =0x020c407c&lt;BR /&gt;ldr r1, =0xffffffff&lt;BR /&gt;str r1, [r0, #0]&lt;/P&gt;&lt;P&gt;// Setup PAD and MUX&lt;BR /&gt;ldr r0, =0x020e0000&lt;BR /&gt;ldr r1, =0x0001b0b1&lt;BR /&gt;str r1, [r0, #0x650]&lt;BR /&gt;str r1, [r0, #0x654]&lt;/P&gt;&lt;P&gt;ldr r1, =0x00000003&lt;BR /&gt;str r1, [r0, #0x280]&lt;BR /&gt;str r1, [r0, #0x284]&lt;/P&gt;&lt;P&gt;// Setup UART&lt;BR /&gt;ldr r0, =0x02020000&lt;BR /&gt;ldr r1, =0x00000000&lt;BR /&gt;str r1, [r0, #0x80]&lt;BR /&gt;str r1, [r0, #0x84]&lt;BR /&gt;ldr r1, =0x00004025&lt;BR /&gt;str r1, [r0, #0x84]&lt;/P&gt;&lt;P&gt;ldr r1, =0x00000004&lt;BR /&gt;str r1, [r0, #0x88]&lt;BR /&gt;ldr r1, =0x00008000&lt;BR /&gt;str r1, [r0, #0x8c]&lt;/P&gt;&lt;P&gt;ldr r1, =0x00000a00&lt;BR /&gt;str r1, [r0, #0x90]&lt;/P&gt;&lt;P&gt;ldr r1, =0x0000000f&lt;BR /&gt;str r1, [r0, #0xa4]&lt;/P&gt;&lt;P&gt;ldr r1, =0x00004025&lt;BR /&gt;str r1, [r0, #0x84]&lt;/P&gt;&lt;P&gt;ldr r1, =0x0000015b&lt;BR /&gt;str r1, [r0, #0xa8]&lt;BR /&gt;ldr r1, =0x00000001&lt;BR /&gt;str r1, [r0, #0x80]&lt;/P&gt;&lt;P&gt;// Send ROM-&amp;gt;UBOOT&lt;BR /&gt;ldr r1, ='R'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='O'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='M'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='-'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='&amp;gt;'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='P'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='L'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='U'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='G'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='I'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='N'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='\r'&lt;BR /&gt;str r1, [r0, #0x40]&lt;BR /&gt;ldr r1, ='\n'&lt;BR /&gt;str r1, [r0, #0x40]&lt;/P&gt;&lt;P&gt;// Setup DDR and clocks&lt;BR /&gt;imx6_ddr_setting&lt;BR /&gt;imx6_clock_gating&lt;BR /&gt;imx6_qos_setting&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I do not see this output when the system fails, so it appears that the iMX6 either didn't boot or was unable to fetch data from the eMMC and never transfers control to the U-Boot plugin.&lt;/P&gt;&lt;P&gt;When the failure occurs, there is no USB serial loader on the USB port.&amp;nbsp; Power rails are all good and the 32.768 kHz and 24 MHz clocks are running.&lt;/P&gt;&lt;P&gt;I didn't find any known errata that matches this issue and I don't have access to the memory bus to check the eMMC.&lt;/P&gt;&lt;P&gt;Any suggestions on what else to look at?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 02:11:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1330676#M179199</guid>
      <dc:creator>ericholmberg</dc:creator>
      <dc:date>2021-08-27T02:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1330782#M179211</link>
      <description>&lt;P&gt;Hi Eric&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if issue happens only with Plug-in IVT (seems it also configures clocks) one can consider EB790&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_4" href="https://www.nxp.com/docs/en/engineering-bulletin/EB790.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Configuration of Phase Fractional Dividers &lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;if issue happens even without Plug-in IVT one can consider below link&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 05:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1330782#M179211</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-08-27T05:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1331983#M179347</link>
      <description>&lt;P&gt;The issue happens both with the Plug-in IVT and with the DCD IVT approach.&lt;/P&gt;&lt;P&gt;I updated the UART code to only enable CG12 and CG14 in CCGR5 and there was no difference in the failure rate.&lt;/P&gt;&lt;P&gt;No PFDs are enabled at this point as the assembly code shown above is the first time control is passed from the iMX6 boot ROM to the IVT code in eMMC.&lt;/P&gt;&lt;P&gt;I looked at the drive strength issue in&amp;nbsp;&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" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/eMMC-8GB-to-4GB-crash-on-linux-yocto-boot/m-p/373231&lt;/A&gt;&amp;nbsp;and this is in the Linux kernel boot which is much later.&amp;nbsp; I am seeing a failure in the iMX6 boot ROM before control is transferred to U-Boot.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 21:20:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1331983#M179347</guid>
      <dc:creator>ericholmberg</dc:creator>
      <dc:date>2021-08-30T21:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1335689#M179643</link>
      <description>&lt;P&gt;Some further details on this.&amp;nbsp; This is a new failure that we have been seeing recently and our eMMC chip was changed to a eMMCv5.0 part.&amp;nbsp; I see this in the iMX6 manual -- is this still true or was this just because v5.0 had not been released yet?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="imx6 boot rom.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155241i658AAFA5F2506CB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="imx6 boot rom.png" alt="imx6 boot rom.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our board holds the reset pin for 250ms after power-up.&amp;nbsp; If I extend that delay to 750ms, then the 10% boot failure not longer occurs.&lt;/P&gt;&lt;P&gt;I have set fuse 0x460[21] WDOG_ENABLE in hopes that at least the system would reboot after a maximum of 90 seconds, but even that does not work.&lt;/P&gt;&lt;P&gt;Any more ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 01:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1335689#M179643</guid>
      <dc:creator>ericholmberg</dc:creator>
      <dc:date>2021-09-07T01:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336329#M179712</link>
      <description>&lt;P&gt;eMMCv5.0 are also supported as it is backward compatible with eMMCv4.4.&lt;/P&gt;
&lt;P&gt;if issue happens without adding custom writing to the UART codes, with original dcd ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 23:42:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336329#M179712</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-07T23:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336358#M179717</link>
      <description>&lt;P&gt;Yes, the issue occurs without the UART debug code in both the plug-in IVT and with the original DCD.&amp;nbsp; I just added the UART debug code since I do not have access to JTAG.&amp;nbsp; No USB devices is present when the failure occurs, so the iMX6 has not gone into serial download mode.&amp;nbsp; It seems to have locked in the boot ROM somewhere.&amp;nbsp; This only happens around 10% of the time on some hardware.&amp;nbsp; Power rails all look good.&amp;nbsp; If I hold the iMX6 reset pin low for 750ms, the issue no longer occurs.&lt;/P&gt;&lt;P&gt;eFuses for eMMC are set as follows.&amp;nbsp; Right now MMC Speed is set to high speed, not sure if changing the Normal speed is an option or if it would have any affect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ericholmberg_1-1631061371929.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155390i83F75EDA9E9DF00C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ericholmberg_1-1631061371929.png" alt="ericholmberg_1-1631061371929.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any thoughts here would be appreciated.&amp;nbsp; There was a similar issue, but no resolution here:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/EMMC-5-0-and-EMMC-5-1-work-on-i-MX6/tac-p/1118952/highlight/true#M3689" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/EMMC-5-0-and-EMMC-5-1-work-on-i-MX6/tac-p/1118952/highlight/true#M3689&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 00:55:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336358#M179717</guid>
      <dc:creator>ericholmberg</dc:creator>
      <dc:date>2021-09-08T00:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336375#M179721</link>
      <description>&lt;P&gt;&amp;gt; If I hold the iMX6 reset pin low for 750ms, the issue no longer occurs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is ERR007926 ROM: 32 kHz internal oscillator timing inaccuracy may affect&lt;BR /&gt;SD/MMC, NAND, and OneNAND boot [i.MX 6Dual/6Quad Only] with workaround:&lt;/P&gt;
&lt;P&gt;"4. Extend the assertion of POR_B until the 32 kHz crystal oscillator is running and stable."&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_1" href="https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Chip Errata for the i.MX 6Dual/6Quad and i.MX 6DualPlus/6QuadPlus - IMX6DQCE&lt;/STRONG&gt;&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>Wed, 08 Sep 2021 01:38:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336375#M179721</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-08T01:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336408#M179725</link>
      <description>&lt;P&gt;Could you confirm if&amp;nbsp;ERR007926 is hit that the iMX6 will lock and not go into serial download mode?&amp;nbsp; If it does a watchdog timeout after 90 seconds, that will be better than never recovering.&amp;nbsp; So far, it looks like the clocks are running but the iMX6 is stuck and the watchdog is also not triggered even when the&amp;nbsp;WDOG_ENABLE (fuse 0x460[21]) is set.&lt;/P&gt;&lt;P&gt;I could add an external 32.768 kHz clock to the board to verify if the issue goes a way to confirm if this is the case.&amp;nbsp; Is there any other delay that is possible to configure?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 02:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336408#M179725</guid>
      <dc:creator>ericholmberg</dc:creator>
      <dc:date>2021-09-08T02:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336478#M179738</link>
      <description>&lt;P&gt;&amp;gt;Could you confirm if ERR007926 is hit that the iMX6 will lock and not go into serial download mode?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes. If clock is not stable (for example due to big start-up times of 32.768KHz crystal) i.MX6D/Q&lt;/P&gt;
&lt;P&gt;will not be able to properly initialize internal modules, including wdog, usb and other modules&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 04:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1336478#M179738</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-08T04:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1337929#M179862</link>
      <description>&lt;P&gt;Confirmed that removing the 32.768 kHz crystal and using a signal generator as a clock source resulted in no POR failures.&amp;nbsp; So this is&amp;nbsp;&lt;SPAN&gt;ERR007926.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We will fix any new hardware, but now have to figure out if there is anything that can done for hardware already in the field that cannot be easily reworked.&amp;nbsp; Are there any fuses that could slow down the boot process by at least 250ms?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 22:08:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1337929#M179862</guid>
      <dc:creator>ericholmberg</dc:creator>
      <dc:date>2021-09-09T22:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6D Failure to Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1337973#M179871</link>
      <description>&lt;P&gt;&amp;gt;We will fix any new hardware, but now have to figure out if there is anything&lt;/P&gt;
&lt;P&gt;&amp;gt;that can done for hardware already in the field that cannot be easily reworked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try to add RC on POR circuit to extend it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;Are there any fuses that could slow down the boot process by at least 250ms?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not sorry.&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, 10 Sep 2021 01:09:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6D-Failure-to-Boot/m-p/1337973#M179871</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-10T01:09:20Z</dc:date>
    </item>
  </channel>
</rss>

