摘要
YAFFS2文件系统支持页大小为2 kB的大容量Nand FLASH和一些具有严格写入时序如零重写要求的NandFLASH,是嵌入式系统中实现对Nand FLASH管理的理想方案。重点分析了YAFFS2相对于YAFFS1所做的两点重要改进,即垃圾回收策略和checkdata的引入,并介绍了Nand FLASH的硬件接口设计和MTD驱动编写方法,给出了Intel Xs-cale PXA255、Linux 2.4.19平台下,在页大小为2 kB的大容量Nand FLASH上构建YAFFS2的方法和过程。
YAFFS2 has been added support for the new Nand FLASH with 2 k bytes pages and strictly sequential page writing order, such as zero rewriting. It is a good realization to manage Nand FLASH in embedded system. This paper analyzes how YAFFS2 improve on two aspects of the garbage collection strategy and the use of checkdata compared to YAFFS1. The method to design Nand FLASH hardware interface and MTD driver is also introduced. Based on Intel Xscale PXA255, Linux 2.4.19 ,The means and process to build YAFFS2 file system on large storage Nand FLASH with 2 k bytes pages is presented.
出处
《现代电子技术》
2007年第18期55-58,共4页
Modern Electronics Technique