]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/UserManuals/GenCrc32_Utility_Man_Page.rtf
Check In tool source code based on Build tool project revision r1655.
[mirror_edk2.git] / BaseTools / UserManuals / GenCrc32_Utility_Man_Page.rtf
1 {\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052\deftab360{\fonttbl{\f0\fswiss\fprq2\fcharset0 Verdana;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fmodern\fprq1\fcharset0 Courier New;}{\f3\fswiss\fprq2\fcharset0 Arial;}}
2 {\colortbl ;\red0\green127\blue127;\red0\green0\blue0;}
3 {\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}}
4 {\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\f0\fs28 Name\par
5 \pard\nowidctlpar\sb200\cf2\b0\fs18 GenCrc32.exe \par
6 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Synopsis\par
7 \pard\nowidctlpar\sb200\cf2\fs18 GenCrc32 -e|-d [options] <inputFile>\par
8 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\fs28 Description\par
9 \pard\nowidctlpar\sb200\cf2\b0\fs18 GenCrc32 tool is used to generate CRC32 value when encode the input file, then put the calculated CRC32 value into the output file header, and put the input file into the output file tail. When decode the input file, GenCrc32 is used to verify the CRC32 value. If CRC32 value is valid, the input file except for CRC32 value will be written to the output file. If CRC32 value is not valid, the error message will output, and the output file will not be created.\par
10 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Options\par
11 \pard\nowidctlpar\sb200\cf2\fs18 -e \b0 Calculate CRC32 value for the input file.\par
12 \b -d\b0 Verify CRC32 value for the input file.\par
13 \b -o, --output Filename\b0\f1\par
14 \f0 File will be created to store the ouput content.\par
15 \b --version\par
16 \b0\f1 \f0 Print version and copyright of this program and exit\par
17 \b -v, --verbose\par
18 \b0 Turn on verbose output with informational messages printed. This is a count value, so specifying \endash v can be used to increase the verbosity level.\par
19 \b -q, --quiet\b0\f1\par
20 \tab \f0 Disable all messages except FATAL ERRORS\par
21 \b --debug [0-9]\par
22 \b0\f1\tab \f0 Enable debug messages. Only 0-9 Level is supported.\par
23 \b -h, --help\par
24 \b0\f1\tab \f0 Print copyright, version and usage of this program and exit\par
25 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Example\par
26 \pard\nowidctlpar\sb200\cf2\b0\fs18 1. Calculate CRC32 value for the input file \ldblquote file.sec\rdblquote and write the CRC32 value and input file into the output file "file.crc32".\par
27 \b GenCrc32 \endash e \endash o file.crc32 file.sec\par
28 \b0 2. Verify CRC32 value of the input file "file.crc32" and write the input file (not including CRC32 value) to the output file "file.orig"\par
29 \b GenCrc32 \endash d \endash o file.orig file.crc32\par
30 \b0 3. Verify CRC32 value of the input file "file.crc32" in the quiet mode and write the input file (not including CRC32 value) to the output file "file.orig"\par
31 \b GenCrc32 \endash d -q \endash o file.orig file.crc32\par
32 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\fs28 Bugs\par
33 \pard\nowidctlpar\sb200\cf2\b0\fs18 No known bugs.\par
34 Report bugs to issues@buildtools.tianocore.org\par
35 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 Files\par
36 \pard\nowidctlpar\sb200\cf2\b0\fs18 None\par
37 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\fs28 See also\par
38 \pard\nowidctlpar\cf0\b0\f2\fs20 None\par
39 \pard\keep\keepn\nowidctlpar\s2\fi-1300\li-1440\sb400\sa60\sl-340\slmult0\tx0\tx1440\cf1\b\f0\fs28 License\par
40 \pard\nowidctlpar\cf2\b0\fs18 Copyright (c) 2006 - 2009, Intel Corporation<BR>\par
41 All rights reserved. This program and the accompanying materials\par
42 are licensed and made available under the terms and conditions of the BSD License\par
43 which accompanies this distribution. The full text of the license may be found at\par
44 http://opensource.org/licenses/bsd-license.php\par
45 \par
46 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\par
47 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\par
48 \cf0\f3\fs20\par
49 \par
50 }
51