error:
Since no bad blocks found in uboot, stripping out the core code debugging:
flash_eraseall -q -j /dev/mtd1
mkdir -p /mnt/partition_nand_1419
mount -t jffs2 -o async /dev/mtdblock1 /mnt/partition_nand_1419
time dd if=/dev/urandom of=/tmp/srctest bs=131072 count=10
time dd if=/tmp/srctest of=/mnt/partition_nand_1419/test_file_1419 bs=131072 count=10
sync
echo 3 > /proc/sys/vm/drop_caches
diff /tmp/srctest /mnt/partition_nand_1419/test_file_1419
umount /mnt/partition_nand_1419
mkdir -p /mnt/partition_nand_1419
mount -t jffs2 -o async /dev/mtdblock1 /mnt/partition_nand_1419
time dd if=/dev/urandom of=/tmp/srctest bs=131072 count=10
time dd if=/tmp/srctest of=/mnt/partition_nand_1419/test_file_1419 bs=131072 count=10
sync
echo 3 > /proc/sys/vm/drop_caches
diff /tmp/srctest /mnt/partition_nand_1419/test_file_1419
umount /mnt/partition_nand_1419
It found that caused the error is echo 3> / proc / sys / vm / drop_caches
Temporarily comment out the first sentence, and the cause is not found.