SQUASHFS error 解决

/mnt/nfs #  flashcp   flash_xxx    /dev/mtd5

SQUASHFS error: xz_dec_run error, data probably corrupt

SQUASHFS error: squashfs_read_data failed to read block 0xa0b5c
SQUASHFS error: Unable to read fragment cache entry [a0b5c]
SQUASHFS error: Unable to read page, block a0b5c, size 9a88
SQUASHFS error: Unable to read fragment cache entry [a0b5c]
SQUASHFS error: Unable to read page, block a0b5c, size 9a88
SQUASHFS error: Unable to read fragment cache entry [a0b5c]
SQUASHFS error: Unable to read page, block a0b5c, size 9a88

/bin/sh: flashcp: Input/output error

原因:可能是flash_cp 命令找不到对应的可执行文件 flashcp ,被flash_eraserall命令给清了。

解决:执行flash_cp命令前先拷贝一个工程里的flashcp文件到当前目录 ,执行:

          /mnt/nfs #  ./flashcp   flash_xxx    /dev/mtd5

你可能感兴趣的:(SQUASHFS error 解决)