public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] at91sam9g45ekes SDHC/MMC
@ 2010-03-15 19:51 Henry Súcart
  2010-03-15 20:10 ` Albin Tonnerre
  2010-04-06  9:57 ` Ulf Samuelsson
  0 siblings, 2 replies; 17+ messages in thread
From: Henry Súcart @ 2010-03-15 19:51 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2010-05-03 14:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 19:51 [U-Boot] at91sam9g45ekes SDHC/MMC Henry Súcart
2010-03-15 20:10 ` Albin Tonnerre
2010-03-15 21:40   ` Henry Súcart
2010-03-15 22:15     ` Albin Tonnerre
2010-03-16 12:30       ` Henry Súcart
2010-03-16 20:36         ` Albin Tonnerre
2010-03-16 22:08           ` Henry Súcart
2010-03-17 19:23             ` Henry Súcart
2010-04-06  9:57 ` Ulf Samuelsson
2010-04-12 13:55   ` Henry Súcart
2010-04-23  0:51     ` Rob Emanuele
2010-04-23  6:24       ` Samuelsson, Ulf
2010-04-23 21:58       ` Andy Fleming
2010-04-23 23:21         ` Albin Tonnerre
2010-04-24  1:18           ` Andy Fleming
2010-04-28 20:17             ` Robert Emanuele
2010-05-03 14:45               ` Henry Súcart

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