[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 Greg.Topmiller at jdsu.com
Mon Oct 1 16:13:38 CEST 2012


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


More information about the U-Boot mailing list