Commit Graph

43 Commits

Author SHA1 Message Date
vanjeff ef12a160de updated basetools binary files which are validated synced with r1707.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9258 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11 06:49:52 +00:00
vanjeff fd171542e0 Sync basetools' source and binary files with r1707 of the basetools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11 03:14:43 +00:00
klu2 58e4d80096 Hot fixing for the bug that GenFw can not convert ELF to PE format correctly, the root cause is invalid size of OptionalHeader is computed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8976 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-21 16:56:35 +00:00
lgao4 66775d1cb6 Sync binary tool to main trunk tool source. Update VfrCompiler tool to fix varstore name is not correctly generated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8969 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17 11:31:09 +00:00
lgao4 7bc6c82b85 ynchronize build tools binaries with source code r1655 at build tool project.
Fix a bug that GenFv tool can't generate the correct top reset vector table for IA32, X64 and IPF arch SEC module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8918 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 05:23:00 +00:00
klu2 66e1951f49 Synchronize build tools binaries with source code r1654 at build tool project.
The modifications includes:
1) Correct the issue that build tool generate UINT8 array for unicode string type PCD, it maybe cause alignment issue. Now build tool will generate UINT16 array for unicode string type PCD.
2) Merge FdfParser.py updates to FdfParserLite.py
3) Replace EFI_IMAGE_NT_HEADERS with EFI_IMAGE_OPTIONAL_HEADER_UNION. (GenFv)
The code referencing EFI_IMAGE_NT_HEADERS has been modified to
refer to EFI_IMAGE_OPTIONAL_HEADER_UNION => Pe32/Pe32Plus.
4) Remove definitions of build machine specific types.
Remove EFI_IMAGE_OPTIONAL_HEADER, EFI_IMAGE_NT_HEADERS,
EFI_IMAGE_NT_OPTIONAL_HDR_MAGIC, and EFI_IMAGE_MACHINE_TYPE_SUPPORTED,
since these were defined differently based on the architecture
of the build machine.  The BaseTools should support the edk2
supported processor architectures and not depend on the architecture
of the build platform.
5) Added support for the ARM processor type
Added RVCT as a ToolChainFamily (Real View Compiler Tools from ARM)
Enabled FixedAtBuild 32-bit PCDs to be used from GCC or RVCT assembler.
Updated GenFw to support RVCT ELF images and removed #ifdefs for ELF. Also made ELF to PE/COFF features available on all supported build targets for the tools by adding some FreeBSD ELF headers.
Updated GenFv to support the ARM reset vector in ZeroBytes of the FV header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8872 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 09:38:06 +00:00
lgao4 c437405563 Synchronize the build tools' binary with source files at r1645 in build tool project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8828 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 05:47:15 +00:00
xli24 ee33873da1 Synchronize the build tools' binary with source files at r1640 in build tool project.
This update adds error check for environment path existence.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8823 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 15:47:25 +00:00
xli24 ee0b896904 Synchronize the build tools' binary with source files at r1639 in build tool project.
This update fixes the bug of unmatched paths due to case-sensitive comparison on case-insensitive systems.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8814 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 08:49:33 +00:00
klu2 61374f5d4f Synchronize the build tools' binary with source files at r1637 in build tool project.
The modifications are:
1. Support BuildRuleFamily attribute of tool chain tag to be filtered build rule.
2. Enhance GenFds tool to get the default PcdValue from DEC file.
3. Enhance AutoGen to generate library function constructors for SEC type module.  

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8764 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-06 15:13:54 +00:00
klu2 e8c42f8a7d Synchronize the binary with modification at build tool project r1634. The modification is adjusting the regular expression to handle more "#include" case when build tool calculate the dependency for source file. This modification has been tested under UNIX and MSFT tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8699 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 06:44:37 +00:00
klu2 03476bf384 Synchronize the binary with build tools' source at r1630 which fix the issue that the dependency of some header files is missed in Gnu makefile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8623 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 05:42:02 +00:00
klu2 23d0599aae Synchronize all binaries with build tools source base on r1628.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8617 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-21 13:33:37 +00:00
klu2 94ca8fffcb Synchronize the source of build tool from build tool project (r1623) to binary in edk2 project at (r8530)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8531 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 09:45:52 +00:00
lgao4 86fe4ef3f8 Update GenFw tool to zero time/date by default.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8450 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 03:22:08 +00:00
lgao4 f6427e83c8 Add the checking to the input parameter of tools.
Support the tool parameter options according to tool user manual.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8378 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-25 05:53:00 +00:00
lgao4 9920798948 Update GenFw help usage information to clarify -z option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8298 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12 04:51:00 +00:00
jwang36 174566661a Add SMM_DRIVER and SMM_CORE support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8238 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-05 06:01:17 +00:00
lgao4 299b4cf312 Update GenFw -z option to zero debug data and time stamp.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8039 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 09:10:15 +00:00
lgao4 bda0735ba8 Update GenFw tool help text to clarify GenFw tool usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7801 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 14:31:14 +00:00
lgao4 9d35ff8b32 Enhance GenFw tool to zero PeImage .xdata section (free form exception data) unused in BIOS, which can increase the compression ratio for the BIOS image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7321 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 01:50:10 +00:00
lgao4 a36e1ce43c Add more usage description for -r option, and add option keepexceptiontable and keepzeropending not to remove exception table and zero pending data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5035 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 04:07:42 +00:00
lgao4 b900faa235 Enhance GenFw tool to always zero .pdata section for PE32 and PE32+ image in order to improve compression ratio for them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4971 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-31 05:25:03 +00:00
lgao4 94cb0cfbcd Update platform build tools by adding input parameter check and guid format check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4759 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 09:21:46 +00:00
lgao4 9402de91cf Update tool to support reloc section removed, PAD file with same guid and check no duplicated guid file in the same fv image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4275 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 11:23:02 +00:00
jwang36 d81b56bcbe Fixed memory re-free issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4214 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 09:43:28 +00:00
jwang36 930052168f a. Re-generated all C tools with "/MLd" option
b. Removed antlr.exe and dlg.exe because they are only needed to generate VfrCompile.exe but not to build platform or module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4213 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 08:37:44 +00:00
jljusten 07a756b95e Restoring $WORKSPACE/BaseTools location, as the plan is to deprecate
$WORKSPACE/Tools instead.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4147 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17 01:54:36 +00:00
jljusten 8b2d58875a Moved $WORKSPACE/BaseTools to $WORKSPACE/Tools/BaseTools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4142 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 20:56:54 +00:00
lhauch 23fbee5168 Updated GenFw.exe to handle Microcode Text files with comment only, blank lines, and leading white-space characters
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4081 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 18:22:13 +00:00
lgao4 208f5b63e1 Fix one bug on memory access exceed in GenFw tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4008 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 05:54:12 +00:00
lgao4 7659c39953 Add more verbose and debug info for GenFv, GenFfs, GenSec and GenFw tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3981 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:21:02 +00:00
lgao4 5effb24a42 Correct GenFv tool to generate capsule image, Correct GenFw tool to override the input files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3877 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 10:13:47 +00:00
lgao4 c7cecacbe8 Update the following tools with usage information, and update GenFv tool to support dump capsule image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3725 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-28 09:18:41 +00:00
lgao4 c22b604273 Correct help usage format and error message format for the GenFw, GenSec, GenFfs and GenFv tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3616 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 03:05:25 +00:00
lgao4 7b2b99a342 Update GenFw and Genfv tool to support Microcode and FvMap. And Update build rules for micro code file type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3529 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 05:26:55 +00:00
lhauch a4e891f4c6 Set the svn:executable property on all *.exe files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3506 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 23:08:38 +00:00
lgao4 9801c29cb3 Update GenFw tool to create TeImage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3413 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 06:54:05 +00:00
lgao4 b8c535a7d2 Update these four tools linked with single threaded C run time library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3318 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 07:22:05 +00:00
lgao4 f9f5af433a Change C source tool from dynamic link to static link.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3292 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 06:41:40 +00:00
lgao4 e9508cd216 Add more debug information into these tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3240 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 16:04:29 +00:00
lgao4 8aaff939b7 Add binary GenSec, GenFfs, GenFv tool for build fv and fd image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2890 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 05:59:10 +00:00
jwang36 8fc4fc3a0e 1) Incorporated generating top level makefile. Now platform build is possible (no FD generation).
2) Added GenFw.exe for EFI file generation
3) Changed the destination directory of *.template file to WORKSPACE/Conf
4) Commented out several modules in the MdePkg.dsc file since they cannot be found in the MdePkg package directory.
5) Removed the usage of WORKSPACE_DIR macro in makefile. WORKSPACE is used instead all the way.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2733 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-25 17:00:40 +00:00