[U-Boot] Has anyone gotten the mmc commands to work on the NOVSOMTMi.MX6Q-SL-1-D, on the NOVPEK board by Novtech?

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

On Mon, Oct 1, 2012 at 11:13 AM, Greg Topmiller Greg.Topmiller@jdsu.com wrote:
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
sdhc1 and sdhc2 are not available on mx6qarm2. Only sdhc3 and sdhc4 you can use on this board.
Regards,
Fabio Estevam

Dear Greg Topmiller,
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.
[..]
Do you supply power to the card ?
Best regards, Marek Vasut

Thanks for the response Merek. I got it working. I forgot to set the pad setting for the sdhc pins.
Thanks,
Greg
-----Original Message----- From: Marek Vasut [mailto:marex@denx.de] Sent: Tuesday, October 02, 2012 6:18 AM To: u-boot@lists.denx.de Cc: Greg Topmiller Subject: Re: [U-Boot] Has anyone gotten the mmc commands to work on the NOVSOMTMi.MX6Q-SL-1-D, on the NOVPEK board by Novtech?
Dear Greg Topmiller,
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.
[..]
Do you supply power to the card ?
Best regards, Marek Vasut
participants (3)
-
Fabio Estevam
-
Greg Topmiller
-
Marek Vasut