Re: [edk2] [PATCH] BaseTools/PeCoffLib: handle EFI_IMAGE_REL_BASED_DIR64 in generic code

2015-07-14 Thread Liu, Yingke D
Reviewed-by: Yingke Liu Dennis -Original Message- From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] Sent: Tuesday, July 14, 2015 3:52 To: Liu, Yingke D; edk2-devel@lists.sourceforge.net Cc: Ard Biesheuvel Subject: [PATCH] BaseTools/PeCoffLib: handle EFI_IMAGE_REL_BASED_DIR64 in

Re: [edk2] [PATCH] BaseTools: Fix build on FreeBSD and allow use of non-gcc system compiler

2015-07-07 Thread Liu, Yingke D
Reviewed-by: Yingke Liu Thanks for your patch, it was committed at revision 17866. Dennis -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: Tuesday, July 07, 2015 18:15 To: Liu, Yingke D; edk2-devel@lists.sourceforge.net Cc: Bruce Cran Subject: [PATCH] BaseTools

Re: [edk2] [PATCH] BaseTools: Fix back-to-back !include in FDF files

2015-07-01 Thread Liu, Yingke D
ndoToken() for Line in IncFileProfile.FileLinesList: self.Profile.FileLinesList.insert(InsertAtLine, Line) -- 1.9.5.msysgit.0 Dennis -Original Message- From: Samer El-Haj-Mahmoud [mailto:samer.el-haj-mahm...@hp.com] Sent: Thursday, July 02, 2015

Re: [edk2] [PATCH] BaseTools: fix a syntax error in 4 KB aligned GNU ld linker script

2015-07-01 Thread Liu, Yingke D
Hi Ard, Thanks for the comments, I have updated the log message. Thanks, Dennis -Original Message- From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] Sent: Wednesday, July 01, 2015 16:12 To: Liu, Yingke D Cc: edk2-devel@lists.sourceforge.net; Justen, Jordan L; Gao, Liming Subject

Re: [edk2] [Patch 2/3] BaseTools: Update GenFw to support 4K alignment.

2015-06-24 Thread Liu, Yingke D
Ard, Following is the full GenFw patch, please confirm it: BaseTools: Update GenFw to support 4K alignment. Get maximum section alignment from ELF sections Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- BaseTools/Source/C/GenFw/Elf32Convert.c | 16 ++

Re: [edk2] [Patch 3/3] BaseTools: Added GCC ld script to support 4K alignment.

2015-06-24 Thread Liu, Yingke D
Ard: Thanks for your comments, update the script as following: /* OUTPUT_FORMAT(efi-bsdrv-x86_64) */ SECTIONS { /* . = 0 + SIZEOF_HEADERS; */ . = 0x280; .text:ALIGN(0x1000) { *(.text .stub .text.* .gnu.linkonce.t.*) . = ALIGN(0x20); } .data: ALIGN(0x1000) { *( .ro

Re: [edk2] [Patch] BaseTools: Convert ".\\" to "" in FilePath

2015-06-18 Thread Liu, Yingke D
Reviewed-by: Yingke Liu Dennis -Original Message- From: Liming Gao [mailto:liming@intel.com] Sent: Friday, June 19, 2015 9:30 To: edk2-devel@lists.sourceforge.net Subject: [edk2] [Patch] BaseTools: Convert ".\\" to "" in FilePath Convert ".\\" to "", because it doesn't work with WI

Re: [edk2] [PATCH v4 00/10] Support UTF-8 in .uni string files

2015-06-17 Thread Liu, Yingke D
Jordan, I'm OK for the patches. Thanks for your contribution. Reviewed-by: Yingke Liu Dennis -Original Message- From: Justen, Jordan L Sent: Friday, June 12, 2015 15:11 To: Liu, Yingke D; edk2-devel@lists.sourceforge.net Subject: Re: [PATCH v4 00/10] Support UTF-8 in .uni s

Re: [edk2] [Patch] BaseTools: Fixed Build Option override bugs.

2015-06-16 Thread Liu, Yingke D
Yes, after this patch checked in, the bug you reported should be fixed. Thanks, Dennis -Original Message- From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, June 17, 2015 0:11 To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] [Patch] BaseTools: Fixed Build Option overri

Re: [edk2] [Patch] BaseTools: Generate a FV EXT entry for FV UI name.

2015-06-11 Thread Liu, Yingke D
Liming, 1) TotalSize is the EXT header size 2) TotalSize is the whole EXT header size, and it is initianlized with 16 + 4 which is the size of EFI_FIRMWARE_VOLUME_EXT_HEADER. Dennis -Original Message- From: Gao, Liming [mailto:liming@intel.com] Sent: Thursday, June 11, 2015 23:18 T

Re: [edk2] [BaseTools] Bug in DSC file parsing.

2015-05-24 Thread Liu, Yingke D
Andrew, The second one overrides first one by current behavior. We will discuss the expected behavior. For workaround, following statement should work: XCODE:*_*_*_CC_FLAGS = -D ALPHA -D BETA Thanks, Dennis -Original Message- From: Andrew Fish [mailto:af...@apple.com] Sent: Saturday

Re: [edk2] [Patch 1/2] BaseTools: Implement BUILDRULEORDER for tools_def

2015-05-19 Thread Liu, Yingke D
: Tuesday, May 19, 2015 11:32 PM To: edk2-devel@lists.sourceforge.net; Gao, Liming; Liu, Yingke D Subject: Re: [edk2] [Patch 1/2] BaseTools: Implement BUILDRULEORDER for tools_def Liming, for future reference, you might want to use git commit --author="Yingke Liu " when committing a

Re: [edk2] Basetools update for CLAN support

2015-05-18 Thread Liu, Yingke D
Hello, Attached patch implemented BUILDRULEORDER feature. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yingke Liu Dennis -Original Message- From: Kinney, Michael D [mailto:michael.d.kin...@intel.com] Sent: Wednesday, May 13, 2015 8:48 AM To: edk2-devel@lists.

Re: [edk2] [patch] BaseTool : The PCD value in uninitialized data range should be natural aligned.

2015-05-10 Thread Liu, Yingke D
Patch looks good to me. Reviewed-by: Yingke Liu Dennis From: Feng, Bob C Sent: Thursday, May 07, 2015 5:15 PM To: 'edk2-devel@lists.sourceforge.net' Cc: ard.biesheu...@linaro.org; ard.biesheu...@linaro.org; Liu, Yingke D Subject: [edk2] [patch] BaseTool : The PCD value in uninitia

Re: [edk2] [PATCH] BaseTools: Fix 'build run' doesn't work for NT32 X64 build

2014-12-22 Thread Liu, Yingke D
k for NT32 X64 build Hello Dennis, Thanks for your suggestion. It makes sense to me. :) Please review the attached file with using GlobalData.gGlobalDefines['ARCH'] instead. Thanks, Cinnamon Shia From: Liu, Yingke D [mailto:yingke.d@intel.com] Sent: Tuesday, December 16, 20

Re: [edk2] [PATCH] BaseTools: Fix 'build run' doesn't work for NT32 X64 build

2014-12-15 Thread Liu, Yingke D
Hi Cinnamon Shia, GlobalData.gCommandLineDefines['ARCH'] is command line arch list, its value might be 'IA32 X64' if you specified '-a IA32 -a X64' on command line. Please use GlobalData.gGlobalDefines['ARCH'] instead. Thanks, Dennis From: Shia, Cinnamon [mailto:cinnamon.s...@hp.com] Sent: Frid

Re: [edk2] build.exe !include Processing is Broken

2014-12-15 Thread Liu, Yingke D
Jim, FDF spec limited that only $(WORKSPACE), $(ECP_SOURCE), $(EFI_SOURCE), $(EDK_SOURCE) can be contained in !include path. Dennis From: jim_dai...@dell.com [mailto:jim_dai...@dell.com] Sent: Thursday, December 11, 2014 11:57 PM To: edk2-devel@lists.sourceforge.net Subject: [edk2] FW: build.ex

Re: [edk2] [PATCH] BaseTool : Fix '/' handling in UNI files

2014-12-08 Thread Liu, Yingke D
Hi Cecil, Thanks for your comments, I will follow up it. Thank you. Dennis From: Sheng, Cecil (HPS SW) [mailto:cecil.sh...@hp.com] Sent: Thursday, December 04, 2014 8:26 AM To: edk2-devel@lists.sourceforge.net Cc: Liu, Yingke D Subject: RE: [PATCH] BaseTool : Fix '/' handling in UNI

Re: [edk2] "build run" not properly handling x64 builds of Nt32

2014-12-02 Thread Liu, Yingke D
Richard, Thanks for reporting this problem. I think we will fix it soon. Thanks, Dennis From: Richard Mahn [mailto:rmah...@yahoo.com] Sent: Wednesday, December 03, 2014 7:43 AM To: edk2-devel@lists.sourceforge.net Subject: [edk2] "build run" not properly handling x64 builds of Nt32 I've been tr

Re: [edk2] [PATCH] BaseTool : Fix '/' handling in UNI files

2014-12-02 Thread Liu, Yingke D
nk it's okay to keep it in this file. A similar function might be needed for ANSI text files but it's not in the scope of the problem I wanted to fix. Sincerely, Cecil Sheng ISS Firmware Development HP Servers From: Liu, Yingke D [mailto:yingke.d@intel.com] Sent: Wednesday, Nov

Re: [edk2] [PATCH] BaseTools: Fix ARM build failure with gcc 4.6

2014-12-01 Thread Liu, Yingke D
Reviewed-By: Olivier Martin I can see this patch has not been merged. Dennis, are you happy to do it? > -Original Message- > From: Liu, Yingke D [mailto:yingke.d@intel.com] > Sent: 24 November 2014 01:56 > To: Scott Duplichan; edk2-devel@lists.sourceforge.net > Subject: Re

Re: [edk2] [PATCH] BaseTool : Fix '/' handling in UNI files

2014-11-25 Thread Liu, Yingke D
Hi Cecil, Thanks for this patch. Two comments about the patch: 1) Count '\"' might not be correct, for example a string with escaped backslash: "some text\\" 2) I think the StripComments function is a common function which is better to be defined out of the class. Thanks, Dennis Fr

Re: [edk2] [PATCH] BaseTools: Fix ARM build failure with gcc 4.6

2014-11-23 Thread Liu, Yingke D
Scott, Patch looks good to me. Reviewed-by: Yingke Liu Dennis -Original Message- From: Scott Duplichan [mailto:sc...@notabs.org] Sent: Thursday, November 20, 2014 3:46 AM To: edk2-devel@lists.sourceforge.net Cc: Liu, Yingke D Subject: [PATCH] BaseTools: Fix ARM build failure with gcc

Re: [edk2] [PATCH] [BaseTools] Put all include search paths of a module into a file

2014-11-06 Thread Liu, Yingke D
al Message- From: Scott Duplichan [mailto:sc...@notabs.org] Sent: Thursday, November 06, 2014 10:56 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] [PATCH] [BaseTools] Put all include search paths of a module into a file Liu, Yingke D [mailto:yingke.d@intel.com] wrote: ]Dear A

[edk2] [PATCH] [BaseTools] Put all include search paths of a module into a file

2014-11-05 Thread Liu, Yingke D
Dear All, This patch is going to put all -I or /I options followed by include search path into a file (inc.lst) just as object files and static library files. There are cases that too many /I options on the command line, and NMAKE fails due to command-line length limitation. Please let me know

Re: [edk2] [PATCH] BaseTools/GenFw: Fixed R_AARCH64_CALL26/R_AARCH64_JUMP26 when referring to a section

2014-11-03 Thread Liu, Yingke D
Patch is good to me. Reviewed-by: Yingke Liu Dennis -Original Message- From: Olivier Martin [mailto:olivier.mar...@arm.com] Sent: Monday, November 03, 2014 7:04 PM To: Liu, Yingke D Cc: edk2-devel@lists.sourceforge.net; Olivier Martin Subject: [PATCH] BaseTools/GenFw: Fixed

Re: [edk2] [RFC] BaseTools: Avoid hard coding of Visual Studio path

2014-10-15 Thread Liu, Yingke D
- From: Liu, Yingke D [mailto:yingke.d@intel.com] Sent: Sunday, September 28, 2014 3:43 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] [RFC] BaseTools: Avoid hard coding of Visual Studio path Scott, A very good suggestion. We will evaluate it first. Thanks. Dennis -Original

Re: [edk2] [RFC] BaseTools: Avoid hard coding of Visual Studio path

2014-09-28 Thread Liu, Yingke D
Scott, A very good suggestion. We will evaluate it first. Thanks. Dennis -Original Message- From: Bruce Cran [mailto:bruce.c...@gmail.com] Sent: Sunday, September 28, 2014 4:22 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] [RFC] BaseTools: Avoid hard coding of Visual Studi

[edk2] [BaseTools]There is a regression bug after enbaling s_* an d_* macros in FDF

2014-09-11 Thread Liu, Yingke D
Hi, Please review the patch to fix the regression bug: BaseTools/Source/Python/GenFds/FfsInfStatement.py", line 448, in __ExtendMacro__ String = GenFdsGlobalVariable.MacroExtend(String, self.MacroDict) AttributeError: OptRomInfStatement instance has no attribute 'MacroDict' Contributed-un

Re: [edk2] [BaseTools] [Patch] Update AutoGen to copy binary files to output directory only when the binary module is a library

2014-09-04 Thread Liu, Yingke D
Hi Hess, The patch looks good to me. Reviewed-by: Yingke Liu Dennis From: Chen, Hesheng [mailto:hesheng.c...@intel.com] Sent: Wednesday, September 03, 2014 3:20 PM To: edk2-devel@lists.sourceforge.net Subject: [edk2] [BaseTools] [Patch] Update AutoGen to copy binary files to output directory o

Re: [edk2] [PATCH] BaseTools: Output build progress messages during pre-processing of build files

2014-08-25 Thread Liu, Yingke D
Hi Samer, It's really a good enhancement. Since it's a change to build output, we have to evaluate if the new outputs impact current users or not. Thanks, Dennis From: El-Haj-Mahmoud, Samer [mailto:samer.el-haj-mahm...@hp.com] Sent: Tuesday, August 26, 2014 4:21 AM To: edk2-devel@lists.sourcef

Re: [edk2] [PATCH] BaseTools: Add support for ${s_*} and ${d_*} macros in FDF files

2014-08-25 Thread Liu, Yingke D
Hi Samer, Thanks for this patch, it's really a good new feature, we will evaluate this feature and let you know the feedback later. Thanks, Dennis From: El-Haj-Mahmoud, Samer [mailto:samer.el-haj-mahm...@hp.com] Sent: Tuesday, August 26, 2014 4:59 AM To: edk2-devel@lists.sourceforge.net Subject

Re: [edk2] [BaseTools]Implement the external PCD database generation rule to support the case that all binary driver are only listed in FDF file.

2014-08-25 Thread Liu, Yingke D
Patch looks good to me. Reviewed-by: Yingke Liu Dennis From: Feng, Bob C Sent: Monday, August 25, 2014 1:49 PM To: Liu, Yingke D; 'edk2-devel@lists.sourceforge.net' Subject: RE: [edk2] [BaseTools]Implement the external PCD database generation rule to support the case that all binary

Re: [edk2] [BaseTools]Support a force binary build mode

2014-08-25 Thread Liu, Yingke D
Reviewed-by: Yingke Liu Dennis From: Chen, Hesheng [mailto:hesheng.c...@intel.com] Sent: Monday, August 25, 2014 10:53 AM To: edk2-devel@lists.sourceforge.net Subject: [edk2] [BaseTools]Support a force binary build mode Hello all, Could you help review this patch? This patch is going to: 1.

Re: [edk2] [ECC]Add some checkpoints for ECC tool

2014-08-24 Thread Liu, Yingke D
Reviewed-by: Yingke Liu Dennis From: Chen, Hesheng [mailto:hesheng.c...@intel.com] Sent: Thursday, August 21, 2014 2:44 PM To: edk2-devel@lists.sourceforge.net Subject: [edk2] [ECC]Add some checkpoints for ECC tool Hello all, Could you help review this patch? This patch is going to: 1. A

Re: [edk2] [PATCH] BaseTools: Revert r15816 and r15831 to fix !if in .fdf

2014-08-20 Thread Liu, Yingke D
Hess, The patch looks good to me. Reviewed-by: Yingke Liu Dennis -Original Message- From: Chen, Hesheng Sent: Wednesday, August 20, 2014 3:31 PM To: Jordan Justen; edk2-devel@lists.sourceforge.net; Liu, Yingke D Subject: RE: [edk2] [PATCH] BaseTools: Revert r15816 and r15831 to fix

Re: [edk2] [PATCH] BaseTools: Revert r15816 and r15831 to fix !if in .fdf

2014-08-19 Thread Liu, Yingke D
Hi Jordan, The issue has been root caused. Before retiring top level makefile, the GenFds command was executed by make fds, but after the change, we call GenFds command directly. The -D option passed to Genfds is encapsulated by quotes which is remove automatically by shell, that's why building

Re: [edk2] [Patch][Basetools]Retire top level makefile on BaseTools

2014-08-17 Thread Liu, Yingke D
Hess, The patch looks good to me. Reviewed-by: Yingke Liu Dennis From: Chen, Hesheng [mailto:hesheng.c...@intel.com] Sent: Friday, August 15, 2014 3:48 PM To: edk2-devel@lists.sourceforge.net Subject: [edk2] [Patch][Basetools]Retire top level makefile on BaseTools Hello all, Could you help rev

Re: [edk2] [Patch][Basetools]Enable long file path support on BaseTools

2014-08-14 Thread Liu, Yingke D
Hess, The patch is good. Reviewed-by: Yingke Liu Dennis From: Chen, Hesheng [mailto:hesheng.c...@intel.com] Sent: Thursday, August 14, 2014 3:16 PM To: 'edk2-devel@lists.sourceforge.net' Subject: [edk2] [Patch][Basetools]Enable long file path support on BaseTools Hello all, Could you help revi

Re: [edk2] [Patch] RSA 2048 SHA 256 Signing Tools and Signature Verification Modules/Libraries

2014-08-13 Thread Liu, Yingke D
Mike, The basetools part is good to me. Reviewed-by: Yingke Liu Dennis From: Kinney, Michael D [mailto:michael.d.kin...@intel.com] Sent: Tuesday, August 12, 2014 11:39 AM To: edk2-devel@lists.sourceforge.net Subject: [edk2] [Patch] RSA 2048 SHA 256 Signing Tools and Signature Verification Modu

Re: [edk2] [PATCH] BaseTools: Add AArch64 ADR_PREL_LO21 and R_AARCH64_CONDBR19 relocations

2014-08-04 Thread Liu, Yingke D
Olivier, The patch is good to me. Reviewed-by: Yingke Liu mailto:yingke.d@intel.com>> Thanks, Dennis From: Olivier Martin [mailto:olivier.mar...@arm.com] Sent: Saturday, August 02, 2014 2:22 AM To: edk2-devel@lists.sourceforge.net; Wang, Yu Cc: Harry Liebel Subject: Re: [edk2] [PATCH] BaseT

Re: [edk2] [edk2-buildtools] [PATCH 1/3] BaseTools: Add GCC49 toolchain; align data sections to 0x40

2014-07-28 Thread Liu, Yingke D
Jordan, It is good to me. Reviewed-by: Yingke Liu Best Regards, Dennis -Original Message- From: Jordan Justen [mailto:jljus...@gmail.com] Sent: Monday, July 28, 2014 1:39 PM To: Mendyke, DanielX; Alain Kalker; Keshav Amburay; Liu, Yingke D Cc: edk2-devel@lists.sourceforge.net Subject