|
Hi,
I am using kernel 2.6.23.1 from kernel.org and using AT91SAM9261EK board.
I have compiled with SPI disabled and AT91_MMC enabled (static build -- Not as a module).
My SD card (Kingston 1GB card) could not be detected.
Below is the extracted MCI related debug output. Can anyone help to advise on the possible causes of the SD card not being detected successfully ?
Thanks in advance.
====== debug output on console
Probe MCI devices
AT91 MMC: 4 wire bus mode not supported - using 1 wire
mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
MMC: Setting controller bus width to 1
Added MCI driver
mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0 timing 0
MMC: Setting controller bus width to 1
mmc0: clock 375000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0
clkdiv = 132. mcck = 374183
MMC: Setting controller bus width to 1
mmc0: clock 375000Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0 timing 0
clkdiv = 132. mcck = 374183
MMC: Setting controller bus width to 1
mmc0: starting CMD0 arg 00000000 flags 00000040
Sending command 0 as 00000800, arg = 00000000, blocks = 0, length = 0 (MR = 00008384)
MCI irq: status = 0000C0E5, C07F0001, 00000001
Command ready
Completed command
Status = 0000C0E5 [00000000 00000000 00000000 00000000]
mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000
mmc0: clock 375000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0
clkdiv = 132. mcck = 374183
MMC: Setting controller bus width to 1
mmc0: starting CMD8 arg 000001aa flags 00000075
Sending command 8 as 00001848, arg = 000001AA, blocks = 0, length = 0 (MR = 00008384)
MCI irq: status = 0010C0E4, C07F0001, 00100000
MMC: Response timeout
Completed command
Status = 0010C0E5 [00000000 00000000 00000000 00000000]
Error detected and set to 1 (cmd = 8, retries = 0)
mmc0: req done (CMD8): 1: 00000000 00000000 00000000 00000000
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
mmc0: starting CMD55 arg 00000000 flags 00000075
Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00008384)
MCI irq: status = 0002C0E4, C07F0001, 00020000
MMC: Response direction error
Completed command
Status = 0006C0E4 [FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF]
Error detected and set to 2 (cmd = 55, retries = 0)
mmc0: req done (CMD55): 2: ffffffff ffffffff ffffffff ffffffff
mmc0: starting CMD55 arg 00000000 flags 00000075
Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00008384)
MCI irq: status = 0002C0E4, C07F0001, 00020000
MMC: Response direction error
Completed command
Status = 0006C0E5 [FFFFFFFF 00000000 00000000 00000000]
Error detected and set to 2 (cmd = 55, retries = 0)
mmc0: req done (CMD55): 2: ffffffff 00000000 00000000 00000000
mmc0: starting CMD55 arg 00000000 flags 00000075
Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00008384)
MCI irq: status = 0002C0E4, C07F0001, 00020000
MMC: Response direction error
Completed command
Status = 0002C0E4 [FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF]
Error detected and set to 4 (cmd = 55, retries = 0)
mmc0: req done (CMD55): 4: ffffffff ffffffff ffffffff ffffffff
mmc0: starting CMD55 arg 00000000 flags 00000075
Sending command 55 as 00001877, arg = 00000000, blocks = 0, length = 0 (MR = 00008384)
MCI irq: status = 0002C0E4, C07F0001, 00020000
MMC: Response direction error
Completed command
Status = 0002C0E4 [FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF]
Error detected and set to 4 (cmd = 55, retries = 0)
mmc0: req done (CMD55): 4: ffffffff ffffffff ffffffff ffffffff
mmc0: starting CMD1 arg 00000000 flags 00000061
Sending command 1 as 00001841, arg = 00000000, blocks = 0, length = 0 (MR = 00008384)
MCI irq: status = 0002C0E4, C07F0001, 00020000
MMC: Response direction error
Completed command
Status = 0002C0E4 [FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF]
Error detected and set to 4 (cmd = 1, retries = 0)
mmc0: req done (CMD1): 4: ffffffff ffffffff ffffffff ffffffff
mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
MMC: Setting controller bus width to 1
================================
|