[Ltib] LPC3250 platform problem: SD card can not work well
From:
Li Yuan-Lung
Subject:
[Ltib] LPC3250 platform problem: SD card can not work well
Date:
Fri, 19 Nov 2010 10:24:58 +0800
Dear all, In the beginning of this year, the SD card works well in the same board with kernel 2.6.28 Last months we found the SD card doesn't work with kernel 2.6.34
Here is the releated dmesg( after plugging the SD card into the slot): (seems the CMD5 always timeout)
The symptom is: 1. If I boot up the board with SD card pluged, the system hang after the DHCP process, never get a prompt. 2. If I plug the SD card after the system ready, it shows the below messages: "mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SD card at address 0001 mmcblk0: mmc0:0001 00000 1.89 GiB mmcblk0:" The write protect message is right cause we are using micro SD card slot and I set ".gpio_wp = -1" in phy3250.c, but if I mount the /dev/mmcblk0 with command "mount /dev/mmcblk0 /mnt/floppy", the system also hang with no response, even I press many "Enter" keys.
The only way is to remove the power to let the system reset.
Please kindly help to figure out a way for solving. Thank you very much.
root# dmesg|grep mmc =====================================================This is the dmesg after boot
bus: 'mmc': add driver mmcblk bus: 'amba': add driver mmci-pl18x bus: 'amba': driver_probe_device: matched device dev:mmc0 with driver mmci-pl18x bus: 'amba': really_probe: probing driver mmci-pl18x with device dev:mmc0
mmci-pl18x dev:mmc0: designer ID = 0x41 mmci-pl18x dev:mmc0: revision = 0x0 mmci-pl18x dev:mmc0: clocking block at 13866666 Hz mmci-pl18x dev:mmc0: DMA buffer: phy:83d70000, virt:ffc03000 device: 'mmc0': device_add
PM: Adding info for No Bus:mmc0 mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0 mmci-pl18x dev:mmc0: mmc0: MMCI rev 0 cfg 00 at 0x0000000020098000 irq 15,13 driver: 'dev:mmc0': driver_bound: bound to device 'mmci-pl18x'
bus: 'amba': really_probe: bound device dev:mmc0 to driver mmci-pl18x
======================================================The below was happened after pluged SD card