|
Hello,
I am trying to get SD or MMC running with top of tree kernel (2.6.35.rc7). I have defined:
CONFIG_MMC=y CONFIG_MMC_BLOCK=y CONFIG_MMC_BLOCK_BOUNCE=y CONFIG_MMC_AT91=y
also in the board-top9000:
static struct at91_mmc_data __initdata top9000_mmc_data = { .slot_b = 0, .wire4 = 1, .det_pin = AT91_PIN_PC9, }; - also - /* MMC */ at91_add_device_mmc(0, &top9000_mmc_data);
However there are no kernel messages whatsoever about detecting a card. It is worth mentioning that all sorts of cards actually do work under u-boot - so the hardware should be wired ok. And yes, the card is connected to the "A" slot pins. I also had commented out the .det_pin and had the card inserted during kernel boot. Also important mentioning is that USB sticks are well detected and the partitions are displayed and mountable - that means that partition support and FAT filesystems are properly compiled into the kernel.
My questions are:
1. should TOT kernel work or are still some older patches required? 2. are there any special processes required to detect a card? 3. are there any other prerequisites necessary to initialize the MCI hardware beyond what is done by "at91_add_device_mmc" ? (I added some kprintf's to at91sam9260_devices.c and the "Slot A" part is really executed)
Maybe someone has ideas where I should additionally look at to solve the puzzle..?
Thanks in advance, Reinhard
|