On a material produced minimal root file system, if you want to burn to a run on the board we need to take these materials into the image file, making images require corresponding tools used
This section in the future to complete the production tool below to make yaffs2 format file system as an example lists the methods and steps.
First, the tools of the original code
yaffs_source_util_larger_small_page_nand.tar.bz2
Unzip into the directory Development_util_ok / yaffs2 / utils
Look at all those things directory
In this directory execute make After compilation will be a tool in the following figure
mkyaffs2image this tool is that we need the tools to copy this tool into the root directory at the same time add the executable attribute
sudo cp mkyaffs2image /usr/local/bin/
sudo chmod +x /usr/local/bin/mkyaffs2image
Second, the production image
Into the root file system directory at the same level Note: The same directory that level, not the file system directory.
mkyaffs2image fs_mini_mdev fs_mini_mdev.yaffs2
fs_mini_mdev is the root file system directory name
fs_mini_mdev.yaffs2 is the image name
Here you can put fs_mini_mdev.yaffs2 this image to burn to the development board to run the
Note: This is the smallest root file system root file system, you can verify the kernel to mount the root file system and the root file system is available. Not perfect.
The next section, to further improve the root file system explained