Hello, Community
I did a test on i.MX6QSabreSDB as bellow.And I met an error when I did the test with LTIB(3.0.35_4.1.0),
while the error does not happen when I use Yocto(3.10.53).
Test steps:
1)Start imx6qsabresd board with LTIB BSP or Yocto BSP.
2)Insert a SD card(FAT32) into SD3 slot.
3)mount the FAT32 SD card(eg.mounted to /mnt/usb_disk).
4)Traverse the SD card.
5)Remove the SD card when it is traversing the SD card.
In the LTIB case,after removing SD card,sometimes an error as following will happen.
mmc2:Timeout waiting for hardware interrupt. But in the Yocto case, the error will not happen.
I compared the driver/mmc/host/sdhci.c in Yocto and LTIB, tried to resolve the error in LTIB,but the
code in Yocto and LTIB is so different, I don't know where to modify.
Could you give me some patches to resolve the error?
I attached my program used to traverse SD card.
Thank you!
ZongbiaoLiao
Original Attachment has been moved to: sd_hotplug_test.c.zip