From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Micron eMMC problem on sabre SD like card
Date: Thu, 06 Jun 2013 15:34:46 +0200 [thread overview]
Message-ID: <51B08FF6.7090108@denx.de> (raw)
In-Reply-To: <CACRyBitnubbmqvY3iAmVYhBmh9VvENaQ45DLMDXEQG0u_nQpPg@mail.gmail.com>
Hi Jean-Francois,
On 25/05/2013 17:32, jean-francois simon wrote:
> Hi,
> We have a new design that is based on Freescale SABRE SD card.
> We see that accesses made to the eMMC (Micron MTFC64GJVDN-4M ) are not working.
> We have placed the eMMC on SD3 (SD4 on Sabre SD). We want to use it in
> 8bit bus width, DDR, fast speed.
> The very first command sent to the device hangs. The hang happens in
> this function, when the mmc driver is waiting for an interrupt to
> occur:
>
>
> drivers/mmc/fsl_esdhc.c::esdhc_send_cmd()
> ......snip....
> /* Send the command */
> esdhc_write32(®s->cmdarg, cmd->cmdarg);
> #if defined(CONFIG_FSL_USDHC)
> esdhc_write32(®s->mixctrl,
> (esdhc_read32(®s->mixctrl) & 0xFFFFFF80) | (xfertyp & 0x7F));
> esdhc_write32(®s->xfertyp, xfertyp & 0xFFFF0000);
> #else
> esdhc_write32(®s->xfertyp, xfertyp);
> #endif
>
> /* Mask all irqs */
> esdhc_write32(®s->irqsigen, 0);
>
> /* Wait for the command to complete */
> while (!(esdhc_read32(®s->irqstat) & (IRQSTAT_CC |
> IRQSTAT_CTOE))) <<<<<<<HANGS HERE>>>>>>>>>
Could be the same as the issue reported by Fabio at
http://patchwork.ozlabs.org/patch/246928/ ?
Patch is not yet mainline, so I assume that it does not work. You could
make a test using u-boot-imx (git.denx.de/u-boot-imx) instead of u-boot
TOT. Due to this issue I have not yet merged back the mainline tree.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2013-06-06 13:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-25 15:32 [U-Boot] Micron eMMC problem on sabre SD like card jean-francois simon
2013-06-06 9:38 ` jean-francois simon
2013-06-06 13:34 ` Stefano Babic [this message]
2013-06-06 13:39 ` Fabio Estevam
2013-06-06 14:58 ` jean-francois simon
2013-06-06 16:47 ` Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51B08FF6.7090108@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox