<?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>i.MX ProcessorsのトピックRe: Invert SD card detection logic at U-boot</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Invert-SD-card-detection-logic-at-U-boot/m-p/917413#M138076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nirmal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cd logic can be internal and using gpio as described in sect.3.3.6 Device Tree Binding&lt;/P&gt;&lt;P&gt;attached Linux Manual. If using gpio, it can be changed in sd/emmc driver source.&lt;/P&gt;&lt;P&gt;If internal - using CDPL bit in PRES_STATE (Present State) register of uSDHC module.&lt;/P&gt;&lt;P&gt;Regarding "&lt;STRONG&gt;cd-inverted&lt;/STRONG&gt; macro at the U-boot" suggest to post it on uboot mail list&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://lists.denx.de/listinfo/u-boot" title="https://lists.denx.de/listinfo/u-boot"&gt;U-Boot Info Page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that for boot ROM uses pinmuxing described in sect.6.1.5.2.4 IOMUX configuration for SD/MMC&lt;/P&gt;&lt;P&gt;i.MX8MQ Reference Manual and cd polarity can not be changed.&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>Thu, 26 Sep 2019 23:35:16 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-09-26T23:35:16Z</dc:date>
    <item>
      <title>Invert SD card detection logic at U-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Invert-SD-card-detection-logic-at-U-boot/m-p/917412#M138075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Release: Yocto-Sumo (4.14.78_1.0.0_GA)&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Board: i.MX8MQ based custom board&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;We designed iMX8MQ based custom board with different SD card socket than the EVK has. The card detection logic&amp;nbsp;is inverted&amp;nbsp;on our SD card socket.&lt;BR /&gt;Hence,&amp;nbsp;we are not getting the U-boot logs as we tried to boot&amp;nbsp;our&amp;nbsp;custom board using the SD card config. We suspect that we need to change the card detection logic in U-boot and kernel level.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;We changed cd-detection logic using&amp;nbsp;a&amp;nbsp;&lt;STRONG&gt;cd-inverted&lt;/STRONG&gt; macro at the U-boot level. Still, we are not able to boot the board.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Can anyone suggest which changes we missed to correct the SD card detection logic at the U-boot level?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Nirmal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2019 13:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Invert-SD-card-detection-logic-at-U-boot/m-p/917412#M138075</guid>
      <dc:creator>nirmalluhana</dc:creator>
      <dc:date>2019-09-26T13:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Invert SD card detection logic at U-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Invert-SD-card-detection-logic-at-U-boot/m-p/917413#M138076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nirmal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cd logic can be internal and using gpio as described in sect.3.3.6 Device Tree Binding&lt;/P&gt;&lt;P&gt;attached Linux Manual. If using gpio, it can be changed in sd/emmc driver source.&lt;/P&gt;&lt;P&gt;If internal - using CDPL bit in PRES_STATE (Present State) register of uSDHC module.&lt;/P&gt;&lt;P&gt;Regarding "&lt;STRONG&gt;cd-inverted&lt;/STRONG&gt; macro at the U-boot" suggest to post it on uboot mail list&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://lists.denx.de/listinfo/u-boot" title="https://lists.denx.de/listinfo/u-boot"&gt;U-Boot Info Page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that for boot ROM uses pinmuxing described in sect.6.1.5.2.4 IOMUX configuration for SD/MMC&lt;/P&gt;&lt;P&gt;i.MX8MQ Reference Manual and cd polarity can not be changed.&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>Thu, 26 Sep 2019 23:35:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Invert-SD-card-detection-logic-at-U-boot/m-p/917413#M138076</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-09-26T23:35:16Z</dc:date>
    </item>
  </channel>
</rss>

