II Linux RFS v1.3.0 Porting Guide
Preface
SEC-FSG-RFS1.2-POG
This document is a porting guide of RFS developed by Flash Software Group, Memory
Division, Samsung Electronics. It describes Linux RFS porting procedure to user's target platform.
Purpose
This document is RFS Porting Guide. This document explains the definition,
architecture, system requirement, and porting tutorial of RFS. This document also
provides the features and API of each module that a user should know well to port RFS.
Combine the above two paragraphs for one into a meaningful one
Scope
This document is for Project Manager, Project Leader, Application Programmers,
etc.
Definitions and Acronyms
FTL (Flash
Translation Layer)
A software module which maps between logical
addresses and physical addresses when accessing to
flash memory
IDE Integrated Development Environment
CRAMFS Compressed ROM File System
RFS Robust FAT File System
VFS Virtual File System
XSR eXtended Sector Remapper
MTD Memory Technology Device
LLD Low Level Device Driver
Sector The file system performs read/write operations in a
512-byte unit called sector.
Page NAND flash memory is partitioned into fixed-sized
pages. A page is (512+16) bytes or (2048 + 64) bytes.
Block NAND flash memory is partitioned into fixed-sized
blocks. A block is 16K bytes or 128K bytes.
NAND flash device NAND flash device is a device that contains NAND flash
memory or NAND flash controller.
NAND flash memory NAND-type flash memory
Deferred Check
Operation
The method that can increase time and device
operation performance. Every operation function of LLD
defers the check routine to the next operation.
OneNAND Samsung NAND flash device that includes NAND flash
memory and NAND flash controller.