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
ac4e7050a3
Fix bug to fill Startup AP Vector address in FvImage
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8443 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-02 08:49:35 +00:00
lgao4
1df9325aee
Fix minor bug in tools.
...
1. Incorrect usage help of TianoCompress tool
2. Wrong check for the input parameters of GenVtf tool.
3. The potential issues to get FFS files in GenFv tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8379 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-25 08:24: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
3344d7ded8
Update GenFv tool to get FvNameGuid
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7799 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 07:52:49 +00:00
lgao4
b3bf1e80c8
Update GenFv tool to support creating PI extension FV header.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7668 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 06:28:42 +00:00
jlin16
96dcf1973f
GenFds enable display FV space information when incremental build.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7012 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 06:51:49 +00:00
lgao4
cd3c4fcdfd
1. Enhance GenFv WriteFvMap function to print basic debug information (entrypoint, baseaddress, .text, .data section base address) when no map can be referred.
...
2. Enhance GenFv tool to create the non PI file system firmware volume.
3. Update VfrComile
1) Set the first framework var store name to “Setup”
2) Support DEFAULT and MANUFACTURING for framework CheckBox flags value
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6666 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 07:23:17 +00:00
mdkinney
d0a0826133
Update GenFv to support SEC built using X64 tools
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6549 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-15 21:54:07 +00:00
lgao4
f4168df83f
Enhance GenFv tool to print Fv Size and Length, and Get module map by module pdb pointer and get module guid by module FFS guid.
...
And Enhance VfrCompiler to handle framework vfr file, and print more debug information into .lst file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5635 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-13 02:22:18 +00:00
lgao4
00fc1dab5a
Enhance GenFv tool always collect all module Map files into the single FvMap file for user easy reference.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5305 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 09:05:24 +00:00
lgao4
0f9d26a7dd
Add the function relative address to the base address in the map file for user easy reference.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5096 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 09:16:05 +00:00
lgao4
07a0a7f25c
Correct one bug when add pad file may cause size exceed the region.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4979 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 07:18:04 +00:00
lgao4
4a73341484
Correct Error Message format for these C tools according to the Tool Design Spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4918 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 09:22:18 +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
f1d73e29d3
Fix one minor bug to print TE image correct start address into Fv map file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4377 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 06:23:49 +00:00
lgao4
d11013980f
Minor change for GenFv to support capsule attribute, GenSec to support guid header size and GenFfs to pad alignment for TeImage.
...
And Add GenCrc32 tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4316 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-21 03:50:33 +00:00
lgao4
c1f455c3a5
Fix GenFv bug without init local variable
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4281 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 07:48:54 +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
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
lgao4
16b5f6819e
Update verbose log info to these two tools.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4204 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-23 03:50:43 +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
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
0bd93d7166
Add PAD file guid table for GenFv reproducibility.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3886 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 09:38:54 +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
0fdbee900e
Fix one bug in GenFv tool to generate the correct capsule header.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3726 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-28 09:31:03 +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
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
2a21647059
Update GenFv tool to correct FileState of FFS header.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2939 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 07:41:24 +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