Mkfs. jffs2: Usage: mkfs. jffs2 [Options] Make A jffs2 file system image from an existing Directory treeoptions: -P, -- pad [= size] indicates the size of the file to be output in hexadecimal format, that is, the size of root. jffs2. It is very important that, in order not to waste flash space, this value should best meet the block size specified by the Flash Driver. If it is not enough, use 0xff to fill in the full. -R,-D, -- root = dir specifies the original folder of the image to be made. (default: current folder) -S, -- pagesize = size node page size (default: 4kib) -E, -- eraseblock = size: set the size of the erased block to (default: 64kib) -C, -- cleanmarker = size of cleanmarker (default 12) -M, -- compr-mode = mode select compression mode (default: priortiry) -X, -- disable-compressor = compressor_name disable a compressor -X, -- enable-compressor = compressor_name enable a compressor -Y, -- compressor-priority = Priority: compressor_name set the priority of a compressor -L, -- list-compressors show the list of the avaiable Compressors -T, -- Test-compression call decompress and compare with the original (for test) -N, -- no-cleanmarkers indicates that the clear mark is not added (NAND Flash has its own checklist to store relevant information .) If the class is like cleanmarker node found at 0x0042c000 has totlen 0xc! = Normal 0x0 warning, plus-N will disappear. -O, -- output = file specifies the file name of the output image file. (default: stdout) -L, -- little-Endian specifies to use the small-end format-B, -- big-Endian specifies to use the large-end format -D, -- devtable = file use the named file as a device table File -F, -- faketime change all file times to '0' for regression testing -Q, -- squash permissions and owners making all files be owned by root -U, -- squash-UIDs: Set the owner of all files as the root user. -P, -- squash-perms squash permissions on all files -- With-xattr stuff all xattr entries into image -- With-SELinux stuff only SELinux labels into jffs2 Image -- With-POSIX-ACL stuff only posix acl entries into jffs2 Image -H, -- help display the text -V, -- verbose operation -V, -- version display version -I, -- incremental = File Parse file and generate appendage output for it |