UBIFS issue - corrupt empty space

本文讨论了UBIFS(UBI File-System)在遇到擦除区域的位翻转时可能出现的问题,以及一个针对i.MX28和GPMI平台的补丁尝试解决这个问题。尽管该补丁在某些设备上未生效,但提出了通过配置BCH块来标记含有少量错误位的块为已擦除,以允许软件进行二次检查和纠正。建议在挂载UBIFS时避免使用'sync'选项,并确保在关闭文件或断电前刷新数据。
摘要由CSDN通过智能技术生成

Informations from Internet

UBIFS - UBI File-System

http://www.linux-mtd.infradead.org/doc/ubifs.html

mtd:gpmi patch for Deal with bitflips in erased regions

--> Already tested this patch, seems not work in our device.

http://lists.infradead.org/pipermail/linux-mtd/2013-December/050794.html

 

The BCH block typically used with a i.MX28 and GPMI block is only

able to correct bitflips on data actually streamed through the block.

When erasing a block the data does not stream through the BCH block

and therefore not ECC data is written to the NAND chip. This causes

gpmi_ecc_read_page to return failure as soon as a single non-1-bit is

found in an erased page. Typically causing problems at higher levels

(ubifs corrupted empty space warnings).

 

This patch configures the BCH block to mark a block as 'erased' if

no more than ecc_strength bitflips are found.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值