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

Ming Lei ming.lei at canonical.com
Mon Jun 11 03:20:22 EDT 2012


On Mon, Jun 11, 2012 at 2:21 PM, T Krishnamoorthy, Balaji
<balajitk at ti.com> 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 at beagleboard:~# upk
updateing kernel...
flush storage...
root at beagleboard:~# cat bin/upk
#!/bin/sh

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

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


Thanks,
--
Ming Lei



More information about the linux-arm-kernel mailing list