<?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: Problems with MMC on linux-2.6-imx git in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problems-with-MMC-on-linux-2-6-imx-git/m-p/164366#M4104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After spending some time getting my gitfoo up to speed (git rocks, BTW), I did a bisect to determine that the 61aa3f7 commit was causing my problem. &amp;nbsp;So the following now works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;git co remotes/origin/imx_2.6.31&lt;/P&gt;&lt;P&gt;git revert -n 61aa3f73c35ddf5c4ac1b0e252d2004a15634913&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The big question is why...and what am I missing in that commit because nothing about it is jumping out at me as the source of any issues. &amp;nbsp;Most of the changes seem pretty solid to me. &amp;nbsp;The one exception is the extra call to "mxs_mmc_reset()" when card_status != host-&amp;gt;present. &amp;nbsp;Here's the direct link to the change history on that commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://goo.gl/gKUDM" rel="nofollow" target="_blank"&gt;http://goo.gl/gKUDM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll keep monkeying around with it. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt; It appears to be the deletion of this POLARITY bit...time to read the reference manual:&lt;/P&gt;&lt;DIV class="page_body"&gt;&lt;DIV class="patchset"&gt;&lt;DIV class="patch" id="patch1"&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ssp_ctrl1&amp;nbsp;=&lt;/DIV&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_DMA_ENABLE&amp;nbsp;|&lt;/DIV&gt;&lt;DIV class="diff rem"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_POLARITY&amp;nbsp;|&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_RECV_TIMEOUT_IRQ_EN&amp;nbsp;|&lt;/DIV&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_DATA_CRC_IRQ_EN&amp;nbsp;|&lt;/DIV&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_DATA_TIMEOUT_IRQ_EN&amp;nbsp;|&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="page_footer"&gt;&lt;/DIV&gt;&lt;DIV class="page_footer"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="page_footer"&gt;&lt;STRONG&gt;EDIT2:&lt;/STRONG&gt; Yeah, that POLARITY bit is, uh, kind of important. &amp;nbsp;Why would someone just remove it from the&amp;nbsp;HW_SSP_CTRL1 like that? &amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2012 13:56:00 GMT</pubDate>
    <dc:creator>twdorris</dc:creator>
    <dc:date>2012-06-01T13:56:00Z</dc:date>
    <item>
      <title>Problems with MMC on linux-2.6-imx git</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problems-with-MMC-on-linux-2-6-imx-git/m-p/164365#M4103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been using the linux-2.6-imx kernel source that was included on CD with my IMX23 EVK for several weeks now. &amp;nbsp;I've found various issues and fixed various little things here and there, but it's all pretty much worked for me. &amp;nbsp;So I decided to get brave and grab the latest git release and build that instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;git clone &lt;A class="free external" href="http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git" rel="nofollow"&gt;http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied my .config from old (original CD kernel build area) to the new git directory and pointed the ltib build over to the new directory as well. Everything built find but I can't boot this new kernel image (at least not off my SD card) because it hangs here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Waiting for root device /dev/mmcblk0p2...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm really baffled. I don't know where to begin to debug this. I know nobody is going to be able to tell me exactly what to do to fix it, but maybe just some tips on places to look and things to check.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the diff between my old and new .config files (&amp;gt; indicates lines in new).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;753a754&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; # CONFIG_SERIAL_MXS_AUART_CONSOLE is not set&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;760a762&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; # CONFIG_FSL_OTP is not set&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;1169a1172&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; # CONFIG_REGULATOR_MAX17135 is not set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here's a diff between the boot up console of my old kernel vs. my new kernel&amp;nbsp;(&amp;gt; indicates lines in new).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;2c2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; Battery Voltage = 4.20V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; Battery Voltage = 4.19V&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;15c15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; Linux version 2.6.31-626-g602af1c (twdorris@debianbox) (gcc version 4.1.2) #41 Wed May 30 08:46:04 EDT 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; Linux version 2.6.31-00932-g0bc57f1 (twdorris@debianbox) (gcc version 4.1.2) #3 Wed May 30 08:40:20 EDT 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;26c26&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; Memory: 125924KB available (3420K code, 227K data, 100K init, 0K highmem)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; Memory: 125920KB available (3420K code, 228K data, 100K init, 0K highmem)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;30c30&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; Calibrating delay loop... 231.83 BogoMIPS (lpj=1159168)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; Calibrating delay loop... 226.91 BogoMIPS (lpj=1134592)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;35c35&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; NETol family 16&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; NET: Registered protocol family 16&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;107,109c107,109&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; tREA : Unknown&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; tRLOH : Unknown&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; tRHOH : Unknown&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; tREA : 20 ns&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; tRLOH : 5 ns&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; tRHOH : 15 ns&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;168c168&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; usb usb1: Manufacturer: Linux 2.6.31-626-g602af1c ehci_hcd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; usb usb1: Manufacturer: Linux 2.6.31-00932-g0bc57f1 ehci_hcd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;195,199c195&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:39 UTC (39)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; mmc0: new SD card at address aaaa&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; mmcblk0: mmc0:aaaa SU02G 1.84 GiB&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; mmcblk0:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt; p1 p2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;---&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:02:52 UTC&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt; Waiting for root device /dev/mmcblk0p2...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 13:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problems-with-MMC-on-linux-2-6-imx-git/m-p/164365#M4103</guid>
      <dc:creator>twdorris</dc:creator>
      <dc:date>2012-05-30T13:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with MMC on linux-2.6-imx git</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problems-with-MMC-on-linux-2-6-imx-git/m-p/164366#M4104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After spending some time getting my gitfoo up to speed (git rocks, BTW), I did a bisect to determine that the 61aa3f7 commit was causing my problem. &amp;nbsp;So the following now works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;git co remotes/origin/imx_2.6.31&lt;/P&gt;&lt;P&gt;git revert -n 61aa3f73c35ddf5c4ac1b0e252d2004a15634913&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The big question is why...and what am I missing in that commit because nothing about it is jumping out at me as the source of any issues. &amp;nbsp;Most of the changes seem pretty solid to me. &amp;nbsp;The one exception is the extra call to "mxs_mmc_reset()" when card_status != host-&amp;gt;present. &amp;nbsp;Here's the direct link to the change history on that commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://goo.gl/gKUDM" rel="nofollow" target="_blank"&gt;http://goo.gl/gKUDM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll keep monkeying around with it. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt; It appears to be the deletion of this POLARITY bit...time to read the reference manual:&lt;/P&gt;&lt;DIV class="page_body"&gt;&lt;DIV class="patchset"&gt;&lt;DIV class="patch" id="patch1"&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ssp_ctrl1&amp;nbsp;=&lt;/DIV&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_DMA_ENABLE&amp;nbsp;|&lt;/DIV&gt;&lt;DIV class="diff rem"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_POLARITY&amp;nbsp;|&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_RECV_TIMEOUT_IRQ_EN&amp;nbsp;|&lt;/DIV&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_DATA_CRC_IRQ_EN&amp;nbsp;|&lt;/DIV&gt;&lt;DIV class="diff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BM_SSP_CTRL1_DATA_TIMEOUT_IRQ_EN&amp;nbsp;|&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="page_footer"&gt;&lt;/DIV&gt;&lt;DIV class="page_footer"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="page_footer"&gt;&lt;STRONG&gt;EDIT2:&lt;/STRONG&gt; Yeah, that POLARITY bit is, uh, kind of important. &amp;nbsp;Why would someone just remove it from the&amp;nbsp;HW_SSP_CTRL1 like that? &amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 13:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problems-with-MMC-on-linux-2-6-imx-git/m-p/164366#M4104</guid>
      <dc:creator>twdorris</dc:creator>
      <dc:date>2012-06-01T13:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with MMC on linux-2.6-imx git</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problems-with-MMC-on-linux-2-6-imx-git/m-p/164367#M4105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow. &amp;nbsp;This forum is dead. &amp;nbsp;:(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 11:41:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problems-with-MMC-on-linux-2-6-imx-git/m-p/164367#M4105</guid>
      <dc:creator>twdorris</dc:creator>
      <dc:date>2012-06-05T11:41:47Z</dc:date>
    </item>
  </channel>
</rss>

