These settings control the format and size of your flash filesystem image. Unless otherwise
specified, the values are in bytes, but you can use the suffixes K,
M, or G (e.g. 800, 16K, 2M,
4G). The IDE immediately rejects invalid entries.
-
Block Size
- The size of the blocks on your flash.
-
Filesystem Type
- The type of flash filesystem to create. Use the default (ffs3)
unless you specifically need compatibility with older software that requires
ffs2 format images.
-
Filter
- A filter you can use with this image, called
deflate
, compresses files for flash filesystems. (The mkefs utility calls
deflate.) Use any valid command-line argument, such as
deflateĀ -t1.
-
Maximum Image Size
- The limit for the size of the generated image. If the image exceeds the maximum size,
mkefs fails and reports an error in the System Builder Console view. The
default setting of 4 GB accommodates most images.
-
Minimum Image Size
- The minimum size of the embedded filesystem. If the size of the filesystem is less than
this size after all the specified files have been added, then the filesystem is padded to
the required size. The default is 0 (i.e. no padding occurs).
-
Spare Blocks
- The number of spare blocks to be used by the embedded filesystem. If you want the
embedded filesystem to be able to reclaim the space taken up by deleted files, set the
number of spare blocks to 1 or more. The default is 1.