Commit Graph

214 Commits

Author SHA1 Message Date
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
jwang36 ced44f7370 a. Fixed unnecessary re-build issue
b. Fixed build.exe won't exit issue when error occurred in multi-thread build mode.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3986 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 09:49:24 +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
jlin16 53b6246146 Add MACRO support for path in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3979 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 06:59:25 +00:00
jwang36 de0f811d4a Fixed an issue that is the auto-generated code for dynamic-ex PCD is not correct
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3974 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 01:46:24 +00:00
jlin16 04748716cb Add cycle reference check for FD/FV in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3963 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 06:22:17 +00:00
qhuang8 e08ce86e47 Add binary Spd2Dec tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3953 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 12:09:25 +00:00
jwang36 5364ee3303 Fixed an issue which DSC file in current directory has higher priority than DSC file set in target.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3951 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 09:34:58 +00:00
jlin16 68102e9aff Fix typo for 'SectList'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3950 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 09:06:57 +00:00
jwang36 2f1b3cb20e 1) Improved spawn mode (multi-thread) build performance
2) Changed the error/debug/warning message format
3) Added "--log" command line option to support storing log in file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3947 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 08:30:39 +00:00
htao aaf9042310 update Fpd2Dsc.exe interface to sync users guide and add tool usage in ReadMe.txt. where Fpd2Dsc.exe source is r767 in BaseTools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3939 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 05:19:33 +00:00
klu2 b4b771c91b Modify PEIM's entry point
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3936 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 04:57:28 +00:00
htao e05c174707 Check in Fpd2Dsc.exe tool which Python code version is 765 in BaseTools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3935 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 03:55:38 +00:00
jlin16 c6d9c4d190 GenFds.exe add feature of Capsule generation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3926 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 08:57:28 +00:00
jlin16 1051e1d437 Add feature of generating FV address map.
Improve GenFds.exe performance by insuring each FV generated once.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3919 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-25 08:10:11 +00:00
jlin16 b6001acc8e Add support of INF file in FDF that describe binary files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3911 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-21 12:24:55 +00:00
jlin16 e27dccb781 Fix APRIORI file missing FILE statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3903 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-21 03:43:19 +00:00
jlin16 dfa235c55b Add feature of Apriori file generation for FV.
Fix single FV generation error on Nt32.
Print error message when FV size is larger than region size.
Print error message when GUIDed section specify a wrong tool GUID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3898 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-20 08:07:33 +00:00
jlin16 f9d52626ad Fix single FV/FD generation error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3893 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-19 07:04:09 +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
jwang36 4d062cead8 Enabled "fds" build target for build.exe and added "-r" and "-i" options to support individual FD or FV build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3884 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 09:17:04 +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
jwang36 8a0151cb4c Fixed the wrong usage of ENV()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3842 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 05:50:54 +00:00
jwang36 7354fd2362 Re-generated since some common code has been changed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3840 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 05:29:20 +00:00
jwang36 ae0145cb90 1) Fixed the issue which macro in the form of ENV() can't be replaced.
2) Changed the class-less library instance format


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3839 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 05:13:35 +00:00
jwang36 46d665d690 1) Implemented MACRO in tools_def.txt
2) Added library without library class support
3) Fixed the issue in Trim tool which zero file will be generated if the trimmed file has not line directive

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3832 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 09:33:05 +00:00
jjin9 59565b2e40 fix a bug which blocks the build process.change os.path.isfile to os.path.isabs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3809 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 01:26:40 +00:00
qhuang8 cd7e9a3342 Re-fix the issue in r2304.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3808 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 13:29:06 +00:00
qhuang8 b6adf2c1fb Fix a typo so that platforms without FDF file can pass build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3807 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 12:26:45 +00:00
qhuang8 ccde0b6680 Fix typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3806 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 11:20:51 +00:00
qhuang8 97582b3182 Fix several typos in build.py and regenerate exe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3805 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 11:12:30 +00:00
klu2 5aae0aa7d8 PI Enable:
1) The entry point of PeiCore has been changed to EFI_PEI_CORE_ENTRY_POINT defined in PI. 
2) Nt32, Tiger and lakeport platform's SecCore has been updated.
3) Autogen tools also has been updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3804 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 09:52:37 +00:00
jlin16 2303536ca1 Fix typo in build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3803 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 09:13:50 +00:00
lgao4 8b9a49a446 Update EfiRom tool to fix checksum and PCI3.0 data structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3800 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 06:39:53 +00:00
jwang36 585411e19d a) Added GCC preprocessor support
b) Enforced the the correct line number in the trimmed file, according to the line directive (or linemarker).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3796 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 03:24:26 +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
jlin16 8156f2db7d Fix variable not initialize bug for the following check-in.
if rule section specify a file, use that file to generate section instead of searching for all files with ruel section specified file type to generate section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3794 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-11 08:58:07 +00:00
jlin16 9c5e6f8304 if rule section specify a file, use that file to generate section instead of searching for all files with ruel section specified file type to generate section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3792 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-11 05:58:22 +00:00
jlin16 af56ef1397 use '#' to indicate flash generation progress.
use -v to switch on detail output messages.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3791 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 09:51:04 +00:00
lgao4 641ff7aa8d Commit build.exe and GenFds.exe tool to support new Rules format and PCD format defined in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3789 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 05:44:04 +00:00
klu2 c2f2fde67e Upgrade the format of EFI_PEIM_ENTRY_POINT to EFI_PEIM_ENTRY_POINT2 according to PI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3785 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-07 05:41:07 +00:00
qhuang8 cf688318ec Update the syntax of PCD section.
Update the syntax of binary INF file
The generated Extended INF file should follow Extended INF spec 0.44

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3780 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-06 02:01:49 +00:00
jwang36 ccdeb61742 Fixed an issue which will remove the first line if there's no "#line" directive in the input file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3767 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-03 13:22:28 +00:00
jwang36 89d96039a2 1. Added support of included file with macro
2. Removed package a module belongs to from dependent package list if it's not declared in module's INF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3753 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-31 05:05:44 +00:00
qhuang8 cbbda8f1b7 Add execute attribute for exe file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3745 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:53:14 +00:00
qhuang8 b3af5df67b Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:11:54 +00:00
qhuang8 8ea6977890 Fix a critical bug that the Migration Tool mistakenly creates exit-boot-services event in case of <VirtualAddressChange> externs.
This only happens when the extra option "-e" is on (by default it is off).
Update the readme.txt in BaseTools package to specify the python source for MigrationMsa2Inf.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3730 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 02:28:01 +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
htao 98376cc51d TianoCompress tool code cleanup to delete parameters number check and hard code buffer size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3716 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 08:11:50 +00:00