Re: [edk2] aarch64-linux-gnu-gcc.exe: error due to loss ‘/’in code path in in Jenkins server

2019-04-03 Thread wang xiaofeng
manually trigger have the same error At 2019-04-03 20:51:16, "Gao, Liming" wrote: >I mean to manually trig build in Jenkins server and see what happen. > >Thanks >Liming >From: wang xiaofeng [mailto:winggundu...@163.com] >Sent: Wednesday, April 3, 2019 8:16 PM

Re: [edk2] aarch64-linux-gnu-gcc.exe: error due to loss ‘/’in code path in in Jenkins server

2019-04-03 Thread wang xiaofeng
/enviroment is installed on server may affect the tools. At 2019-04-03 20:00:09, "Gao, Liming" wrote: >Are your local server the same environment to Jenkins server? Can you login in >Jenkins sever and verify gcc tool? > >Thanks >Liming >From: wang xiaofeng [mailto

Re: [edk2] aarch64-linux-gnu-gcc.exe: error due to loss ‘/’in code path in in Jenkins server

2019-04-03 Thread wang xiaofeng
Yes, both my local and server using Cygwin for aarch64 build At 2019-04-03 18:59:29, "Leif Lindholm" wrote: >On Wed, Apr 03, 2019 at 04:07:58PM +0800, wang xiaofeng wrote: >> Hi Leif, >>We use VC for X86 (do not need GCC cross complie) > >Ah, that was n

Re: [edk2] aarch64-linux-gnu-gcc.exe: error due to loss ‘/’in code path in in Jenkins server

2019-04-03 Thread wang xiaofeng
-3.81_win32 Can the tool provide more debug output ? At 2019-04-03 16:00:04, "Leif Lindholm" wrote: >Sami, any ideas? > >Xiaofeng, what gcc is being used for x86? (output of "gcc -v") > >Best Regards, > >Leif > >On Wed, Apr 03, 2019 at 0

[edk2] aarch64-linux-gnu-gcc.exe: error due to loss ‘/’in code path in in Jenkins server

2019-04-03 Thread wang xiaofeng
HI ARM Base tool owners, I meet a strange issue that aarch64 build . The aarch64 build pass on my local server. But it fails at Jenkins server(a Win10 autobuild system written by Java that will can call edk2 bat in command line) The build command is

Re: [edk2] Do python3 supported in edk2 shell now?

2019-01-27 Thread wang xiaofeng
>brian.richard...@intel.com -- @intel_brian (Twitter & WeChat) >https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian-richardson > > >-----Original Message- >From: edk2-devel On Behalf Of wang xiaofeng >Sent: Thursday, January 24, 2019 10:27 PM >To

[edk2] Do python3 supported in edk2 shell now?

2019-01-24 Thread wang xiaofeng
HI All, I only see AppPkg/Applications/Python/2.7.10 in latest edk2 tree. Do edk2 plan to support python3 in shell ? Thanks! ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] edk2-devel@lists.01.org

2018-12-28 Thread wang xiaofeng
LINK_FLAGS) -Wl,--start-group,@$(STATIC_LIBRARY_FILES_LIST),--end-group $(CC_FLAGS) $(DLINK2_FLAGS) # "$(OBJCOPY)" $(OBJCOPY_FLAGS) ${dst} At 2018-12-28 17:26:16, "wang xiaofeng" wrote: HI Edk2 Basetool owners, I meet an build error when updating our efi driver tree to UDK201

[edk2] can bootorder add additional paramter for efi applications

2017-09-11 Thread wang xiaofeng
Hello All, Do anyone knows whether bootorder can add additional paramter for efi applications?Just like the following format Boot0007* testefi HD(1,GPT,d50ab0e8-2cc0-4f80-ac10-dbe7bc9cb336,0x800,0x10)/File(\EFI\test\ testefi.efi)testpara=1 testpara=2 ( expect the testefi can

[edk2] UEFI SATA dvd cannot be detected in uiapp without SCSIdriver

2017-09-11 Thread wang xiaofeng
Dear All, I meet a problem that after I remove the following drivers in dsc and fdf , MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf The boot option of UEFI SATA DVD-ROM is losted in UIAPP. Is it a designed behavior? In shell,

Re: [edk2] fail to build OVMF with GCC62 in Ubuntu

2017-08-22 Thread wang xiaofeng
;-Original Message- >>From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >>wang xiaofeng >>Sent: Tuesday, August 22, 2017 4:26 PM >>To: edk2-devel@lists.01.org >>Subject: [edk2] fail to build OVMF with GCC62 in Ubuntu >> >>Hell

[edk2] fail to build OVMF with GCC62 in Ubuntu

2017-08-22 Thread wang xiaofeng
Hello, I just try to build OVMF with GCC62 in Ubuntu. The following errors shows: GenFw: ERROR 3000: Invalid /home/jerry/EDKII/edk2/Build/OvmfIa32/DEBUG_GCC46/IA32/OvmfPkg/Sec/SecMain/DEBUG/SecMain.dll unsupported ELF EM_386 relocation 0x4. From tools_def.txt it seems the latest

Re: [edk2] latest basetools build pdb cannot be load by IDA6.95

2017-08-21 Thread wang xiaofeng
Liming, Do you think we should roll back the change? I am not sure whether any source level debug tool will have the same issue with pdb information change. 在 2017-08-21 17:33:30,"wang xiaofeng" <winggundu...@163.com> 写道: Liming, It should be the change that le

Re: [edk2] latest basetools build pdb cannot be load by IDA6.95

2017-08-21 Thread wang xiaofeng
.shtml > >Thank you >Yao Jiewen > > >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Gao, >Liming >Sent: Monday, August 21, 2017 4:17 PM >To: wang xiaofeng <winggundu...@163.com>; edk2-devel@lists.01.org >Subject: Re: [edk2] latest ba

[edk2] latest basetools build pdb cannot be load by IDA6.95

2017-08-21 Thread wang xiaofeng
Hi Basetool owners, I updated basetool to svn24984 (edk2 mirror )or even latest svn, after build all the x64 efi files fail to load pdb by IDA6.95. It used to work with svn23946 revision(near Feb 2017). Any change may related to this issue? I have reported bugs to IDA .

Re: [edk2] any uefi application that can simulator multi processor dispatch logic in OS

2017-08-17 Thread wang xiaofeng
e plenty of such projects there, just need porting >effort. > >Thanks/Ray > >> -Original Message- >> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >> wang xiaofeng >> Sent: Thursday, August 17, 2017 5:55 PM >> To: edk2-devel@list

[edk2] any uefi application that can simulator multi processor dispatch logic in OS

2017-08-17 Thread wang xiaofeng
Hello, Do anyone know uefi application that can simulator multi processor dispatch logic in OS ? UEFI defines EFI_MP_SERVICES_PROTOCOL, usually bios use this protocol to do BSP and AP initlizaition. StartupAllAPs is called to run the same logic function. Any EFI application can divide

Re: [edk2] Qestion about how to debug OVMF with UDT on QEMU

2017-08-09 Thread wang xiaofeng
HI Michael, I have tried your suggestion. ttermpro.exe shows connection refused in my Win7 after command "start "Monitor" /B %TERA_TERM_PATH% localhost:20717 /nossh" the tool also cannot work lonely. Any other software or configuration should I apply? Thanks! At 2017-08-10

[edk2] Qestion about how to debug OVMF with UDT on QEMU

2017-08-09 Thread wang xiaofeng
Hello All, I try to debug OVMF with UDT on QEMU in windows. I build OVMF on windows 7 with VS2013 . And also runs it in QEMUWin32. I add DEFINE SOURCE_DEBUG_ENABLE = TRUE in ovmf.dsc and build a new bios. From makefile it seems this feature is enabled for OVMF SecMain

Re: [edk2] Issue of step by step debugging of OVMF SEC code in QEMU

2017-08-03 Thread wang xiaofeng
Hi Andrew, THe problem is solved, after the SEC code switch to protected mode, gdb can work well now At 2017-08-04 11:26:16, "wang xiaofeng" <winggundu...@163.com> wrote: HI Andrew, How can I adjust the debugger to correct mode? Or I have to enable the de

Re: [edk2] Issue of step by step debugging of OVMF SEC code in QEMU

2017-08-03 Thread wang xiaofeng
;mode. The code should transition to 32 bit protected early in the flow. > >Sent from my iPhone > >> On Aug 3, 2017, at 7:47 PM, wang xiaofeng <winggundu...@163.com> wrote: >> >> Hello, >> I am tring to add my own SEC code base on OVMF and run on QEM

[edk2] Issue of step by step debugging of OVMF SEC code in QEMU

2017-08-03 Thread wang xiaofeng
Hello, I am tring to add my own SEC code base on OVMF and run on QEMU. Since the code cannot run I need to step to step trace the assembly code . The hang point is very early before I can use either UDK or debug serial output. I tried to use gdb to connect to QEMU.I start gdb in

Re: [edk2] PISCT error

2017-06-20 Thread wang xiaofeng
u Yonghong > > >-Original Message- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of wang >xiaofeng >Sent: Tuesday, June 20, 2017 1:12 PM >To: edk2-devel@lists.01.org >Subject: [edk2] PISCT error > >Hi All, > I meet the same error as kathi

[edk2] PISCT error

2017-06-19 Thread wang xiaofeng
Hi All, I meet the same error as kathirk rasied in https://sourceforge.net/projects/pi-sct/ two years ago Is the owner in this list can help to answer or solve this issue? I tried to file a bug in bugzilla.tianocore.org but cannot found the packget in "Package" field. kathirk-93

[edk2] UEFI SCT2.5A cannot run with exception

2017-06-06 Thread wang xiaofeng
Hi , Thanks all for your kind help. I just update SCT from 2.4B to 2.5A, WIth the same platform, 2.4B cannot be installed on EDK2 shell , we have to switch to EDK1 shell and then switch back. 2.4B can run on edk2shell. 2.5A aslo cannot be installed on EDK2 shell , we have to switch to EDK1

Re: [edk2] Do edk2 contains Intel Edison Platform?

2017-04-04 Thread wang xiaofeng
ardson, Senior Technical Marketing Engineer, Intel Software >brian.richard...@intel.com -- @intel_Brian (Twitter & WeChat) >https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian-richardson > > > >-Original Message- >From: edk2-devel [mailto:edk2-dev

[edk2] Do edk2 contains Intel Edison Platform?

2017-03-31 Thread wang xiaofeng
Hi , Do anyone knows whether there is an open source edk2 bios platform project for Intel Edison board? Can QuarkSocpkg support Edison ? Thanks in advance! ___ edk2-devel mailing list edk2-devel@lists.01.org

[edk2] Do edk2 have plan to implement EFI_REST_PROTOCOL ?

2017-03-20 Thread wang xiaofeng
Hi , Anyone knows whether edk2 have plan to implement EFI_REST_PROTOCOL ? Currently I only see Rest.h but no real module install the prorocol. Thanks in advance! ___ edk2-devel mailing list edk2-devel@lists.01.org

[edk2] Do edk2 support PcdGetEx64 in library

2017-03-08 Thread wang xiaofeng
Hi , Anyone knows whether edk2 support PcdGetEx64 in library? First I declare a PcdsDynamicEx in dec file [PcdsDynamicEx] gEfixxxTokenSpaceGuid.PcdPasswordToken|0|UINT64|0x1009 Then I tried to use PcdGetEx64 in a library construct function OldToken = PcdGetEx64((CONST GUID

Re: [edk2] Tcg2Pei.efi assert after sync to latest trunk

2017-02-23 Thread wang xiaofeng
nal Message- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of wang >xiaofeng >Sent: Thursday, February 23, 2017 7:21 PM >To: edk2-devel@lists.01.org >Subject: [edk2] Tcg2Pei.efi assert after sync to latest trunk > >Hi All, > I just updated to latest e

[edk2] Tcg2Pei.efi assert after sync to latest trunk

2017-02-23 Thread wang xiaofeng
Hi All, I just updated to latest edk2 trunk this afternoon , and meet the following error: Loading PEIM at 0x8FB1000 EntryPoint=0x8FB13CF Tcg2Pei.efi PROGRESS CODE: V03020002 I0 WARNING: Tpm2RegisterTpm2DeviceLib - does not support 286BF25A-C2C3-408C-B3B4-25E6758B7317 registration

Re: [edk2] CapsuleApp behavior for CAPSULE_FLAGS_PERSIST_ACROSS_RESET only capsule

2017-02-19 Thread wang xiaofeng
HI Jiewen, Bug 388 - is submitted for this issue At 2017-02-17 09:23:08, "Yao, Jiewen" <jiewen@intel.com> wrote: >Would you please help to file a bugzillar for tracking purpose? > >Thank you >Yao Jiewen > >From: wang xiaofeng [mailto:winggundu...@1

Re: [edk2] CapsuleApp behavior for CAPSULE_FLAGS_PERSIST_ACROSS_RESET only capsule

2017-02-16 Thread wang xiaofeng
Hi JIewen, I am OOO today, I will create a bugzillar next monday. At 2017-02-17 09:23:08, "Yao, Jiewen" <jiewen@intel.com> wrote: >Would you please help to file a bugzillar for tracking purpose? > >Thank you >Yao Jiewen > >From: wang xiaofeng [

Re: [edk2] CapsuleApp behavior for CAPSULE_FLAGS_PERSIST_ACROSS_RESET only capsule

2017-02-12 Thread wang xiaofeng
g. > >2) If you just want to update multiple capsules at one time, current APP >already support this feature. >You may use: >CapsuleApp Bios.Cap Me.Cap Bmc.Cap > >Thank you >Yao Jiewen > >From: wang xiaofeng [mailto:winggundu...@163.com] >Sent: Sunday, Febru

Re: [edk2] CapsuleApp behavior for CAPSULE_FLAGS_PERSIST_ACROSS_RESET only capsule

2017-02-12 Thread wang xiaofeng
SULE_FLAGS_PERSIST_ACROSS_RESET flag, the >CapsuleService processes the image immediately. Then CapsuleApp can free the >buffer finally, because it is already processed. > >May I know where you think we have logic error? > >Thank you >Yao Jiewen > >From: wang xiaofeng [mailto:win

[edk2] CapsuleApp behavior for CAPSULE_FLAGS_PERSIST_ACROSS_RESET only capsule

2017-02-10 Thread wang xiaofeng
Hi Jiewen, I think it might be a logic error for CapsuleApp with CAPSULE_FLAGS_PERSIST_ACROSS_RESET only capsule. If a capsule only have CAPSULE_FLAGS_PERSIST_ACROSS_RESET flag, my understanding it will not trigger reset automatially. User will trigger reset(S3) in OS or application

Re: [edk2] [PATCH] SignedCapsulePkg/EdkiiSystemCapsuleLib: Fix logic error.

2017-02-07 Thread wang xiaofeng
Hi Jiewen, The fix is OK for me. Reviewed-by Wang,Cloud At 2017-02-07 14:33:45, "Jiewen Yao" wrote: >This patch fixes https://bugzilla.tianocore.org/show_bug.cgi?id=367 > >Cc: Wang Cloud >Contributed-under: TianoCore Contribution Agreement 1.0

[edk2] Bug 367 - Version Check for capsule update logic error

2017-02-06 Thread wang xiaofeng
Hi Jiewen, Bug 367 is submitted for Version Check for capsule update logic error . In CapsuleAuthenticateSystemFirmware of SignedCapsulePkg\Library\EdkiiSystemCapsuleLib\EdkiiSystemCapsuleLib.c, the following logic seems error if (ForceVersionMatch) { if

Re: [edk2] SetUnicodeMem in DisplayEngineDxe seems unsafe

2017-01-24 Thread wang xiaofeng
;> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of wang >> xiaofeng >> Sent: Wednesday, January 25, 2017 10:22 AM >> To: Gao, Liming >> Cc: edk2-devel@lists.01.org; Dong, Eric >> Subject: Re: [edk2] SetUnicodeMem in DisplayEngineDxe seems unsafe >

Re: [edk2] SetUnicodeMem in DisplayEngineDxe seems unsafe

2017-01-24 Thread wang xiaofeng
updated with original > Buffer Size. Could you help submit this issue in BugZillar? > >Thanks >Liming >>-Original Message- >>From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >>wang xiaofeng >>Sent: Tuesday, January 24, 2017

[edk2] SetUnicodeMem in DisplayEngineDxe seems unsafe

2017-01-23 Thread wang xiaofeng
Hi DisplayEngineDxe Owner, SetUnicodeMem seems unsafe since the buffer may overflow if the input Size is bigger than buffer size.Do we think about improve the function /** Set Buffer to Value for Size bytes. @param Buffer Memory to set. @param Size

[edk2] seems a minor logic error in UpdateCapsule of MdeModulePkg\Universal\CapsuleRuntimeDxe

2017-01-12 Thread wang xiaofeng
Hi All. In UpdateCapsule of MdeModulePkg\Universal\CapsuleRuntimeDxe,TempVarName is initlized but not used. I guess the author tends to set TempVarName instead of CapsuleVarName if user calls UpdateCapsule multiple times. The two name are same for the first call . StrCpyS

[edk2] how to update capsule image with CapsuleApp

2017-01-11 Thread wang xiaofeng
HI All, I want to update capsule image with CapsuleApp. The capsule image is built and can be update by CapsuleApp. From current edk2 master code ,it seems the reset mode should be S3 mode first (I understand this since we need to keep capsule information in memory),but CapsuleApp will only

Re: [edk2] How to build commonlib of Basetools in x64 mode

2016-12-22 Thread wang xiaofeng
Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of wang xiaofeng Sent: Friday, December 23, 2016 12:16 PM To: Andrew Fish <af...@apple.com> Cc: edk2-devel <edk2-devel@lists.01.org> Subject: Re: [edk2] How to build commonlib of Basetools in x64 mode

Re: [edk2] How to build commonlib of Basetools in x64 mode

2016-12-22 Thread wang xiaofeng
You should code tools to exact >sizes, and only use UINTN if you don't care about size. > >Sent from my iPhone > >> On Dec 22, 2016, at 7:35 PM, wang xiaofeng <winggundu...@163.com> wrote: >> >> Hi Base tool owners, >> I tried to build commonlib in bas

[edk2] How to build commonlib of Basetools in x64 mode

2016-12-22 Thread wang xiaofeng
Hi Base tool owners, I tried to build commonlib in basetools . And use the library file in my own application tool . I just found the commonlib is build in IA32 mode ,this means UINTN is 4 byte in the output lib. I expect to build a X64 mode Common.lib ,can you help me? Or base tools can

Re: [edk2] incorrected set variable size in InitSmmProfileCallBack of UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c

2016-08-23 Thread wang xiaofeng
> >An OS application can get this pointer and parse the data pointed by >mSmmProfileBase > >Thank you >Yao Jiewen > >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of wang >xiaofeng >Sent: Wednesday, August 24, 2016 11:43 AM >To: Fan, Jeff <

[edk2] incorrected set variable size in InitSmmProfileCallBack of UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c

2016-08-23 Thread wang xiaofeng
Hi Jeff, Not sure whether you owns SmmProfile.c. I found the following logic is incorrect. sizeof(mSmmProfileBase) is 8, we should use sizeof(SMM_PROFILE_HEADER). Otherwise the variable size is incorrect | gRT->SetVariable ( | | | SMM_PROFILE_NAME, | | | , | | |

Re: [edk2] a minor logic error in PcAtChipsetPkg\Library\AcpiTimerLib\AcpiTimerLib.c

2016-05-12 Thread wang xiaofeng
! At 2016-05-13 10:34:21, "Zeng, Star" <star.z...@intel.com> wrote: >I think you are right. Could you help contribute the patch to fix it? > >Thanks, >Star >-Original Message- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of wan

[edk2] a minor logic error in PcAtChipsetPkg\Library\AcpiTimerLib\AcpiTimerLib.c

2016-05-12 Thread wang xiaofeng
Hi Everyone , Please refer to the code in AcpiTimerLibConstructor in PcAtChipsetPkg\Library\AcpiTimerLib\AcpiTimerLib.c The orginal code is if ((PciRead8 (PCI_LIB_ADDRESS (Bus, Device, Function, EnableRegister) & EnableMask) != EnableMask)) { The bracket place is not right, I

[edk2] A logic error in OvmfPkg\SataControllerDxe\SataController.c

2016-04-26 Thread wang xiaofeng
Hi All , I found a logic error in SataControllerStop of OvmfPkg\SataControllerDxe\SataController.c. The following code will first free SataPrivateData ,then try to use SataPrivateData if (SataPrivateData != NULL) { if (SataPrivateData->DisqualifiedModes != NULL) {

Re: [edk2] Update UDK2014 to UDK2015 leads to setup page slow

2016-03-08 Thread wang xiaofeng
ength to > 0 in platform DSC file. Could you see whether this way works or not? If it > works, your issue should be same to ours. If not, your issue may be > different. > >Thanks >Liming >> -Original Message- >> From: edk2-devel [mailto:edk2-devel-boun...@lists.01

[edk2] Update UDK2014 to UDK2015 leads to setup page slow

2016-03-08 Thread wang xiaofeng
Hi Edk2 developers, After upate to UDK2015 from UDk2014, the Uiapp setup shows very slow. the following is our issue and debug information. Anyone meet similar issue before? Issue symptom: 1, System draw the Front Page cost about 2 second. We can see the frame/ menu block/ help block draw

[edk2] UnicodeError: UTF-16 stream does not start with BOM error when update from UDK2015 to latest Github trunk

2016-02-29 Thread wang xiaofeng
Hi All Edk2 developer, I meet a build error when update code from UDK2015 to latest Github trunk. Do anyone meet similar issue before? I sync NetworkPkg seperately to latest code but find the following error: build... : error C0DE: Unknown fatal error when processing