mkhfflash - Utility to combine binary files into a flash image.
mkhfflash -fcs <size> -fcn <number> -o1 <output file> [-o2 <outputfile>] -bf <filename> -cf filename> file1.bin file1_loc ...
Note: this utility is not intended to be run directly, it should be run by metamk as part of the build process.
mkhfflash is a utility used to combine a boot block, a configuration information binary and some FlashFS partitions to produce a bootable flash image.
mkhfflash -fcs
0 -fcn
1 -o1
flash.bin -bf
boot.bin -cf
config.bin flashfs1.bin 0 flashfs2.bin 0
Specifying a flashchipsize of 0 and all start address set to 0 will produce the smallest possible output file. This will only work with a flash chip number of 1.
The offsets can be determined automatically. If the input file starting address is set to 0 it will be placed in the next available 64 kbyte block.
Warnings will be given if a flash address is not specified on a 64kbyte boundary.
DO-008668-PS Virata Tools 8.0 Implementation Overview
DO-007286-TC Helium Boot Procedure