[U-Boot] [PATCH v3] AT91: Problems with SD

Konrad Mattheis mattheis at ukma.de
Wed Sep 9 20:52:05 CEST 2009


Hi Albin,

so I describe you what I did.

Downloaded u-boot 2009.08

changed:
>#if defined(CONFIG_HAS_DATAFLASH)
to:
>#if defined(CONFIG_HAS_DATAFLASH) || defined(CONFIG_ATMEL_SPI)

applied Patch: 
http://lists.denx.de/pipermail/u-boot/2009-September/060053.html

then applied Patch V3: from mail

added to:include/config/at91sam9260ek.h

#define CONFIG_CMD_MMC 1
#define CONFIG_MMC 1
#define CONFIG_ATMEL_MCI

compiled and the on the at91sam9g20ek
I can start a normal kernel,...
but if I write mmc init I get the following error:
>mmc: clock 150000 too low; setting CLKDIV to 255
>No MMC card found

After this I tried to download git://git.denx.de/u-boot.git and then I could not apply the patches.
I always got this message:
	Reversed (or previously applied) patch detected!  Assume -R? [n]
Did you already applied the patches to the git repository?

bye Konrad



More information about the U-Boot mailing list