[edk2] Csm16.bin(seabios) failed to work in OVMF.

2016-04-22 Thread wq...@aliyun.com
Hi everyone, I build the Csm16.bin from source code of seabios-1.9.2.tar.gz . And copy the Csm16.bin to OvmfPkg/Csm/Csm16/Csm16.bin , Build the OVMF_CODE.fd and OVMF_VARS.fd with command build -D CSM_ENABLE. Unfortunately, I test the OVMF_CODE.fd and OVMF_VARS.fd in qemu. It failed! The lo

Re: [edk2] [PATCH] MdeModulePkg/PXE: Avoid using overloaded BootFileName or ServerName

2016-04-22 Thread Heyi Guo
Sorry, it is not good to modify the original data of the packets. Please ignore this patch and I'll send out a new one. Regards. Heyi On 04/22/2016 04:32 PM, Heyi Guo wrote: BootFileName or ServerName in DHCP offer may be overloaded and cannot be used, so we manually set the strings to be nul

Re: [edk2] Ask for recommendation of free automation test tool

2016-04-22 Thread Blibbet
> Have you ever used any free automation test tool? Any recommendation? What EFI-related thing are you trying to test? ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] [PATCH v2 0/2] Report ACPI NFIT for reserved memory RAM disks

2016-04-22 Thread El-Haj-Mahmoud, Samer
What if we break down the NFIT registration from the rest of the RamDiskDxe: RamDiskDxe: As it is today, without NFIT/ACPI Name Space entries: RamDiskAcpiDxe Add NFIT entries (and ACPI Namespace if one doesn't exist). The RamDiskAcpiDxe would be just a reference implementation, a

Re: [edk2] [PATCH] ShellPkg: Enahance 'dh' command to add more protocols decoding support

2016-04-22 Thread El-Haj-Mahmoud, Samer
Reviewed-by: Samer El-Haj-Mahmoud -Original Message- From: Shah, Tapan Sent: Friday, April 22, 2016 11:32 AM To: edk2-devel@lists.01.org Cc: El-Haj-Mahmoud, Samer ; jaben.car...@intel.com; Shah, Tapan Subject: [PATCH] ShellPkg: Enahance 'dh' command to add more protocols decoding supp

Re: [edk2] [PATCH 3/3] Platforms/ARM/Juno: Add support for ACPI 6.0 LPI(Low Power Idle) states

2016-04-22 Thread Sudeep Holla
On 22/04/16 17:51, Leif Lindholm wrote: On Wed, Apr 20, 2016 at 09:18:38AM +0100, Sudeep Holla wrote: On 20/04/16 08:42, Ard Biesheuvel wrote: On 19 April 2016 at 17:11, Sudeep Holla wrote: ACPI 6.0 introduced LPI(Low Power Idle) states that provides an alternate method to describe proces

Re: [edk2] [PATCH 3/3] Platforms/ARM/Juno: Add support for ACPI 6.0 LPI(Low Power Idle) states

2016-04-22 Thread Leif Lindholm
On Wed, Apr 20, 2016 at 09:18:38AM +0100, Sudeep Holla wrote: > > > On 20/04/16 08:42, Ard Biesheuvel wrote: > >On 19 April 2016 at 17:11, Sudeep Holla wrote: > >>ACPI 6.0 introduced LPI(Low Power Idle) states that provides an alternate > >>method to describe processor idle states. > >> > >>LPI

[edk2] [PATCH] ShellPkg: Enahance 'dh' command to add more protocols decoding support

2016-04-22 Thread Tapan Shah
Adding EdidDiscovered, EdidActive protocol decode support a in 'dh' command. Extending GraphicsOutput protocol decoding to list all supported GOP resolutions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah --- ShellPkg/Include/Library/ShellCommandLib.h

Re: [edk2] [PATCH v4 1/3] Platforms/ARM/Juno: Fix IO window min/max base address in PCIe root complex

2016-04-22 Thread G Gregory
On 22 April 2016 at 15:26, Leif Lindholm wrote: > On Wed, Apr 20, 2016 at 06:35:06PM +0100, Sudeep Holla wrote: >> XPress-RICH3 PCIe driver initializes the root complex with the source >> and target address for IO window. The root complex resources in SSDT >> should match these settings. >> >> Thi

Re: [edk2] Boot 64-bit OS from EDK2 compiled for 32-bit?

2016-04-22 Thread Richardson, Brian
This is supported by recent builds of Debian. Use the 'multi-arch' version of the distribution. https://www.debian.org/News/2015/20150426 Thanks ... br --- Brian Richardson -- brian.richard...@intel.com -- Twitter: intel_brian -Original Message- From: edk2-devel [mailto:edk2-devel-boun

[edk2] Boot 64-bit OS from EDK2 compiled for 32-bit?

2016-04-22 Thread Welch, Brian J
I'm wondering if it is possible to boot a 64-bit Linux kernel from EDK2 that has been compiled for 32-bit? If this is possible are there any caveats (e.g. is it possible to have more than 4GB memory, how does the 64-bit memory map get configured, etc.) ? Brian

Re: [edk2] [staging/HTTPS-TLS][PATCH 0/3] Provide an UI to support TLS authentication

2016-04-22 Thread El-Haj-Mahmoud, Samer
Series Reviewed-By: Samer El-Haj-Mahmoud -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Jiaxin Wu Sent: Tuesday, April 19, 2016 10:08 PM To: edk2-devel@lists.01.org Cc: Ye Ting ; Fu Siyuan ; Long Qin Subject: [edk2] [staging/HTTPS-TLS][PATCH 0/

Re: [edk2] [PATCH] NetworkPkg: Don't need to update device path in home environment

2016-04-22 Thread El-Haj-Mahmoud, Samer
Ting, Siyuan, Jiaxin, Can one of you please commit this change if you have no objections? Thanks, --Samer -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of El-Haj-Mahmoud, Samer Sent: Friday, April 15, 2016 8:26 AM To: Li, Gary (HPS SW) ; edk2-dev

[edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-22 Thread Anthony PERARD
Hi, Following the switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe, the pci root bridge does not finish to initialize and breaks under Xen. There are several issue probably due to the use of PcdPciDisableBusEnumeration=TRUE. First one: ASSERT MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.

Re: [edk2] [PATCH v4 1/3] Platforms/ARM/Juno: Fix IO window min/max base address in PCIe root complex

2016-04-22 Thread Leif Lindholm
On Wed, Apr 20, 2016 at 06:35:06PM +0100, Sudeep Holla wrote: > XPress-RICH3 PCIe driver initializes the root complex with the source > and target address for IO window. The root complex resources in SSDT > should match these settings. > > This patch fixes the min/max base address for the IO windo

Re: [edk2] facing memory allocation failure on QEMU

2016-04-22 Thread Ard Biesheuvel
On 22 April 2016 at 11:25, Meenakshi Aggarwal wrote: > Hi Ard, > > > > I try after enrolling KEK.der into DB and kernel booted up successfully. > Thanks for your constant support. > > > I have one question... I have enrolled DB.der into DB previously, when I try > to enroll another KEK.der into D

Re: [edk2] facing memory allocation failure on QEMU

2016-04-22 Thread Meenakshi Aggarwal
Hi Ard, I try after enrolling KEK.der into DB and kernel booted up successfully. Thanks for your constant support. I have one question... I have enrolled DB.der into DB previously, when I try to enroll another KEK.der into DB then it didn' t allow me. Then I delete the previously enrolled DB

[edk2] [Patch] MdeModulePkg/DxeCore: Avoid assertion in CoreLocateProtocol

2016-04-22 Thread Ruiyu Ni
The patch uses CoreAcquireLockOrFail() instead of CoreAcquireProtocolLock() in CoreLocateProtocol() to avoid assertion when CoreLocateProtocol() is called with the protocol database locked. The issue was found when changing PcdDebugPrintErrorLevel to enable page/pool allocation debug message. Nt32

Re: [edk2] [patch] MdeModulePkg: Fix GCC code build error of iSCSI driver.

2016-04-22 Thread Wu, Jiaxin
Reviewed-by: Jiaxin Wu > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Zhang Lubo > Sent: Friday, April 22, 2016 4:52 PM > To: edk2-devel@lists.01.org > Subject: [edk2] [patch] MdeModulePkg: Fix GCC code build error of iSCSI > driver. > >

Re: [edk2] [patch] NetworkPkg: Fix GCC code build error of iSCSI driver.

2016-04-22 Thread Wu, Jiaxin
Since the patch break the GCC build, I will check it soon. Reviewed-by: Jiaxin Wu > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Zhang Lubo > Sent: Friday, April 22, 2016 4:55 PM > To: edk2-devel@lists.01.org > Subject: [edk2] [patch] Ne

[edk2] [patch] NetworkPkg: Fix GCC code build error of iSCSI driver.

2016-04-22 Thread Zhang Lubo
Fix GCC build error when refine the codes of iSCSI driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo --- NetworkPkg/IScsiDxe/IScsiMisc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NetworkPkg/IScsiDxe/IScsiMisc.c b/NetworkPkg/ISc

[edk2] [patch] MdeModulePkg: Fix GCC code build error of iSCSI driver.

2016-04-22 Thread Zhang Lubo
Fix GCC build error when refine the codes of iSCSI driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo --- MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Netwo

Re: [edk2] [Patch] MdeModulePkg: Correct PlatformHookLibSerialPortPpi module type.

2016-04-22 Thread Tian, Feng
Looks good to me Reviewed-by: Feng Tian Thanks Feng -Original Message- From: Gao, Liming Sent: Friday, April 15, 2016 1:41 PM To: edk2-devel@lists.01.org Cc: Tian, Feng Subject: [Patch] MdeModulePkg: Correct PlatformHookLibSerialPortPpi module type. This library instance is PEIM type

[edk2] [PATCH] MdeModulePkg/PXE: Avoid using overloaded BootFileName or ServerName

2016-04-22 Thread Heyi Guo
BootFileName or ServerName in DHCP offer may be overloaded and cannot be used, so we manually set the strings to be null to avoid misusing. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: chenzhihui Signed-off-by: Heyi Guo Cc: Feng Tian Cc: Star Zeng Cc: Siyuan Fu Cc: J

Re: [edk2] facing memory allocation failure on QEMU

2016-04-22 Thread Ard Biesheuvel
On 22 April 2016 at 10:18, Meenakshi Aggarwal wrote: > Hi Ard, > > > I tried your image, its verification succeeded, > then I tried my kernel Image, verification succeeded for that as well. > > > The only difference is... previously I was signing the image in /mnt > directory after mounting vexpr

Re: [edk2] facing memory allocation failure on QEMU

2016-04-22 Thread Meenakshi Aggarwal
Hi Ard, I tried your image, its verification succeeded, then I tried my kernel Image, verification succeeded for that as well. The only difference is... previously I was signing the image in /mnt directory after mounting vexpress64-oe.img and replacing Image with latest one. And Now I signed

[edk2] [PATCH 02/12] MdeModulePkg: Add new driver to publish EDKII_PI_SMM_COMMUNICATION_REGION_TABLE.

2016-04-22 Thread Jiewen Yao
Add a driver to publish EDKII_PI_SMM_COMMUNICATION_REGION_TABLE, so that other DXE driver can consume this table directly. NOTE: This is sample driver. A platform may uses its own way to define default SMM communication buffer region and publish information in its own EDKII_PI_SMM_COMMUNICATION_REG

[edk2] [PATCH 11/12] SecurityPkg-Opal(2): Enhance AHCI Bar MMIO region check.

2016-04-22 Thread Jiewen Yao
This patch enhance OPAL password SMM driver to check SMM bar is valid MMIO besides outside of SMRAM. This is designed to meet Microsoft WSMT table definition on FIXED_COMM_BUFFERS requirement. Cc: "Dong, Eric" Cc: "Tian, Feng" Cc: "Laszlo Ersek" Contributed-under: TianoCore Contribution Agreem

[edk2] [PATCH 06/12] MdeModulePkg-FPDT(1): Add SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET definition.

2016-04-22 Thread Jiewen Yao
This patch enhance performance data SMM communication by using fixed SMM communication buffer. A new command SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET is added, because we need to support get partial PerformanceData to fixed SMM communication buffer. If performance data is bigger than fixe

[edk2] [PATCH 08/12] MdeModulePkg-FPDT(3): Use SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET in FpdtDxe.

2016-04-22 Thread Jiewen Yao
This patch enhance performance data SMM communication by using fixed SMM communication buffer. Update FpdtDxe to use fixed SMM communication buffer to get performance data by SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET API. This is designed to meet Microsoft WSMT table definition on FIXED_CO

[edk2] [PATCH 03/12] MdeModulePkg-MemoryProfile(1): Add SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET definition.

2016-04-22 Thread Jiewen Yao
This patch enhance SMM memory profile SMM communication by using fixed SMM communication buffer. A new command SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET is added, because we need to support get partial ProfileData to fixed SMM communication buffer. If profile data is bigger than fixed SMM c

[edk2] [PATCH 10/12] SecurityPkg-Opal(1): Use fixed SMM communication buffer in OPAL password lib.

2016-04-22 Thread Jiewen Yao
This patch enhance OPAL password lib SMM communication by using fixed SMM communication buffer. Update OPAL password lib to consume EDKII_PI_SMM_COMMUNICATION_REGION_TABLE as fixed communication buffer for SMM communication. This is designed to meet Microsoft WSMT table definition on FIXED_COMM_B

[edk2] [PATCH 00/12] Enhance SMM Communication by using fixed comm buffer.

2016-04-22 Thread Jiewen Yao
This series patches are generate to meet Microsoft WSMT table definition on FIXED_COMM_BUFFERS requirement. Before this series patches, the DXE or OS module can use any non-SMM memory as communication buffer to exchange data with SMM agent. Microsoft WSMT table has requirement to support fixed com

[edk2] [PATCH 09/12] MdeModulePkg-FPDT(4): Use SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET in PerfLib.

2016-04-22 Thread Jiewen Yao
This patch enhance performance data SMM communication by using fixed SMM communication buffer. Update PerformanceLib to use fixed SMM communication buffer to get performance data by SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET API. This is designed to meet Microsoft WSMT table definition on F

[edk2] [PATCH 12/12] MdePkg-SmmMemLib: Enhance SmmIsBufferOutsideSmmValid() check for fixed comm buffer.

2016-04-22 Thread Jiewen Yao
This patch adds more check in SmmIsBufferOutsideSmmValid(), to make sure that SMM communication buffer is only EfiReservedMemoryType/EfiRuntimeServicesCode/ EfiRuntimeServicesData/EfiACPIMemoryNVS. So that the communication buffer will not touch any OS memory. The assumption is that a platform rep

[edk2] [PATCH 05/12] MdeModulePkg-MemoryProfile(3): Use SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET in MemoryProfileInfo.

2016-04-22 Thread Jiewen Yao
This patch enhance SMM memory profile SMM communication by using fixed SMM communication buffer. Update MemoryProfileInfo APP to use fixed SMM communication buffer to get profile data by SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET API. This is designed to meet Microsoft WSMT table definition

[edk2] [PATCH 01/12] MdeModulePkg: Add EDKII_PI_SMM_COMMUNICATION_REGION_TABLE definition.

2016-04-22 Thread Jiewen Yao
This configuration table is used to describe platform pre-allocated memory for SMM communication buffer. If DXE driver wants to communicate with SMM agent, it can use this memory as SMM communication buffer instead of allocate new memory region. This is designed to meet Microsoft WSMT table defini

[edk2] [PATCH 04/12] MdeModulePkg-MemoryProfile(2): Add SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET in PiSmmCore.

2016-04-22 Thread Jiewen Yao
This patch enhance SMM memory profile SMM communication by using fixed SMM communication buffer. Update PiSmmCore to handle SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET request. This is designed to meet Microsoft WSMT table definition on FIXED_COMM_BUFFERS requirement. Cc: "Zeng, Star" Cc:

[edk2] [PATCH 07/12] MdeModulePkg-FPDT(2): Add SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET in FpdtSmm Handler.

2016-04-22 Thread Jiewen Yao
This patch enhance performance data SMM communication by using fixed SMM communication buffer. Update FpdtSmm to handle SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET request. This is designed to meet Microsoft WSMT table definition on FIXED_COMM_BUFFERS requirement. Cc: "Gao, Liming" Cc: "Ti

Re: [edk2] [patch] MdeModulePkg: refine codes of iSCSI driver.

2016-04-22 Thread Wu, Jiaxin
Lubo, Please fix it ASAP. > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Ard Biesheuvel > Sent: Friday, April 22, 2016 4:00 PM > To: Wu, Jiaxin > Cc: Ye, Ting ; Zhang, Lubo ; > edk2-devel@lists.01.org; Fu, Siyuan > Subject: Re: [edk2] [pa

Re: [edk2] [patch] MdeModulePkg: refine codes of iSCSI driver.

2016-04-22 Thread Ard Biesheuvel
On 22 April 2016 at 09:37, Wu, Jiaxin wrote: > Reviewed-by: Jiaxin Wu > > >> -Original Message- >> From: Zhang, Lubo >> Sent: Tuesday, April 19, 2016 5:05 PM >> To: Ye, Ting ; edk2-devel@lists.01.org >> Cc: Fu, Siyuan ; Wu, Jiaxin >> Subject: RE: [edk2] [patch] MdeModulePkg: refine codes

Re: [edk2] facing memory allocation failure on QEMU

2016-04-22 Thread Ard Biesheuvel
On 22 April 2016 at 09:43, Meenakshi Aggarwal wrote: > Hi Ard, > > > I tried signing my kernel image with KEK rather than DB (that’s what I think > you want me to do, hope I understood you correctly), > But this too didn't work for me. > > > $ sudo ~/sbsigntools/src/sbsign --key KEK.key --cert KE

Re: [edk2] facing memory allocation failure on QEMU

2016-04-22 Thread Meenakshi Aggarwal
Hi Ard, I tried signing my kernel image with KEK rather than DB (that’s what I think you want me to do, hope I understood you correctly), But this too didn't work for me. $ sudo ~/sbsigntools/src/sbsign --key KEK.key --cert KEK.crt --output Image.signed Image Signing Unsigned original image

Re: [edk2] [patch] NetworkPkg: refine codes of iSCSI driver.

2016-04-22 Thread Wu, Jiaxin
Reviewed-by: Jiaxin Wu > -Original Message- > From: Zhang, Lubo > Sent: Monday, April 18, 2016 4:13 PM > To: edk2-devel@lists.01.org > Cc: Fu, Siyuan ; Ye, Ting ; Wu, > Jiaxin > Subject: [patch] NetworkPkg: refine codes of iSCSI driver. > > Add error handling logic in DriverBingingStop

Re: [edk2] [patch] MdeModulePkg: refine codes of iSCSI driver.

2016-04-22 Thread Wu, Jiaxin
Reviewed-by: Jiaxin Wu > -Original Message- > From: Zhang, Lubo > Sent: Tuesday, April 19, 2016 5:05 PM > To: Ye, Ting ; edk2-devel@lists.01.org > Cc: Fu, Siyuan ; Wu, Jiaxin > Subject: RE: [edk2] [patch] MdeModulePkg: refine codes of iSCSI driver. > > Thank you for your series comment

Re: [edk2] facing memory allocation failure on QEMU

2016-04-22 Thread Ard Biesheuvel
On 22 April 2016 at 08:49, Meenakshi Aggarwal wrote: > Hi Ard, > > > I cloned tag "llct-20160105.0" from > git://git.linaro.org/kernel/linux-linaro-tracking.git. > > commit 62862d5eec1567de047fe52551d6eb73683a4a9f > Merge: 564a141 e117bc4 > Author: Andrey Konovalov > Date: Tue Jan 5 21:25:31 2

[edk2] [Patch] BaseTools: Fix the bug for .aml to use ASL binary type in Asbuilt inf

2016-04-22 Thread Yonghong Zhu
Per build spec, the .aml file should use ASL binary type in the Asbuilt inf file. the original bug is .aml file may use BIN as binary type when the module type is not BASE or USER_DEFINED. This patch 1) fix this bug. 2) fix some indent coding style issue. Cc: Liming Gao Contributed-under: TianoCo