Create a cramfs root file system

Source: Internet
Author: User
Cramfs is a read-only compressed file system developed by Linux founder Linus Torvalds. In the cramfs file system, each page (4 kb) is compressed separately and can be accessed on random pages, the compression ratio is as high as, saving a lot of flash storage space for the embedded system, enabling the system to store the same file through a lower-capacity FLASH, thus reducing system costs, the cramfs file system is compressed for storage and decompressed during runtime. Applications are not supported.ProgramRun in xip mode. All applications must be copied to ram for running. The following tools are required to create a cramfs-formatted root file system: cramfs-1.1.tar.gz For: Usage: # Tar zxvf cramfs-1.1.tar.gz # Cd cramfs-1.1 # Make // generate the following two files: mkcramfs and cramfsck. 1. The mkcramfs tool is used to create a cramfs file system. # Mkcramfs dirname (folder) root. cramfs (generated image)
2. The cramfsck tool is used to release and check the cramfs file system. # Cramfsck root. cramfs-x Dir (folder)
Run the generated image in flash through vivi or U-boot.

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: 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.