天嵌 ARM开发社区

 找回密码
 注册
查看: 3055|回复: 5

Partially written block XXX detected 怎么解决

[复制链接]
licheng5625 发表于 2010-8-18 17:44:43 | 显示全部楼层 |阅读模式
网上有人说不用解决  可是占用了大约1秒的开机时间,我还觉得是不是每次开机都会增加。请帮吗解答一下下吧
shufexiu 发表于 2010-8-18 18:53:41 | 显示全部楼层
不小心看到一篇文章,你可以去看一看,应该对你有帮助:

http://www.aleph1.co.uk/lurker/m ... 58.fe63e83a.en.html
 楼主| licheng5625 发表于 2010-8-18 21:49:47 | 显示全部楼层
2# shufexiu
谢谢斑竹。。。额  突然发现E文还是很烂。貌似是说ysffs是以0作为block的开头,而0被一直定义为一个非法的标记。。
              Rather than go through the whole of yaffs changing these numbers, I introduced the idea of an internal block number (that most of yaffs uses) and an
external one (that is aligned to the hardware) with an offset. If someone
uses dev->startBlock of zero then an offset of 1 block is used. This is
reasonably clean if you understand where it is applied, but is likely a bit
confusing if you don't understand the rationale.
     解决办法:与其通篇改变yaffs的这些数字,我介绍一个思想:一个内部的编号(yaffs用常用)和一个有相应位移外部的编号(来联系硬件)。如果有些人用dev—>startblock of 0,那么使用位移1block被用了。这是理想的清理方法,如果你理解哪里需要,但是如果不理解基本原理则会有一些混乱。(我绝对属于后者,很混乱)。。
      貌似看懂他的英文了,但是不知道他在说什么。他的说法这是yaffs很平常的bug?为什么没修复啊。我怎么感觉每次开机都会增多,难道发布的产品都没这个bug? 或者说这个bug,只有我很幸运的遇到了?有没有简单的方法啊。谢谢了
 楼主| licheng5625 发表于 2010-9-14 12:23:04 | 显示全部楼层
2# shufexiu

找到一个解决方法。。。用sync命令
天嵌_support1 发表于 2010-9-14 15:19:57 | 显示全部楼层
4# licheng5625


sync 命令是何意?
L143007 发表于 2011-1-8 22:20:01 | 显示全部楼层
到底怎么解决啊?/有谁已经解决这问题了? 把经验分享下 谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-8-21 10:48 , Processed in 1.042902 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表