[U-Boot] at91sam9g45ekes SDHC/MMC
Henry Súcart
henry.sucart at gmail.com
Mon Mar 15 20:51:32 CET 2010
Hi,
I've been trying to get an SD card working with an at91sam9g45ek-es board. I
read a couple of threads in the archive and ended up doing this:
I applied these patches:
http://lists.denx.de/pipermail/u-boot/2009-August/059595.html
http://lists.denx.de/pipermail/u-boot/2009-September/060053.html
http://lists.denx.de/pipermail/u-boot/2009-September/060243.html
Added these #define's to include/configs/at91sam9m10g45ek.h:
#define CONFIG_CMD_EXT2 1
#define CONFIG_CMD_FAT 1
#define CONFIG_CMD_MMC 1
#define CONFIG_MMC 1
#define CONFIG_ATMEL_MCI 1
Finally, I added this to the board init function:
#ifdef CONFIG_ATMEL_MCI
at91_mci0_hw_init(0, 4);
#endif
When I try it out this is what I get:
U-Boot> mmc init 0
mmc: clock 150000 too low; setting CLKDIV to 255
mmc: command 1 failed (status: 0x0c100025)
No MMC card found
Am I doing something wrong? Any help is appreciated,
Henry
More information about the U-Boot
mailing list