Message ID | 1365613532-18919-1-git-send-email-robertcnelson@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Apr 10, 2013 at 12:05 PM, Robert Nelson <robertcnelson@gmail.com> wrote:
> Use cd-inverted to fix card detection on the at91sam9g20-ek Rev C Dev board.
Please Ignore this patch for now... As after more testing it looks
more like pinmux problem.. Aka removing a card (used to load
at91bootstrap/u-boot) during boot and then inserting the card again
after "Waiting for root device" shows up.. Results in nothing...
[ 1.023437] atmel_mci fffa8000.mmc: version: 0x210
[ 1.031250] atmel_mci fffa8000.mmc: no DMA channel available
[ 1.039062] atmel_mci fffa8000.mmc: using PDC
[ 1.132812] atmel_mci fffa8000.mmc: Atmel MCI controller at
0xfffa8000 irq 30, 2 slots
[ 1.140625] Waiting for root device /dev/mmcblk0p2...
Regards,
diff --git a/arch/arm/boot/dts/at91sam9g20ek_2mmc.dts b/arch/arm/boot/dts/at91sam9g20ek_2mmc.dts index 66467b1..d1b1521 100644 --- a/arch/arm/boot/dts/at91sam9g20ek_2mmc.dts +++ b/arch/arm/boot/dts/at91sam9g20ek_2mmc.dts @@ -24,6 +24,7 @@ reg = <0>; bus-width = <4>; cd-gpios = <&pioC 2 0>; + cd-inverted; }; };
Use cd-inverted to fix card detection on the at91sam9g20-ek Rev C Dev board. With: v3.9-rc6: atmel_mci fffa8000.mmc: version: 0x210 atmel_mci fffa8000.mmc: using PDC atmel_mci fffa8000.mmc: Atmel MCI controller at 0xfffa8000 irq 30, 2 slots Waiting for root device /dev/mmcblk0p2... With: v3.9-rc6 + this patch, card is now detected. atmel_mci fffa8000.mmc: version: 0x210 atmel_mci fffa8000.mmc: using PDC mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new SD card at address 0007 atmel_mci fffa8000.mmc: Atmel MCI controller at 0xfffa8000 irq 30, 2 slots mmcblk0: mmc0:0007 SD02G 1.89 GiB mmcblk0: p1 p2 Although other issues still remain: mmcblk0: retrying using single block read mmcblk0: error -115 sending stop command, original cmd response 0xb00, card status 0x900 mmcblk0: error -110 transferring data, sector 834296, nr 8, cmd response 0xb00, card status 0x0 mmcblk0: retrying using single block read Signed-off-by: Robert Nelson <robertcnelson@gmail.com> --- arch/arm/boot/dts/at91sam9g20ek_2mmc.dts | 1 + 1 file changed, 1 insertion(+)