[edk2] Help Required legacy booting from an EFI

2016-09-19 Thread Saqib Khan
for legacy booting from an EFI . -- Regards saqib khan ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] Help Required legacy booting from an EFI

2016-09-20 Thread Saqib Khan
On Mon, Sep 19, 2016 at 10:49 PM, Laszlo Ersek wrote: > On 09/19/16 17:00, Saqib Khan wrote: > > Hello all, this is my first post to this list and i am very new to edk2 > > development. > > > > I started by building BootManagerMenuApp with following functiona

Re: [edk2] Help Required legacy booting from an EFI

2016-09-22 Thread Saqib Khan
have followed build path from https://github.com/tianocore/tianocore.github.io/wiki/Getting-Started-Writing-Simple-Application can any one point out where i am wrong? On Wed, Sep 21, 2016 at 12:13 AM, Laszlo Ersek wrote: > CC'ing Ray > > On 09/20/16 20:38, Saqib Khan wrote: >

[edk2] stuck on LoadImage while loading image from usb

2016-09-29 Thread Saqib Khan
Hi , I am trying to load an EFI from another EFI, it stuck when LoadImage is called both EFI are located on USB . Here is code snippet " UINTN NumberFileSystemHandles; EFI_HANDLE *FileSystemHandles; UINTN Index; EFI_BLOCK_IO* BlkIo; EFI_DEVICE_PATH_PROTOCOL *FilePath; EF

[edk2] EFI hanging at EfiBootManagerRefreshAllBootOption

2016-10-05 Thread Saqib Khan
Hi , I am working on a Boot manager I have following set-up in USB i have directory EFI->BOOT->Bootx64.efi(my EFI) My EFI does load an image, before that I am trying to EfiBootManagerRefreshAllBootOption () I am trying to refresh all but option .but it hangs on EfiBootManagerRefreshAllBootOptio

Re: [edk2] EFI hanging at EfiBootManagerRefreshAllBootOption

2016-10-05 Thread Saqib Khan
UefiApplicationEntryPoint UefiBootManagerLib LegacyBootManagerLib I have figured out that if I add LegacyBootManagerLib it hangs at EfiBootManagerRefreshAllBootOption() . any idea why this behaviour? I want to boot legacy so i need legacyBootManagerLib... On Wed, Oct 5, 2016 at 4:35 PM, Saqib Khan wrote

[edk2] UefiBootManagerLib and LegacyBootManagerLib issue

2016-10-05 Thread Saqib Khan
Hi, when i import both lib in my project my EFI hangs at EfiRefreshAllBootOptions, i removed LegacyBootManager and it worked fine .i need both lib as i need to boot legacy from EFI, how this issue can be resolved? here is piece of inf file [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModule

Re: [edk2] UefiBootManagerLib and LegacyBootManagerLib issue

2016-10-05 Thread Saqib Khan
// if (mBmRefreshLegacyBootOption != NULL) { Print(L"Before legacy refresh \n"); *mBmRefreshLegacyBootOption (); *//this method does not return Print(L"legacy refresh complete\n"); } On Wed, Oct 5, 2016 at 5:51 PM, Saqib Khan wrote: > Hi, > > when i import

[edk2] Urgent help -UefiBootManagerLib and LegacyBootManagerLib issue

2016-10-05 Thread Saqib Khan
Hi all,i need urgent help regarding this issue. > On 05-Oct-2016, at 9:05 PM, Saqib Khan wrote: > > > I have found that it just dont return from mBmRefreshLegacyBootOption (); . > > have a look at code. let me know the possible cause of it ... &g

Re: [edk2] Urgent help -UefiBootManagerLib and LegacyBootManagerLib issue

2016-10-06 Thread Saqib Khan
will be go for another system as i am doing my development on physical system. *Thank you* On Thu, Oct 6, 2016 at 2:37 AM, Andrew Fish wrote: > > > On Oct 5, 2016, at 2:23 PM, Saqib Khan wrote: > > > > > > > > Hi all,i need urgent help regarding this issue. > &

Re: [edk2] Urgent help -UefiBootManagerLib and LegacyBootManagerLib issue

2016-10-17 Thread Saqib Khan
->Data[FDIndex] = Ptr->Data[Index]; FDIndex++; } NewFDPtr = NewPtr->Data; On Thu, Oct 6, 2016 at 1:41 PM, Laszlo Ersek wrote: > On 10/06/16 09:28, Saqib Khan wrote: > > Hi Andrew, > > > > I think I did not address my problem well in my previous email.Plea

[edk2] Which CSM supported MotherBoard should be used for development

2016-10-17 Thread Saqib Khan
Hi, Can any one help my select mother board? currently I am testing on asus h81-me but it looks like it has bug in its CSM. -- Regards Saqib Ahmed Khanzada ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-d

[edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-18 Thread Saqib Khan
Hi, I can not find structure of BOOT variable, Can any one help how to extract device path from BOOT variable. here is code i have attempt (rEFind) *UINT8 *Value;* *Status = gRT->GetVariable ((CHAR16 *)Name, &gEfiGlobalVariableGuid, NULL, &BootVariableSize, Value);//p

Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-19 Thread Saqib Khan
should not always return 0x01 .What i am doing wrong in parsing ? Thanks On Tue, Oct 18, 2016 at 11:37 PM, Andrew Fish wrote: > > > On Oct 18, 2016, at 10:40 AM, Laszlo Ersek wrote: > > > > On 10/18/16 19:18, Saqib Khan wrote: > >> Hi, > >> I can not find st

Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-20 Thread Saqib Khan
; -Jaben > > > -Original Message- > > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > > Saqib Khan > > Sent: Wednesday, October 19, 2016 11:18 AM > > To: Andrew Fish > > Cc: edk2-de...@ml01.01.org; Laszlo Ersek > > Subject