NAME

mkhfflashfs - Utility to create a flashfs binary for the ISOS system.


SYNOPSIS

mkhfflashfs -ffs <size> -g <size> -o <outputfile> -i <config file>


DESCRIPTION

Note: this utility is not intended to be run directly, it should be run by metamk as part of the build process.

mkhfflashfs is a utility used to create FlashFS partition for use in an ISOS system. The output of this should be combined with a boot block to make a bootable binary.


OPTIONS

-ffs number
The size of the FlashFS partition to create in bytes. Specifying zero for this argument will produce a minimally sized file.

-g number
The size in bytes to use for the flash granularity.

-o name
The name of the output file.

-i name
The name of the input configuration file.

-h
Print a help message.


CONFIGURATION FILE

The configuration file specified on the command line must exist, and can contain zero or more lines containing one of the following directives:

file <local filename> <isfs filename>
will include a single file into the FlashFS partition

dir <local directory name>
will include the contents of the specified directory into the FlashFS partition


EXAMPLES

mkhfflashfs -ffs 256 -g 512 -o flashfs1.bin -i flashfs.cfg

This call will create a 256 kbyte flashfs1.bin image. It will create a flashfs file system containing the dir/file set in flashfs.cfg with granularity of 512 bytes.


SEE ALSO

DO-008668-PS Virata Tools 8.0 Implementation Overview

DO-007286-TC Helium Boot Procedure