[U-Boot] Question AT91SAM9G20 boot from SD

Konrad Mattheis mattheis at ukma.de
Fri Sep 4 19:38:15 CEST 2009


>> Hi,
>> 
>> I have a AT91SAM9G20 and try to boot from SD-Card.
>> I compiled u-boot, but the CONFIG_MMC is missing in the default mode.
>> I found the default config for this board in 
>> /include/config/at91sam9260ek.h there I added the follofing lines:
>> 
>> #define CONFIG_CMD_MMC 1
>> #define CONFIG_MMC 1
>> 
>> now I get a compiler error with:
>> 
>> /common/cmd_mmc.c:53: undefined reference to `mmc_legacy_init',.....
>> 
>> Any ideas?

>You need an actual SD/MMC driver. Here, the driver is atmel_mci, and you need #define CONFIG_ATMEL_MCI in your board >config.h

>Please note, though, that using the MCI driver on AT91 is not yet supported in mainline.

What does is mean, not yet. Do you have a plan to support this. Or is this a dead-end street?

bye
Konne


More information about the U-Boot mailing list