public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Has anyone gotten the mmc commands to work on the NOVSOMTMi.MX6Q-SL-1-D, on the NOVPEK board by Novtech?
@ 2012-10-01 14:13 Greg Topmiller
  2012-10-01 16:35 ` Fabio Estevam
  2012-10-02 10:17 ` Marek Vasut
  0 siblings, 2 replies; 7+ messages in thread
From: Greg Topmiller @ 2012-10-01 14:13 UTC (permalink / raw)
  To: u-boot

I am using release 2012.07 of u-boot with board type freescale/mx6qarm2.  The mx6qarm2 is what is used as the board type in the freescale u-boot delivered with the board.  We want to use the main line u-boot 2012.07.  To get it working I had to change the serial port and it boots ok.  I also noticed sdhc1 and sdhc2 were not being initialized with fsl_esdhc_initialize.  I tried to initialize them but it hangs on "mmc rescan".  I turned on CONFIG_MMC_TRACE and get the following.

MX6QARM2 U-Boot > mmc rescan
board_mmc_getcd called for FSL_SDHC
MMC: mmc_set_bus_width
MMC: mmc_set_clock
MMC: mmc_go_idle
CMD_SEND:0
                ARG                      0x00000000
                FLAG                     0
                MMC_RSP_NONE
MMC: mmc_send_if_cond
CMD_SEND:8
                ARG                      0x000001AA
                FLAG                     0

FYI, below is some debug output when sdhc1 and sdhc2 are not initialized and doing an mmc rescan.
MX6QARM2 U-Boot > mmc rescan
board_mmc_getcd called for FSL_SDHC
MMC: mmc_set_bus_width
MMC: mmc_set_clock
MMC: mmc_go_idle
CMD_SEND:0
                ARG                      0x00000000
                FLAG                     0
                MMC_RSP_NONE
MMC: mmc_send_if_cond
CMD_SEND:8
                ARG                      0x000001AA
                FLAG                     0
                MMC_RSP_R1,5,6,7         0x4FD77E14
MMC: sd_send_op_cond
CMD_SEND:55
                ARG                      0x00000000
                FLAG                     0
                MMC_RSP_R1,5,6,7         0x00000002
MMC: sd_send_op_cond err -19
CMD_SEND:0
                ARG                      0x00000000
                FLAG                     0
                MMC_RSP_NONE
CMD_SEND:1
                ARG                      0x00000000
                FLAG                     0
                MMC_RSP_R3,4             0x00000002
Card did not respond to voltage select!

Any help is much appreciated.

Thanks,

Greg

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-02 12:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-01 14:13 [U-Boot] Has anyone gotten the mmc commands to work on the NOVSOMTMi.MX6Q-SL-1-D, on the NOVPEK board by Novtech? Greg Topmiller
2012-10-01 16:35 ` Fabio Estevam
     [not found]   ` <CEF1C43EC1BF464090308EB428E13600022271@AMEXMB02.ds.jdsu.net>
2012-10-01 17:20     ` Fabio Estevam
     [not found]       ` <CEF1C43EC1BF464090308EB428E136000222E2@AMEXMB02.ds.jdsu.net>
2012-10-01 19:09         ` Fabio Estevam
     [not found]           ` <CEF1C43EC1BF464090308EB428E136000222FE@AMEXMB02.ds.jdsu.net>
2012-10-01 19:24             ` Fabio Estevam
2012-10-02 10:17 ` Marek Vasut
2012-10-02 12:05   ` Greg Topmiller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox