[edk2] Installation of Firmware Management Protocol 2 on PCI Adapter with 2 ASIC's

2015-08-20 Thread Galla Rao
Hello All, We are trying to install FMP2 on a adapter which has 2 ASIC's As per definition of spec *When the FMP instance is intended to update internal device firmware, or a combination of device firmware and Option ROM, the FMP instance may instead be attached to the Controller handle of the

[edk2] HiiSetBrowserData

2015-07-09 Thread Galla Rao
In EDK II HiiSetBrowserData was never checked for its return value at many locations, where it was called @retval FALSE The uncommitted data could not be updated. @retval TRUE The uncommitted data was updated. **/ BOOLEAN EFIAPI HiiSetBrowserData ( was always assumed that it will return Succ

[edk2] SRIOV on add-on card

2014-12-10 Thread Galla Rao
Hello All, Could any one please comment incase you have worked on this feature Am trying to boot a guest OS on a Virtual Function, It hangs in preboot The server is not an x86, it is on SUN SPARC What BIOS/pre-boot has to enable to make Guest OS boot on VF The PF& VF driver in OS are working wit

[edk2] Alternative to LibGetManagingDriverBindingHandles

2014-02-18 Thread Galla Rao
Hello All, Could any one please let me know what is the alternative to LibGetManagingDriverBindingHandles (EDK lib call) in UDK2010 (EDKII). The API is defined in \Edk\Other\Maintained\Application\Shell\Library\Handle.c could not find the corresponding call in UDK2010 Kindly Respond! Thanks Ra

Re: [edk2] gBS->LocateProtocol

2013-11-30 Thread Galla Rao
Is this Protocol installed by any DXE driver? The Status should return EFI_NOT_FOUND atleast On Sat, Nov 30, 2013 at 12:28 PM, Nishit Patira wrote: > Hi, > > I am writing an UEFI Application. I am using gBS_>LocateProtocol to return > the instance where the protocl is found. > > EFI_STATUS Stat

[edk2] Uefi SCT tests for third-party OPROM's

2013-10-10 Thread Galla Rao
Hello All, I selected IHV Tests in SCT for RAID driver The steps i followed are as below - Insert the controller handle into Test Device Configuration - Select the IHV Tests for 3rd party drivers as per the User Guide - Run the tests Though there was no system hang/major failures rep

Re: [edk2] Is there a way to determine, the disk is GPT and it is bootable

2013-10-01 Thread Galla Rao
, Oct 1, 2013 at 9:08 PM, Galla Rao wrote: > Hi Sathya > > I think you can try to locate Primary GPT in LBA1 through block > IO->Readblock and check for signature in the GPT header > > Uefi Spec Section > 5.3.2 GPT Header > Signature 0 8 Identifies EFI-compatible partition

Re: [edk2] Is there a way to determine, the disk is GPT and it is bootable

2013-10-01 Thread Galla Rao
Hi Sathya I think you can try to locate Primary GPT in LBA1 through block IO->Readblock and check for signature in the GPT header Uefi Spec Section 5.3.2 GPT Header Signature 0 8 Identifies EFI-compatible partition table header. This value must contain the ASCII string “EFI PART”, encoded as the

Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?

2013-09-28 Thread Galla Rao
age Spec Ver 1.7. > > ** ** > > Thanks, > > Simon**** > > ** ** > > *From:* Galla Rao [mailto:gallagnv@gmail.com] > *Sent:* Friday, September 27, 2013 5:06 AM > *To:* edk2-devel@lists.sourceforge.net > *Subject:* Re: [edk2] How to specify name/value storage in &g

Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?

2013-09-27 Thread Galla Rao
3rd paramter is VarStore ID it should be CONFIGURATION_VARSTORE_ID not STRING_TOKEN IN EFI_VARSTORE_ID VarStoreId, you need to define it in yout VFR file. you can check sample code in UDK2010 varstore ISCSI_CONFIG_IFR_NVDATA, varid = CONFIGURATION_VARSTORE_ID, name = ISCSI_CONFIG_IFR_N

Re: [edk2] SetTimer Granularity in uEFI

2013-09-16 Thread galla rao
ser > values and when we switch to Legacy environment we could change it back to > 54ms as interval. > > ** ** > > Thanks, > > Ramesh > > ** ** > > *From:* galla rao [mailto:gallagnv@gmail.com] > *Sent:* Monday, September 16, 2013 4:23

[edk2] SetTimer Granularity in uEFI

2013-09-16 Thread galla rao
Hello All, Can anyone help me understand what is the minimum Timer Granularity for gBS->SetTimer When i have written a callback with 50ms(milli seconds), The calls seems to be taking a value close to 50ms In the 8254Timerdxe the following comments are given about timer ticks // // The PCAT 8253/

Re: [edk2] EDK to UDK Porting, Driver Binary increased in Size

2013-09-16 Thread galla rao
Thanks for your reply Jordan On Fri, Sep 13, 2013 at 12:39 PM, Jordan Justen wrote: > On Thu, Sep 12, 2013 at 12:18 AM, galla rao > wrote: > > Dear All, > > > > I ported a OptionRom Code from EDK to UDK and found my .efi output file > has > > increased from

[edk2] EDK to UDK Porting, Driver Binary increased in Size

2013-09-12 Thread galla rao
Dear All, I ported a OptionRom Code from EDK to UDK and found my .efi output file has increased from ~700k to ~1100k Building Code in UDK results in increase in Driver Size, is this how UDK is designed? Even the obj's have increased in size after compilation. Kindly Provide your inputs. Thank yo

Re: [edk2] Debugging UEFI bootloaders applications

2013-08-28 Thread galla rao
https://www.intel.in/content/dam/doc/manual/uefi-dev-kit-debugger-tool-manual.pdf Sec 8.9 Debugging a standalone module loaded in a UEFI shell using late attach On Thu, Aug 29, 2013 at 11:13 AM, galla rao wrote: > Is it not possible to introduce *SerialPortWrite* Calls into Bootloaded >

Re: [edk2] Debugging UEFI bootloaders applications

2013-08-28 Thread galla rao
Is it not possible to introduce *SerialPortWrite* Calls into Bootloaded code? Have you tried i think if you have JTAG debuggers like Arium/ITP/HDT through WINDBG you should be able to breakthrough I think if you have Tiano source level debugging macros you should be able to break into UEFI source

Re: [edk2] Efi/Tiano Compress

2013-08-23 Thread galla rao
Thanks Andrew for your detailed response, This info is quite useful On Fri, Aug 23, 2013 at 7:56 PM, Andrew Fish wrote: > > On Aug 23, 2013, at 2:44 AM, galla rao wrote: > > > Hello Everyone > > > > Can any one please elaborate how compression in uEFI environment

Re: [edk2] Efi/Tiano Compress

2013-08-23 Thread galla rao
rgey Isakov wrote: > Hi, > There is a good example how to load lzma compressed module and decompress > it > edk2/DuetPkg/EfiLdr/EfiLoader.c > LZMA compression is a subset of 7z compression and available with free > license. > > 23.08.2013, в 13:44, galla rao напи

[edk2] Efi/Tiano Compress

2013-08-23 Thread galla rao
Hello Everyone Can any one please elaborate how compression in uEFI environment can help reduce a third-party drive size. I have a scenario where the compiled driver size reduced to 1/3rd of it's size by using EfiCompress.exe with options Efi/Tiano The Algo it uses it LZ77/Huffman I could not lo

Re: [edk2] Doubt about IPMI

2013-08-21 Thread galla rao
As far as i know i think if you have to implement any PEIM,DXE drivers UEFI Environment provides SMBus Host Controller Protocol EFI_SMBUS_HC_PROTOCOL IPMI can use this protocol to communicate with BMC Please elaborate your requirement On Thu, Aug 22, 2013 at 4:43 AM, Rafael Machado < rafaelro

Re: [edk2] Getting time in option ROM driver

2013-07-30 Thread galla rao
Am sorry gRT->GetTime = PcRtcEfiGetTime; in UDK Try to simulate the code in *PcRtcEfiGetTime *into your source On Tue, Jul 30, 2013 at 2:44 PM, galla rao wrote: > Sateesh > > There is an API in UDK > *InternalAcpiDelay* > You can try to use it > On Tue, Jul

Re: [edk2] Getting time in option ROM driver

2013-07-30 Thread galla rao
Sateesh There is an API in UDK *InternalAcpiDelay* You can try to use it On Tue, Jul 30, 2013 at 11:08 AM, satish kondapalli wrote: > Hi, > > My Option ROM driver is not a run time driver and i want to know the date > and time in my driver. > > > is there any API similar to gRT->GetTime() for nor

[edk2] Block IO Protocol - Can i get the Block IO Interface Pointer correctly without using DevicePath

2013-07-25 Thread galla rao
Hello All ** *My Code* Status=gBS->LocateHandleBuffer ( ByProtocol, &gEfiBlockIoProtocolGuid, NULL, &HandleCount, &HandleBuffer ); Status = BS->HandleProtocol ( HandleBuffer[Index], &gEfiBlockIoProtocolGuid, (VOID **) &BlockIo ); Is this enough to o

Re: [edk2] Buidl Error C2496 from AutoGen.c

2013-07-10 Thread galla rao
ommand line in relation to the option. > > ** ** > > *From:* galla rao [mailto:gallagnv@gmail.com] > *Sent:* Wednesday, July 10, 2013 20:49 > *To:* edk2-devel@lists.sourceforge.net > *Subject:* [edk2] Buidl Error C2496 from AutoGen.c > > ** ** > > Hello All,**

[edk2] Buidl Error C2496 from AutoGen.c

2013-07-10 Thread galla rao
Hello All, I am trying to build a optionrom with UDK2010.SR1.UP1 libraries with /TP as compiler switch I see error C2496 from AutoGen.c, though i never use these PCD's when i don't use /TP flag, this error is not seen c:\udk2010.up1\Build\MdeModule\RELEASE_VS2010\X64\MdeModulePkg\Bus\Pci\Sasdriv

[edk2] HiiCreateTextOpcode

2013-06-22 Thread galla rao
Hello All The UDK HII API HiiCreateTextOpcode failed to display the text in HII form. The return value is a pointer to the created opcode, during my debug the return value is not NULL (i.e the API is success but fails to show on HII form) why is it so? I tried other Opcodes like Goto/Action/One

[edk2] Hii Modal Form

2013-06-22 Thread galla rao
Hello All I created a modal form and it does not honor ESC key to switch to a previous form. I think that is the expected behavior of the Modal Form. In the UDK, setbrowser.dxe source code has functionality to prevent using ESC key when the form is modal Does all BIOS vendors are supporting the S