[edk2] UpdateStackHob in DxeIpl PEIM

2012-10-25 Thread nicolas
hi, experts: In DxeIpl PEIM, before jumping DxeMain(), it will call UpdateStackHob() function. So, my question is: 1. When to create a Hob whose name is gEfiHobMemoryAllocStackGuid? SEC phase or PEI earlier phase? 2. gEfiHobMemoryAllocStackGuid Hob's function? Just saving this region to

Re: [edk2] Running EFI Shell

2012-10-25 Thread Jordan Justen
On Thu, Oct 25, 2012 at 11:19 AM, Валерий Бицоев wrote: > Binaries in EdkShellBinPkg works pretty good, but, unfortunately, i need to > build Shell, because i want to change some things. I think it might be easier to change code in the newer UEFI shell. > 2012/10/25 Jordan Justen >> On Thu, Oct

Re: [edk2] DISKPART.EFI is not listing disk entry for my blk5 device.

2012-10-25 Thread Tian, Feng
Agree Brain's comments. And you can use "select x" internal cmd of DiskPart tool followed by "inspect" internal cmd to check the disk partition info -Original Message- From: Brian J. Johnson [mailto:bjohn...@sgi.com] Sent: Thursday, October 25, 2012 21:51 To: edk2-devel@lists.sourceforge

Re: [edk2] El Torito

2012-10-25 Thread Andrew Fish
UEFI 2.3.1 12.3.2.1 ISO-9660 and El Torito IS0-9660 is the industry standard low level format used on CD-ROM and DVD-ROM. The CD- ROM format is completely described by the “El Torito” Bootable CD-ROM Format Specification Version 1.0. To boot from a CD-ROM or DVD-ROM in the boot services environ

[edk2] Question on identifying the UEFI version

2012-10-25 Thread Amol Tasgaonkar
Hi,   Is there a way to find out the UEFI version from any already exposed Runtime variable in the Windows OS? Is there any alternate method ?   Thanks, -Amol.-- Everyone hates slow websites. So do we. Make your web apps f

Re: [edk2] Running EFI Shell

2012-10-25 Thread Валерий Бицоев
Thanks for answering. Binaries in EdkShellBinPkg works pretty good, but, unfortunately, i need to build Shell, because i want to change some things. -- Valery 2012/10/25 Jordan Justen > On Thu, Oct 25, 2012 at 6:53 AM, Валерий Бицоев > wrote: > > I am trying to build with GCC44 and run any

[edk2] UEFI Option ROM

2012-10-25 Thread Bhavana Brar
Hi, I came across a presentation : http://www.uefi.org/learning_center/UPFS11_P6_OptionROM_AMI.pdf . The presentation calls out that the UEFI option ROM will only be executed for devices in the boot path. What does that mean? Also, that the OS Driver cannot assume the UEFI OpROM has been execu

Re: [edk2] New to EFI. help needed

2012-10-25 Thread Mcdaniel, Daryl
Krishna, There is a lot of good information on setting up an EDK II source tree at http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Getting_Started_with_EDK_II. Use Subversion to get a copy of the source tree from https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/

Re: [edk2] Running EFI Shell

2012-10-25 Thread Jordan Justen
On Thu, Oct 25, 2012 at 6:53 AM, Валерий Бицоев wrote: > I am trying to build with GCC44 and run any version of EFI Shell with > edk2. When I build ShellPkg and tried to run it, i got ASSERT() at > this point: > > // > // Retrieve the pointer to the UEFI HII String Protocol > // > Status =

Re: [edk2] DISKPART.EFI is not listing disk entry for my blk5 device.

2012-10-25 Thread Brian J. Johnson
On 10/25/2012 06:18 AM, baban devkate wrote: > Hello experts, > > Background- > Have couple of doubts related to UEFI Device driver for PCIe Block device. > > My driver.efi produces the Block IO protocol(blk5) for my block device. > Using simple application I am able to perform RAW BlockIO on it. N

[edk2] Running EFI Shell

2012-10-25 Thread Валерий Бицоев
Hello, I am trying to build with GCC44 and run any version of EFI Shell with edk2. When I build ShellPkg and tried to run it, i got ASSERT() at this point: // // Retrieve the pointer to the UEFI HII String Protocol // Status = gBS->LocateProtocol (&gEfiHiiStringProtocolGuid, NULL, (VOID **

[edk2] Reporting potential security bugs

2012-10-25 Thread Florian Weimer
What's your preferred way to receive notices about potential security bugs? I couldn't find anything under: , and the project pages say that "the best way to get help with its software is by emailing its projec

[edk2] DISKPART.EFI is not listing disk entry for my blk5 device.

2012-10-25 Thread baban devkate
Hello experts,   Background- Have couple of doubts related to UEFI Device driver for PCIe Block device.   My driver.efi produces the Block IO protocol(blk5) for my block device. Using simple application I am able to perform RAW BlockIO on it. Next I want to do file IO on it. So I need to format m

[edk2] DISKPART.EFI is not listing disk entry for my blk5 device.

2012-10-25 Thread baban devkate
Hello experts, Background- Have couple of doubts related to UEFI Device driver for PCIe Block device. My driver.efi produces the Block IO protocol(blk5) for my block device. Using simple application I am able to perform RAW BlockIO on it. Next I want to do file IO on it. So I need to format my b

Re: [edk2] EFI_FILE_PROTOCOL.Delete() failing with EFI_WARN_DELETE_FAILURE

2012-10-25 Thread Ramesh Raju
May I know how file is declared? (*file)->Delete (*file); We are using like EFI_FILE_HANDLE file; (file)->Delete (file); and it works fine. Does the DEL command works from Shell? Thanks, Ramesh The information contained in this message may be confidential and proprietary to American Megatr

Re: [edk2] Use of d2i_*_bio functions from OpenSSL

2012-10-25 Thread Long, Qin
Weimer, Thanks for your feedback. We will check & evaluate the relative routines. Best Regards & Thanks, LONG, Qin -Original Message- From: Florian Weimer [mailto:fwei...@redhat.com] Sent: Thursday, October 25, 2012 3:37 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Use

Re: [edk2] Both legacy OpROM and UEFI BSD loaded

2012-10-25 Thread Ramesh Raju
Initilization routine will be called only once while launching the option rom. The option rom runtime services should take care the environments settings. Means before using the controller or device it should re-initialize and use it. While going out restore the old settings. Normally system fi

Re: [edk2] Use of d2i_*_bio functions from OpenSSL

2012-10-25 Thread Florian Weimer
On 10/25/2012 04:37 AM, Long, Qin wrote: > Thank you for this suggestion. Could you help to provide more information > about this stability comparison (d2i_*_bio vs d2i_*) for our evaluation? To my knowledge, this is not documented anywhere. This is based on feedback I received when I reported

Re: [edk2] Both legacy OpROM and UEFI BSD loaded

2012-10-25 Thread Prakash, Sathya
It is two ROM images loaded in flash separately. Loading into memory is not a problem, but if they are executed interchangeably will the initialization routines of OptionROM and BSD be called every time before the switch happens? And whether the system firmware make sure both the services will