亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 6542 | 回復(fù): 8
打印 上一主題 下一主題

[文件系統(tǒng)] 關(guān)于nand flash和jffs2的問題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2012-07-27 09:52 |只看該作者 |倒序?yàn)g覽
首先,描述一下我的問題:
1.我的板子上用的是hynix的nand flash HY27UF081G2A ,文件系統(tǒng)是采用jffs2,把制作好的rootfs燒到nand flash后,啟動的過程中會出現(xiàn)這種提示:
Empty flash at 0x02741608 ends at 0x02741800
Empty flash at 0x02742608 ends at 0x02742800
Empty flash at 0x02743608 ends at 0x02743800
Empty flash at 0x02744608 ends at 0x02744800
Empty flash at 0x02745608 ends at 0x02745800
Empty flash at 0x02746608 ends at 0x02746800
Empty flash at 0x02747608 ends at 0x02747800
Empty flash at 0x027495a4 ends at 0x02749800
Empty flash at 0x02a2d380 ends at 0x02a2d800
Empty flash at 0x02a306e8 ends at 0x02a30800
Empty flash at 0x02a316e8 ends at 0x02a31800
Empty flash at 0x02a326e8 ends at 0x02a32800
Empty flash at 0x02a336e8 ends at 0x02a33800
Empty flash at 0x02a346e8 ends at 0x02a34800
Empty flash at 0x02a39630 ends at 0x02a39800
Empty flash at 0x02a3e608 ends at 0x02a3e800
如圖:

2.掉電重啟后這種提示會增加一個,沒掉電重啟一次,就會增加一個,同時會提示:
JFFS2 notice: (213) check_node_data: wrong data CRC in data node at 0x027498e8: read 0x7d8b18ec, calculated 0xa976af4.
JFFS2 notice: (213) check_node_data: wrong data CRC in data node at 0x027488e8: read 0x7d8b18ec, calculated 0xa976af4.
這種提示!
如圖:

3.注意上述的兩點(diǎn)是掉電重啟,而不是reboot!但是如果我reboot后,
JFFS2 notice: (213) check_node_data: wrong data CRC in data node at 0x027498e8: read 0x7d8b18ec, calculated 0xa976af4.
JFFS2 notice: (213) check_node_data: wrong data CRC in data node at 0x027488e8: read 0x7d8b18ec, calculated 0xa976af4.
這種提示會消失!
如圖:

請問,有沒有大俠遇到過類似的情況,謝謝!

論壇徽章:
0
2 [報告]
發(fā)表于 2012-07-27 21:27 |只看該作者
制作文件系統(tǒng)的erasesize設(shè)置問題
如果你是用mkfs.jffs2工具生成文件系統(tǒng),需添加“-e 128Kib”參數(shù)128為block大小

論壇徽章:
0
3 [報告]
發(fā)表于 2012-07-30 09:40 |只看該作者
這個參數(shù)我加了。。。

論壇徽章:
0
4 [報告]
發(fā)表于 2012-07-30 16:42 |只看該作者
erase all 清一下falsh,然后再寫入干凈的文件系統(tǒng)。

論壇徽章:
0
5 [報告]
發(fā)表于 2012-07-31 10:11 |只看該作者
已經(jīng)erase all 了 ,在u-boot里面nand erase過了。。。。。

論壇徽章:
0
6 [報告]
發(fā)表于 2012-07-31 10:46 |只看該作者
試試這個:

http://www.linux-mtd.infradead.org/faq/jffs2.html

以下是摘抄

JFFS2 generates messages, is there a problem?

JFFS2 adopts the philosophy of keeping the user completely appraised of what is going on. This can catch out the unwary novice. The following messages can be moved to a higher log level once you are sure that they are benign.
Empty flash at 0xXXXXXXXX ends at 0xXXXXXXXX

This message is generated if a block of data is partially written. It is generally not a sign of any problem.
Name CRC failed on node at 0x00b620c8: Read 0x640c8ca3, calculated 0x795111fe

or similar message about CRC failures. If you have ever done unclean reboots - this is harmless. This just means that the unclean reboot happened (1) during data write or write buffer sync or (2) while GC was working or (3) while the write-buffer contained some data and was not yet synced before the unclean reboot happened. In them first and the third cases, you just lose the very last data you have written, in the second case you lose nothing. The wrong nodes will eventually be recycled by Garbage Collector and the messages will go (but they may live quite long).

But this also may mean that data on your flash was corrupted for sum reasons. Unfortunately JFFS2 cannot distinguish between node corruptions cause by unclean reboots and by real media corruptions. But the latter case is very rare.
You cannot use older JFFS2 filesystems with newer kernels

Please, update your MTD utilities and use newer mkfs.jffs2.

論壇徽章:
0
7 [報告]
發(fā)表于 2012-07-31 10:57 |只看該作者
已經(jīng)看過了。。。。。。。大概意思就是說這個消息無關(guān)緊要。。。。但是總是打印這個東西。?粗鵁。。。。。!

論壇徽章:
0
8 [報告]
發(fā)表于 2012-07-31 11:18 |只看該作者
回復(fù) 7# zhuqing_739


    看這一句:“Please, update your MTD utilities and use newer mkfs.jffs2.” 呵呵。

論壇徽章:
0
9 [報告]
發(fā)表于 2014-04-03 14:21 |只看該作者
樓主這個問題后來怎么解決的,小弟也碰到類似問題了回復(fù) 1# zhuqing_739


   
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP