The tools provided by Vedon are directly used here.
The Yaffs file system is a file system dedicated to Nandflash
We have already downloaded the Yaffs source code, also did the file system directory construction.
In YAFFS2 's source directory there is a utils directory, which is the tool to make the impression of the file.
Copy the tool to the system directory
Add the Executable property:
Enter the Nfs_root directory and execute the command:
Mkyaffs2image Fs_mini FS_MINI.YAFFS2
Then start the u-boot and write the Burn:
NFS 30000000 192.168.0.192:/HOME/UBUNTU/WORK/NFS_ROOT/FS_MINI.YAFFS2
NAND Erase.part Rootfs
NAND write.yaffs 30000000 260000 $filesize
Set Bootargs console=ttysac0,115200 Root=/dev/mtdblock3
NFS 32000000 192.168.0.192:/home/ubuntu/work/nfs_root/uimage
Bootm 32000000
See information when you start
Linux 4.10.8 File System Production (iii)---making yaffs file system