Name
GenVtf.exe - generate the Boot Strap File (AKA Volume Top File, or VTF) for IPF images
Synopsis
GenVtf.exe [options]
Description
GenVtf is used to generate the Boot Strap File (AKA Volume Top File, or VTF) for IPF images. This utility will parse the input BSF inf file and get the component information. If all the components which are required to put into a single VTF file, then only one VTF Base Address and Size will be needed and only one raw data output file and one symbol output file which is the symbol of raw data. If there’s component which is required to put into the second VTF file but there’s no second VTF Base Address and Size specified in command line interface, then this utility will exit with related error message; if there’s second VTF Base Address and Size specified, then there are two raw data output files and one symbol output file.
Options
-f, --filename BS_INFFile
      Name of the BS Image INF file to use
-r, --baseaddr hexaddress
      The Base Address is the starting address of the Firmware Volume where the Boot Strapped Image will reside
-s, --size Size
      The size of the Firmware Volume
 -o, --output Filename
      VTF Filename that will be created
--version
	Print version and copyright of this program and exit
-v, --verbose
Turn on verbose output with informational messages printed. This is a count value, so specifying –vv can be used to increase the verbosity level.
-q, --quiet
	Disable all messages except FATAL ERRORS
-d, --debug [#]
	Enable debug messages, at level #
-h, --help
	Print copyright, version and usage of this program and exit
Example
Generate one VTF file with inf file name, base address and size specified in command line and without output filename specified. So default filename “VTF1.RAW” will be used.
GenVtf –f bsf.inf –r 0xFFE00000 –s 0x200000
Generate two VTF files with inf file name, base address and size specified in command line and without output filename specified. So default filename “VTF1.RAW” and “VTF2.RAW”will be used.
GenVtf –f bsf.inf –r 0xFFE00000 –s 0x200000 –r 0xFFD00000 –s 0x100000
Generate one VTF file with inf file name, base address and size specified in command line and output filename specified.
GenVtf –o file.tmp –f bsf.inf –r 0xFFE00000 –s 0x200000
Generate two VTF files with inf file name, base address and size specified in command line and output filename specified.
GenVtf –o file1.tmp –o file2.tmp –f bsf.inf –r 0xFFE00000 –s 0x200000 –r 0xFFD00000 –s 0x100000
Bugs
No known bugs.
Report bugs to edk2-buildtools-devel@lists.sourceforge.net
Files
None
See also
None
License
Copyright (c) 1999 - 2009, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution.  The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php	

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.