]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/UserManuals/VolInfo_Utility_Man_Page.rtf
Sync EDKII BaseTools to BaseTools project r1971
[mirror_edk2.git] / BaseTools / UserManuals / VolInfo_Utility_Man_Page.rtf
CommitLineData
40d841f6
LG
1{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052\deftab360{\fonttbl{\f0\fswiss\fprq2\fcharset0 Verdana;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}\r
2{\colortbl ;\red8\green96\blue168;\red0\green0\blue0;}\r
3{\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}}\r
4{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\keep\keepn\nowidctlpar\s2\sb400\sa60\sl-340\slmult0\tx360\tx1440\cf1\b\f0\fs28 Name\par\r
5\pard\nowidctlpar\li360\sb200\cf2\b0\fs18 VolInfo \endash Displays the contents of a firmware volume\par\r
6\pard\keep\keepn\nowidctlpar\s2\sb400\sa60\sl-340\slmult0\tx360\tx1440\cf1\b\fs28 Synopsis\par\r
7\pard\nowidctlpar\li360\sb200\cf2\fs18 VolInfo [options] [target]\par\r
8\pard\keep\keepn\nowidctlpar\s2\sb400\sa60\sl-340\slmult0\tx360\tx1440\cf1\fs28 Description\par\r
9\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\r
10\pard\keep\keepn\nowidctlpar\s2\sb400\sa60\sl-340\slmult0\tx360\tx1440\cf1\b\fs28 Options\par\r
11\pard\nowidctlpar\li360\sb200\cf2\fs18 -x xref, --xref xref\par\r
12\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\r
13\pard\nowidctlpar\li360\sb200\b --offset offset\par\r
14\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\r
15\pard\keep\keepn\nowidctlpar\s2\sb400\sa60\sl-340\slmult0\tx360\tx1440\cf1\b\fs28 Examples\par\r
16\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\r
17\pard\nowidctlpar\li720\sb200 ~/src/edk2$\b VolInfo Build/EdkUnix/DEBUG_UNIXGCC/FV/FVMAIN.fv\cf0\b0\f1\fs24\par\r
18\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\r
19\pard\nowidctlpar\li720\sb200 ~/src/edk2$ \b VolInfo --offset 65536 path/to/FV/EDKUNIX.fd\b0\f1\par\r
20\pard\nowidctlpar\li360\sb200\f0 Or, equivalently,\par\r
21\pard\nowidctlpar\li720\sb200 ~/src/edk2$ \b VolInfo --offset 64k path/to/FV/EDKUNIX.fd\b0\f1\par\r
22\pard\nowidctlpar\li360\sb200\f0 Or, equivalently,\par\r
23\pard\nowidctlpar\li720\sb200 ~/src/edk2$ \b VolInfo --offset 0x10000 path/to/FV/EDKUNIX.fd\b0\f1\par\r
24\pard\keep\keepn\nowidctlpar\s2\sb400\sa60\sl-340\slmult0\tx360\tx1440\cf1\b\f0\fs28 GuidedSectionTools.txt \par\r
25\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\r
26Each 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\r
27\pard\nowidctlpar\li720\sb200 a31280ad-481e-41b6-95e8-127f4c984779 TIANO /path/to/TianoCompress\par\r
28\pard\keep\keepn\nowidctlpar\s2\sb400\sa60\sl-340\slmult0\tx360\tx1440\cf1\b\fs28 Files \par\r
29\pard\nowidctlpar\li360\sb200\cf2\b0\fs18 GuidedSectionTools.txt\par\r
30\pard\keep\keepn\nowidctlpar\s2\sb400\sa60\sl-340\slmult0\tx360\tx1440\cf1\b\fs28 Bugs \par\r
31\pard\nowidctlpar\li360\sb200\cf2\b0\fs18 No known bugs.\par\r
32Report bugs to edk2-buildtools-devel@lists.sourceforge.net\f1\par\r
33\pard\nowidctlpar\sb400\sa60\sl-340\slmult0\tx1440\cf1\b\f0\fs28 Files \par\r
34\pard\nowidctlpar\li360\sb200\cf2\b0\fs18 GuidedSectionTools.txt\par\r
35\pard\keep\keepn\nowidctlpar\s2\sb400\sa60\sl-340\slmult0\tx360\tx1440\cf1\b\fs28 License\par\r
36\pard\nowidctlpar\li360\cf2\b0\fs18 Copyright (c) 1999 - 2009, Intel Corporation. All rights reserved.\par\r
37\par\r
38This program and the accompanying materials are licensed and made available under the terms and\par\r
39conditions of the BSD License which accompanies this distribution. The full text of the license may be\par\r
40found at:\par\r
41http://opensource.org/licenses/bsd-license.php\par\r
42\par\r
43THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES\par\r
44OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\par\r
45\par\r
46\pard\nowidctlpar\li360\sb200\cf0\f1\fs24\par\r
47}\r
48\0