<?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 SD is not visible when booting from eMMC in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/SD-is-not-visible-when-booting-from-eMMC/m-p/1549687#M11372</link>
    <description>&lt;P&gt;Hello! I'm using Solidrun's ClearFog carrier board with LX2160A Computer on a module (&lt;A href="https://www.solid-run.com/embedded-networking/nxp-lx2160a-family/cex7-lx2160/" target="_blank" rel="noopener"&gt;https://www.solid-run.com/embedded-networking/nxp-lx2160a-family/cex7-lx2160/&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;When booting from internal eMMC flash SD card inserted into carrier board is not visible.&lt;/P&gt;&lt;P&gt;There is a corresponding question on solidrun's community forum&amp;nbsp;&lt;A href="https://community.solid-run.com/t/sd-mmc0-not-accessible-if-booting-from-emmc/361" target="_blank" rel="noopener"&gt;https://community.solid-run.com/t/sd-mmc0-not-accessible-if-booting-from-emmc/361&lt;/A&gt;&amp;nbsp;but it was suggested to redirect this question to NXP community.&lt;/P&gt;&lt;P&gt;I’ve done some investigations and the results look weird for me.&lt;BR /&gt;I guess that the problem resides in RCW or internal boot logic (or something else which i don’t know).&lt;BR /&gt;IIC2_PMUX[354-352] RCW configuration’s bits are responsible for multiplexing SDHC1 CD (card detect) pin with other controllers (I2C, GPIO, flextimer).&lt;BR /&gt;RCW source code (lx2160acex7/configs/lx2160a_defaults.rcwi) sets IIC2_PMUX=6 which means that SDHC1 CD pin is enabled.&lt;/P&gt;&lt;P&gt;I checked that these bits are really set inside FLASH memory, then i booted to u-boot and checked the content of “Reset Configuration Word Status Register 12 (RCWSR12)” which stores the content of RCW IIC2_PMUX[354-352] after reset (see 9.3.29 of User’s Manual) and this register contained all zeros which means that CPU uses II2C instead of SDHC1:&lt;/P&gt;&lt;P&gt;=&amp;gt; md.l 1E0012c 1&lt;BR /&gt;01e0012c: 00000000&lt;/P&gt;&lt;P&gt;So my guess that when you select “boot from SD card” LX2160A forces SD controller initialization (including configuration Card Detect pin) and everything goes OK. But when you boot from another source (eMMC, SPI Flash) RCW configuration comes into play and SD card does not work.&lt;/P&gt;&lt;P&gt;Are my suggestions correct or i'm doing something wrong? Is there any way to overcome this problem?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2022 12:46:30 GMT</pubDate>
    <dc:creator>dstepanov</dc:creator>
    <dc:date>2022-11-07T12:46:30Z</dc:date>
    <item>
      <title>SD is not visible when booting from eMMC</title>
      <link>https://community.nxp.com/t5/Layerscape/SD-is-not-visible-when-booting-from-eMMC/m-p/1549687#M11372</link>
      <description>&lt;P&gt;Hello! I'm using Solidrun's ClearFog carrier board with LX2160A Computer on a module (&lt;A href="https://www.solid-run.com/embedded-networking/nxp-lx2160a-family/cex7-lx2160/" target="_blank" rel="noopener"&gt;https://www.solid-run.com/embedded-networking/nxp-lx2160a-family/cex7-lx2160/&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;When booting from internal eMMC flash SD card inserted into carrier board is not visible.&lt;/P&gt;&lt;P&gt;There is a corresponding question on solidrun's community forum&amp;nbsp;&lt;A href="https://community.solid-run.com/t/sd-mmc0-not-accessible-if-booting-from-emmc/361" target="_blank" rel="noopener"&gt;https://community.solid-run.com/t/sd-mmc0-not-accessible-if-booting-from-emmc/361&lt;/A&gt;&amp;nbsp;but it was suggested to redirect this question to NXP community.&lt;/P&gt;&lt;P&gt;I’ve done some investigations and the results look weird for me.&lt;BR /&gt;I guess that the problem resides in RCW or internal boot logic (or something else which i don’t know).&lt;BR /&gt;IIC2_PMUX[354-352] RCW configuration’s bits are responsible for multiplexing SDHC1 CD (card detect) pin with other controllers (I2C, GPIO, flextimer).&lt;BR /&gt;RCW source code (lx2160acex7/configs/lx2160a_defaults.rcwi) sets IIC2_PMUX=6 which means that SDHC1 CD pin is enabled.&lt;/P&gt;&lt;P&gt;I checked that these bits are really set inside FLASH memory, then i booted to u-boot and checked the content of “Reset Configuration Word Status Register 12 (RCWSR12)” which stores the content of RCW IIC2_PMUX[354-352] after reset (see 9.3.29 of User’s Manual) and this register contained all zeros which means that CPU uses II2C instead of SDHC1:&lt;/P&gt;&lt;P&gt;=&amp;gt; md.l 1E0012c 1&lt;BR /&gt;01e0012c: 00000000&lt;/P&gt;&lt;P&gt;So my guess that when you select “boot from SD card” LX2160A forces SD controller initialization (including configuration Card Detect pin) and everything goes OK. But when you boot from another source (eMMC, SPI Flash) RCW configuration comes into play and SD card does not work.&lt;/P&gt;&lt;P&gt;Are my suggestions correct or i'm doing something wrong? Is there any way to overcome this problem?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 12:46:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SD-is-not-visible-when-booting-from-eMMC/m-p/1549687#M11372</guid>
      <dc:creator>dstepanov</dc:creator>
      <dc:date>2022-11-07T12:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: SD is not visible when booting from eMMC</title>
      <link>https://community.nxp.com/t5/Layerscape/SD-is-not-visible-when-booting-from-eMMC/m-p/1550422#M11376</link>
      <description>&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;Thank you for contacting NXP support!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;You can view a Quick Start Guide for LX2160A on our board.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="editor-rtfLink" href="https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-08FB1231-5760-4FC5-A8AA-913ED8AD842D.html" target="_blank" rel="noopener"&gt;&lt;SPAN data-preserver-spaces="true"&gt;LSDK Quick Start Guide for LX2160ARDB Rev2 | Layerscape Software Development Kit User Guide | NXP Semiconductors&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;You can take this info for your board and probably work on your board but for more detailed information for your board contact Solidrun support!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 16:02:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/SD-is-not-visible-when-booting-from-eMMC/m-p/1550422#M11376</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2022-11-08T16:02:53Z</dc:date>
    </item>
  </channel>
</rss>

