Re: [edk2] Debug UEFI driver using EDKII

2015-05-24 Thread Ni, Ruiyu
Kan, It seems you have enabled the UDK Debugger in DUET. Any findings you can share with me? Thanks, Ray From: Kan Qiu [mailto:kan...@osbase.com] Sent: Thursday, May 21, 2015 4:27 PM To: Ni, Ruiyu Cc: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Debug UEFI driver using EDKII Thanks Ray,

Re: [edk2] How to add debug agent console device to the console input/output device list ?

2015-05-24 Thread Ni, Ruiyu
Make sure you boot your HP system to DUET. DUET contains a typical EDKII BIOS setup UI which should be quite different from your HP’s BIOS setup UI. In DUET’s setup UI, enters to Boot Maintainance Manager->Console Option. Make sure you check the device path like “VenHw(865A5A9B-B85D-474C-8455-65D

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

2015-05-24 Thread B Cran
On May 24, 2015 9:31 PM, "lidonglin" wrote: > > Thanks for your reply. > > This method maybe only can print some log to serial. Is there any way to control ovmf work flow like step by step debug? You can run qemu with the embedded gdb server and with a bit of setup using scripts mentioned a whil

[edk2] [PATCH 0/2] Add header files for EAP Protocols

2015-05-24 Thread Hao Wu
Add definitions for EFI EAP Management2 Protocol and EFI EAP Configuration Protocol. Hao Wu (2): MdePkg: Add EFI EAP Management2 Protocol definitions MdePkg: Add EFI EAP Configuration Protocol definitions MdePkg/Include/Protocol/Eap.h | 8 +- MdePkg/Include/Protocol/EapConfigu

[edk2] [PATCH 2/2] MdePkg: Add EFI EAP Configuration Protocol definitions

2015-05-24 Thread Hao Wu
Add UEFI2.5 EFI EAP Configuration Protocol definitions. MdePkg/Include/Protocol/Eap.h is also modified for backward compatibility. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Liming Gao --- MdePkg/Include/Protocol/Eap.h | 8 +- MdeP

[edk2] [PATCH 1/2] MdePkg: Add EFI EAP Management2 Protocol definitions

2015-05-24 Thread Hao Wu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Liming Gao --- MdePkg/Include/Protocol/EapManagement2.h | 87 MdePkg/MdePkg.dec| 3 ++ 2 files changed, 90 insertions(+) create mode 100644 MdePkg

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

2015-05-24 Thread Fan, Jeff
Download UDK Debugger tools to setup source debugger environment per the software and document from the following link. http://firmware.intel.com/develop/intel-uefi-tools-and-utilities/intel-uefi-development-kit-debugger-tool#overlay-context=develop From: lidonglin [mailto:lidong...@huawei.com]

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] Qestion about how to debug OVMF on QEMU

2015-05-24 Thread lidonglin
Thanks for your reply. This method maybe only can print some log to serial. Is there any way to control ovmf work flow like step by step debug? From: Neeraj Ladkani [mailto:neeraj.ladk...@gmail.com] Sent: 2015年5月25日 10:42 To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Qestion about how

[edk2] Potential memory leak for AARCH64 runtime memory allocation

2015-05-24 Thread Heyi Guo
Hi folks, I noticed that the number of pages will be extended to 64KB aligned for AARCH64 runtime services memory, like EfiRuntimeServicesCode/Data, AcpiReclaimMemory, etc. However, the caller does not know the real page number that was allocated; if some error occurs and the caller wants to f

Re: [edk2] [PATCH] MdeModulePkg: Regular expression protocol

2015-05-24 Thread Ni, Ruiyu
Jonathan, I still suggest to only use CHAR16 in the library interface. That can make it possible for future another Regex library implementation supports CHAR16 pattern. Your implementation can check the PATTERN and return UNSUPPORTED when the CHAR16 PATTERN contains non-ASCII character. With th

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

2015-05-24 Thread Neeraj Ladkani
in summary 1. Change the gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel = 0x 2. run build -D -D DEBUG_ON_SERIAL_PORT 3. install com2com ( to create virtual COM ports on your laptop in case you dont have ) 4. qemu-system-x86_64.exe -bios OVMF.fd -serial COM1 On Sun, May 24, 2015 at

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

2015-05-24 Thread Blibbet
> I want to know how to debug ovmf with QEMU + OVMF. > I want to trace OVMF code flow. Who can give me some suggestion? https://github.com/tianocore/tianocore.github.io/wiki/OVMF%20FAQ#How_do_I_enable_source_level_debugging_with_OVMF https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Sou

[edk2] Question about PEX boot on Xen with OVMF as bios

2015-05-24 Thread lidonglin
Hi all: Recentlly, I want to use PXE boot on Xen with OVMF as bios. At beginning, I just add rtl8139 as guest nic device, and I compile a release ovmf. When I enter into uefi, I can't find network boot menu. According to edk2/OvmfPkg/README file, I know there is a virtio-net driver buil

[edk2] Qestion about how to debug OVMF on QEMU

2015-05-24 Thread lidonglin
Hi all: I want to know how to debug ovmf with QEMU + OVMF. I want to trace OVMF code flow. Who can give me some suggestion ? Thanks. -- One dashboard for servers and applications across Physical-Virtual-Cloud Wi

Re: [edk2] [PATCH] MdePkg: fix compilation error

2015-05-24 Thread Tian, Feng
Thanks, Rousseau. Yes, it's a typo and should be fixed. Reviewed-by: Feng Tian PS: I didn't see your first mail, that's why we have no response to you. Where did you post it to? Thanks Feng -Original Message- From: Ludovic Rousseau [mailto:ludovic.rouss...@gmail.com] Sent: Saturday