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>>>>>>>>> We have based our u-boot on the official tree, not the Freescale 2009 tree. I can see that the mmc drivers are somewhat different. This must be obvious since it happens on the first access, but I am not sure where to look. Thanks a lot, ; -- _______________________________________ jean-francois simon - www.themis.com ph: +33 (0)4 76 14 77 85 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot