Re: MMC: commit dba3c29 ruins mmc card data on beagle-xm revB

From: Ming Lei
Date: Mon Jun 11 2012 - 03:20:20 EST


On Mon, Jun 11, 2012 at 2:21 PM, T Krishnamoorthy, Balaji
<balajitk@xxxxxx> wrote:
> Hi Ming Lei,
> Can you let me know if you noticed any write/timeout errors ?

Nothing error logs found during writing.

Below is one of my test case.

root@beagleboard:~# upk
updateing kernel...
flush storage...
root@beagleboard:~# cat bin/upk
#!/bin/sh

echo "updateing kernel..."
cp -f /mnt/nfs/t/uImage /media/mmcblk0p1/

echo "flush storage..."
sync
root@beagleboard:~# diff /mnt/nfs/t/uImage /media/mmcblk0p1/uImage
Binary files /mnt/nfs/t/uImage and /media/mmcblk0p1/uImage differ
root@beagleboard:~# umount /media/mmcblk0p1
root@beagleboard:~# mount -t vfat /dev/mmcblk0p1 /media/mmcblk0p1
root@beagleboard:~#
root@beagleboard:~#
root@beagleboard:~# diff /mnt/nfs/t/uImage /media/mmcblk0p1/uImage
Binary files /mnt/nfs/t/uImage and /media/mmcblk0p1/uImage differ


Thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/