2 Prerequisites
This chapter explains the host/target system environment for porting RFS to your target system.
Host is Linux PC environment and target can be any kind of consumer device using OneNAND
flash memory.
2.1 Host Environment
The following table shows the host system requirements for configuring and building RFS 1.2
Host Machine
Host OS
IDE & Compiler
Free Space
2.2 Software Environment
2.2.1 Directory Structure of Linux RFS Package
You can make a RFS directory to be the top directory of this project and extract source files
from the package file using the shell command. It is also assumed that the $(TOP_DIR) also
contains the Linux kernel source directory where RFS will be applied.
shell> cd $(TOP_DIR)
shell> tar xvjf rfs-1.3.x.tar.bz2
Then, some directories such as RFS, RFS-TOOLS, etc are created under $(RFS_TOP_DIR). There
are RFS source, library and some tools. The RFS source package has the following directory
hierarchy.
'rfs' contains source files related to Robust FAT and 'xsr' contains source files related to
OneNAND block device driver. 'scripts' contains install scripts and 'util' contains several tools
to maintain RFS.
4
Table 1 Host System Requirements
PC
Linux
Native GCC compiler & Cross-Compiler
About 50MB
Figure 2-1 Directory Structure of Linux RFS Package
Linux RFS v1.3.0 Porting Guide