[edk2] Not able to load Signed UEFI image from ROM.

2013-09-02 Thread Debabrata
Hi, I was working on “Secure Boot” for UEFI. So the idea is to sign our drivers and load it in secure boot environment. As of now for experimental purposes we are test signing our driver with our own certificate,enrolling the certificate in UEFI firmware ,enabling secure boot in UEFI firmware an

[edk2] EFI_BOOT_SERVICES AllocatePool() hang

2014-11-26 Thread Debabrata Chattopadhyay
Hi, In our option ROM for our storage controller , I am trying to allocate some memory using BS->AllocatePool().I see that the call just hangs and never comes out. Basically , we have a structure like this : Struct A { //some elements void * ptr;

Re: [edk2] EFI_BOOT_SERVICES AllocatePool() hang

2014-11-28 Thread Debabrata Chattopadhyay
Hi Andrew, Thanks for your answer. Actually the same code is working very well for x64 platforms. But this problem is occurring only for IPF platform. Also in case I use &ptr , where ptr is a local pointer , instead of ((void **)&p->ptr) then the BS->AllocatePool does not hang. Also sinc

Re: [edk2] EFI_BOOT_SERVICES AllocatePool() hang

2014-12-15 Thread Debabrata Chattopadhyay
Hi Scott, Thanks . your pragma related idea , looks like , worked. Regards Debabrata From: Debabrata Chattopadhyay Sent: Friday, November 28, 2014 5:23 PM To: 'edk2-devel@lists.sourceforge.net' Subject: Re: [edk2] EFI_BOOT_SERVICES AllocatePool() hang Hi Andrew, Thanks for y

Re: [edk2] Not able to load Signed UEFI image from ROM.

2013-09-03 Thread Debabrata Chattopadhyay
signed driver (.efi). So it can't be directly loaded from shell or other place in "Secure boot" environment. If there is another driver that could find and remove the option rom header from .rom image, it could be loaded by the driver in Secure boot environment. Thanks, Guo