{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052\deftab360{\fonttbl{\f0\fswiss\fprq2\fcharset0 Verdana;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
\pard\nowidctlpar\li360\sb200\cf2\b0\fs18 VolInfo is a utility which displays the contents of a firmware volume residing in a file for informational purposes.\par
\pard\nowidctlpar\li720\sb200\b0 xref is the path to a file-guid cross reference file. This file will be used to provide human readable names to the GUIDs found in the firmware volume.\par
\pard\nowidctlpar\li720\sb200\b0 offset is the offset within the file to start processing the firmware volume. This can be useful if the specified disk file is a firmware device image which generally will contain multiple firmware volume. The offset is a number and can be specified as a decimal number or a hexadecimal number (for example, 0x1ffe). If a 'k' suffix is attached to the number, then the number will be multiplied by 1024 (0x400) to turn the number into kilobytes.\par
\pard\nowidctlpar\li360\sb200\cf2\b0\fs18 Assume that $(WORKSPACE) is /home/joeuser/src/edk2 and the firmware volumes have been built into Build/EdkUnix/DEBUG_UNIXGCC/FV.\par
\pard\nowidctlpar\li360\sb200\cf2\f0\fs18 Assuming that a firmware device image had been built and that the firmware volume of interest resided at byte offset 65536 of that file, then the following command would show that firmware volume.\par
\pard\nowidctlpar\li360\sb200\cf2\b0\fs18 This (optional) file is built as part of the edk2 build process. It will be generated in the FV directory alongside the firmware volume file. The VolInfo utility will look for this file alongside the input firmware volume file, and if found it will read it's contents to define tools to use for extracting GUID defined firmware volume sections.\par
Each line contains three tokens and they are separated by whitespace. The three tokens are (in order): 1) the GUID associated with the tool, 2) a name for the tool, and 3) the path to the tool executable. An example of a possible line from the file:\par