Patch the BPB information in boot sector image file.\r
Patch the MBR code in MBR image file.\r
\r
-Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
//\r
// Utility version information\r
//\r
-#define UTILITY_MAJOR_VERSION 0\r
-#define UTILITY_MINOR_VERSION 1\r
+#define UTILITY_MAJOR_VERSION 1
+#define UTILITY_MINOR_VERSION 0
\r
void\r
Version (\r
\r
--*/\r
{\r
- printf ("%s Version %d.%d %s\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);\r
- printf ("Copyright (c) 1999-2014 Intel Corporation. All rights reserved.\n");\r
- printf ("\n The BootSectImage tool prints information or patch destination file by source\n");\r
- printf (" file for BIOS Parameter Block (BPB) or Master Boot Record (MBR).\n");\r
+ printf ("%s Version %d.%d Build %s\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);
}\r
\r
void\r
--*/\r
{\r
Version();\r
+ printf ("Copyright (c) 1999-2016 Intel Corporation. All rights reserved.\n");
+ printf ("\n The BootSectImage tool prints information or patch destination file by source\n");
+ printf (" file for BIOS Parameter Block (BPB) or Master Boot Record (MBR).\n");
printf ("\nUsage: \n\\r
BootSectImage\n\\r
[-f, --force force patch even if the FAT type of SrcImage and DstImage mismatch]\n\\r
<PeImageFileContent> +\r
The order of EFILDR_IMAGE is same as the order of placing PeImageFileContent.\r
\r
-Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
//\r
// Utility version information\r
//\r
-#define UTILITY_MAJOR_VERSION 0\r
-#define UTILITY_MINOR_VERSION 1\r
+#define UTILITY_MAJOR_VERSION 1
+#define UTILITY_MINOR_VERSION 0
\r
void\r
Version (\r
\r
--*/\r
{\r
- printf ("%s Version %d.%d %s\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);\r
- printf ("Copyright (c) 1999-2014 Intel Corporation. All rights reserved.\n");\r
- printf ("\n The EfiLdrImage tool is used to combine PE files into EFILDR image with Efi loader header.\n");\r
+ printf ("%s Version %d.%d Build %s\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);
+ exit (0);
}\r
\r
VOID\r
)\r
{\r
printf ("Usage: EfiLdrImage -o OutImage LoaderImage PeImage1 PeImage2 ... PeImageN\n");\r
- exit (1);\r
+ printf ("%s Version %d.%d Build %s\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);
+ printf ("Copyright (c) 1999-2016 Intel Corporation. All rights reserved.\n");
+ printf ("\n The EfiLdrImage tool is used to combine PE files into EFILDR image with Efi loader header.\n");
}\r
\r
EFI_STATUS\r
SetUtilityName (UTILITY_NAME);\r
\r
if (argc == 1) {\r
- Usage();\r
+ printf ("Usage: EfiLdrImage -o OutImage LoaderImage PeImage1 PeImage2 ... PeImageN\n");
return STATUS_ERROR;\r
}\r
\r
\r
Split a file into two pieces at the request offset.\r
\r
-Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available\r
under the terms and conditions of the BSD License which accompanies this\r
distribution. The full text of the license may be found at\r
//\r
// Utility version information\r
//\r
-#define UTILITY_MAJOR_VERSION 0\r
-#define UTILITY_MINOR_VERSION 1\r
+#define UTILITY_MAJOR_VERSION 1
+#define UTILITY_MINOR_VERSION 0
\r
void\r
Version (\r
\r
--*/\r
{\r
- printf ("%s Version %d.%d %s\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);\r
- printf ("Copyright (c) 1999-2015 Intel Corporation. All rights reserved.\n");\r
- printf ("\n SplitFile creates two Binary files either in the same directory as the current working\n");\r
- printf (" directory or in the specified directory.\n");\r
+ printf ("%s Version %d.%d Build %s\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);
}\r
\r
void\r
--*/\r
{\r
Version();\r
+ printf ("Copyright (c) 1999-2016 Intel Corporation. All rights reserved.\n");
+ printf ("\n SplitFile creates two Binary files either in the same directory as the current working\n");
+ printf (" directory or in the specified directory.\n");
printf ("\nUsage: \n\\r
Split\n\\r
-f, --filename inputFile to split\n\\r
\r
VfrCompiler main class and main function.\r
\r
-Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
UINT32 Index;\r
CONST CHAR8 *Help[] = {\r
" ", \r
- "VfrCompile version " VFR_COMPILER_VERSION __BUILD_VERSION,\r
- "Copyright (c) 2004-2014 Intel Corporation. All rights reserved.",\r
+ "VfrCompile version " VFR_COMPILER_VERSION "Build " __BUILD_VERSION,
+ "Copyright (c) 2004-2016 Intel Corporation. All rights reserved.",
" ",\r
"Usage: VfrCompile [options] VfrFile",\r
" ",\r
{\r
UINT32 Index;\r
CONST CHAR8 *Help[] = {\r
- "VfrCompile version " VFR_COMPILER_VERSION __BUILD_VERSION,\r
+ "VfrCompile version " VFR_COMPILER_VERSION "Build " __BUILD_VERSION,
NULL\r
};\r
for (Index = 0; Help[Index] != NULL; Index++) {\r
\r
VfrCompiler internal defintions.\r
\r
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
#include "ParseInf.h"\r
\r
#define PROGRAM_NAME "VfrCompile"\r
-#define VFR_COMPILER_VERSION " 2.00 (UEFI 2.4) "\r
+#define VFR_COMPILER_VERSION " 2.01 (UEFI 2.4) "
//\r
// This is how we invoke the C preprocessor on the VFR source file\r
// to resolve #defines, #includes, etc. To make C source files\r
/** @file\r
The tool dumps the contents of a firmware volume\r
\r
-Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
EFI_GUID gEfiCrc32GuidedSectionExtractionProtocolGuid = EFI_CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_GUID;\r
\r
-#define UTILITY_MAJOR_VERSION 0\r
-#define UTILITY_MINOR_VERSION 83\r
+#define UTILITY_MAJOR_VERSION 1
+#define UTILITY_MINOR_VERSION 0
\r
#define UTILITY_NAME "VolInfo"\r
\r
//\r
// Print utility header\r
//\r
- printf ("%s Version %d.%d %s, %s\n",\r
+ printf ("%s Version %d.%d Build %s\n",
UTILITY_NAME,\r
UTILITY_MAJOR_VERSION,\r
UTILITY_MINOR_VERSION,\r
- __BUILD_VERSION,\r
- __DATE__\r
+ __BUILD_VERSION
);\r
\r
//\r
//\r
if (argc != 1) {\r
Usage ();\r
- return -1;\r
+ return STATUS_ERROR;
}\r
//\r
// Look for help options\r
if ((strcmp(argv[0], "-h") == 0) || (strcmp(argv[0], "--help") == 0) || \r
(strcmp(argv[0], "-?") == 0) || (strcmp(argv[0], "/?") == 0)) {\r
Usage();\r
- return STATUS_ERROR;\r
+ return STATUS_SUCCESS;
+ }
+ //
+ // Version has already been printed, return success.
+ //
+ if (strcmp(argv[0], "--version") == 0) {
+ return STATUS_SUCCESS;
}\r
-\r
//\r
// Open the file containing the FV\r
//\r
//\r
// Copyright declaration\r
// \r
- fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n");\r
+ fprintf (stdout, "Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.\n\n");
fprintf (stdout, " Display Tiano Firmware Volume FFS image information\n\n");\r
\r
//\r
Parse basename to file-guid cross reference file(s).\n");\r
fprintf (stdout, " --offset offset\n\\r
Offset of file to start processing FV at.\n");\r
+ fprintf (stdout, " --version\n\
+ Display version of this tool and exit.\n");
fprintf (stdout, " -h, --help\n\\r
Show this help message and exit.\n");\r
\r
# file of PCD layout for use during the build when the platform integrator selects to use \r
# automatic offset calculation.\r
#\r
-# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
import GenVpd\r
\r
PROJECT_NAME = st.LBL_BPDG_LONG_UNI\r
-VERSION = (st.LBL_BPDG_VERSION + " " + gBUILD_VERSION)\r
+VERSION = (st.LBL_BPDG_VERSION + " Build " + gBUILD_VERSION)
\r
## Tool entrance method\r
#\r
#\r
# Process command line firstly.\r
#\r
- parser = OptionParser(version="%s - Version %s\n" % (PROJECT_NAME, VERSION),\r
+ parser = OptionParser(version="%s - Version %s" % (PROJECT_NAME, VERSION),
description='',\r
prog='BPDG',\r
usage=st.LBL_BPDG_USAGE\r
## @file\r
# This file is used to define strings used in the BPDG tool\r
#\r
-# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
#\r
# This file lists all VPD informations for a platform fixed/adjusted by BPDG tool.\r
# \r
-# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2010 -2016, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
\r
\r
LBL_BPDG_LONG_UNI = (u"Intel(r) Binary Product Data Generation Tool (Intel(r) BPDG)")\r
-LBL_BPDG_VERSION = (u"0.1")\r
+LBL_BPDG_VERSION = (u"1.0")
LBL_BPDG_USAGE = \\r
(\r
-"""\r
-BPDG options -o Filename.bin -m Filename.map Filename.txt\r
-Intel(r) Binary Product Data Generation Tool (Intel(r) BPDG)\r
-Copyright (c) 2010 Intel Corporation All Rights Reserved.\r
+"""BPDG options -o Filename.bin -m Filename.map Filename.txt
+Copyright (c) 2010 - 2016, Intel Corporation All Rights Reserved.
\r
+ Intel(r) Binary Product Data Generation Tool (Intel(r) BPDG)
+
Required Flags:\r
-o BIN_FILENAME, --vpd-filename=BIN_FILENAME\r
Specify the file name for the VPD binary file\r
## @file\r
# This file is used to be the main entrance of ECC tool\r
#\r
-# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
class Ecc(object):\r
def __init__(self):\r
# Version and Copyright\r
- self.VersionNumber = ("0.01" + " " + gBUILD_VERSION)\r
+ self.VersionNumber = ("1.0" + " Build " + gBUILD_VERSION)
self.Version = "%prog Version " + self.VersionNumber\r
- self.Copyright = "Copyright (c) 2009 - 2010, Intel Corporation All rights reserved."\r
+ self.Copyright = "Copyright (c) 2009 - 2016, Intel Corporation All rights reserved."
\r
self.InitDefaultConfigIni()\r
self.OutputFile = 'output.txt'\r
\r
# Parse the options and args\r
self.ParseOption()\r
+ EdkLogger.info(time.strftime("%H:%M:%S, %b.%d %Y ", time.localtime()) + "[00:00]" + "\n")
\r
#\r
# Check EFI_SOURCE (Edk build convention). EDK_SOURCE will always point to ECP\r
GlobalData.gGlobalDefines["EDK_SOURCE"] = EdkSourceDir\r
GlobalData.gGlobalDefines["ECP_SOURCE"] = EcpSourceDir\r
\r
- \r
+ EdkLogger.info("Loading ECC configuration ... done")
# Generate checkpoints list\r
EccGlobalData.gConfig = Configuration(self.ConfigFile)\r
\r
# Parse options\r
#\r
def ParseOption(self):\r
- EdkLogger.quiet("Loading ECC configuration ... done")\r
(Options, Target) = self.EccOptionParser()\r
\r
if Options.Workspace:\r
# Initialize log system\r
EdkLogger.Initialize()\r
EdkLogger.IsRaiseError = False\r
- EdkLogger.quiet(time.strftime("%H:%M:%S, %b.%d %Y ", time.localtime()) + "[00:00]" + "\n")\r
\r
StartTime = time.clock()\r
Ecc = Ecc()\r
## @file\r
# This file is used to define strings used in the UPT tool\r
#\r
-# Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
#\r
# This program and the accompanying materials are licensed and made available \r
# under the terms and conditions of the BSD License which accompanies this \r
##\r
# Version and Copyright\r
#\r
-MSG_VERSION_NUMBER = _("1.0")\r
+MSG_VERSION_NUMBER = _("1.1")
MSG_VERSION = _("UEFI Packaging Tool (UEFIPT) - Revision " + \\r
MSG_VERSION_NUMBER)\r
-MSG_COPYRIGHT = _("Copyright (c) 2011 - 2015 Intel Corporation All Rights Reserved.")\r
+MSG_COPYRIGHT = _("Copyright (c) 2011 - 2016 Intel Corporation All Rights Reserved.")
MSG_VERSION_COPYRIGHT = _("\n %s\n %s" % (MSG_VERSION, MSG_COPYRIGHT))\r
MSG_USAGE = _("%s [options]\n%s" % ("UPT", MSG_VERSION_COPYRIGHT))\r
MSG_DESCRIPTION = _("The UEFIPT is used to create, " + \\r
#\r
# This file is the main entry for UPT \r
#\r
-# Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
#\r
# This program and the accompanying materials are licensed and made available \r
# under the terms and conditions of the BSD License which accompanies this \r
def Main():\r
Logger.Initialize()\r
\r
- Parser = OptionParser(version=(MSG_VERSION + ' ' + gBUILD_VERSION), description=MSG_DESCRIPTION,\r
+ Parser = OptionParser(version=(MSG_VERSION + ' Build ' + gBUILD_VERSION), description=MSG_DESCRIPTION,
prog="UPT.exe", usage=MSG_USAGE)\r
\r
Parser.add_option("-d", "--debug", action="store", type="int", dest="debug_level", help=ST.HLP_PRINT_DEBUG_INFO)\r