Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在我的 linux 机器上挂载 1[MB] Flash 分区。我正在使用以下命令 -
mount -t jffs2 -o noatime /dev/mtdblock6 /NVM
其中 mtdblock6 是我要挂载的 mtd 块,/NVM 是文件夹。此操作导致以下错误
jffs2: mtd->read(0x100 bytes from 0xc0000) returned ECC error
谁能建议为什么会这样?
先谢谢大家了!
是的。所描述的问题是由于我们的 NAND 闪存的错误初始化引起的。JFFS2 使用闪存备用区域来编码文件系统数据,但在我们的 NAND 初始化中我们删除了这一部分。结果就是上面描述的问题。
我们通过在启动时擦除“干净标记”来绕过它,然后 jffs 认为他需要重新初始化块 - 然后没有问题观察者。