Commit Graph

30 Commits

Author SHA1 Message Date
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 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
jwang36 58f33ba9d2 Changed the path of symbol file to be always the same as vtf file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5191 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 08:44:42 +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
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
mdkinney 7ebb01af9b Update FIT_SIGNATURE from "_FIT_" to "_FIT_ "
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4047 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 20:26:38 +00:00
htao 9ac6d580c8 Use return GetUtilityStatus (); to exit and report the tool status.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4042 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 07:53:03 +00:00
htao 7a51cc6b2c error/warn/debug message format has been updated so update the tool binary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4040 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 07:09:45 +00:00
htao 999e19b210 GenVtf tool open/write file with "r+b"/"w+b" attribute, but this cause the RO attribute of the file changed. Fix this issue by changing "r+b"/"w+b" to "rb"/"wb".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3795 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 02:06:19 +00:00
htao d11935f9f9 Sync GenVtf.exe and TianoCompress.exe tool to the binary in BaseTools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3696 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-23 12:56:35 +00:00
mdkinney 00666ce6ce Fix two bugs in GenVtf.c
1) There is a check for a specific number of command line arguments.  This does not work when there are optional arguments like -v for verbose.
2) The check for the verbose flag checked for 'v' and '-'.  I should check for 'v' and 'V'.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3644 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 20:57:16 +00:00
htao ed72357a70 Correct usage help information and error information format for GenVtf, EfiRom, and TianoCompress tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3635 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 07:57:36 +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 628818c927 Update Vtf tool to create vtf file with raw ffs type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3436 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 06:16:10 +00:00
htao 993eed8966 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3395 6f19259b-4bc3-4df7-8a09-765794883524 2007-07-20 14:18:13 +00:00
htao 6746ddf90c To remove debug point and some debug info and rebuild the binary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3392 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 09:58:04 +00:00
htao 497127ac4d change Assert to normal error exit.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3314 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 06:53:29 +00:00
htao 523bc716fb tool binary update to add binary size parameter check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3312 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 06:37:01 +00:00
htao f62edf33aa check in GenVtf tool binary
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3307 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 03:03:05 +00:00