
4 Sep
2009
4 Sep
'09
7:38 p.m.
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