Linux 4.10.8 File System Production (iii)---making yaffs file system

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.