Nandflash镜像文件系统尾部经常被填充0xFF以补齐大小,这样做是错误的,可能会有意想不到的bug.包括JFFS2.UBIFS等. 因此建议丢弃多余的0xFF. 出自:http://www.linux-mtd.infradead.org/doc/ubi.html If your UBI image contains UBIFS file system, and your flash is NAND, you may have to drop 0xFF bytes the end of in