[U-Boot] [PATCH v2a] AT91: add SD/MMC support

Reinhard Meyer u-boot at emk-elektronik.de
Fri Aug 13 13:17:21 CEST 2010


asc0 wrote:
> Hello! I have successfully applied your patch on a AT91SAM9G20 cpu and it
> reads the correct CID & CSD info.
> At the end of initialization the bread function fails with the following
> error:
> 
> mmc: bread failed, status = 0040c0e5, card status = 00000900
> 
> Does someone else received this error or have a hint on this error message?

a) it works fine on ATNGW100 and AT91SAM9XE-EK. Have you tried other cards?
The driver will not work with SDHC cards or cards that do not allow partial reads.
Maybe supply us here with the CID and CSD output from the driver.

b) that driver has become obsolete now... A few days ago I managed to get the mmc
framework based driver originally by Rob Emanuele running. That one can deal with
large cards (still have to test that, a 32GB card is in the mail to me). During
the weekend I might post a first patch of that to the list.

Best Regards,
Reinhard


More information about the U-Boot mailing list