Hi Elvin,
Thanks for your replay. My PCIe device is FPGA Based and it takes around
300us to configure the FPGA and will visible as a PCIe device. In UEFI
BIOS, when Option ROM drivers will execute? is my FPGA delay is causing
any effect. Please see my comments are inline.
Thanks
Sateesh
On Mon, Nov 26, 2012 at 7:22 AM, Li, Elvin <[email protected]> wrote:
> Hi:****
>
> You could try to use DEBUG ((EFI_D_ERROR, “XXXXX”)); to see debug
> message, print() can only print something after console is ready.
>
I will use this macro.
> ****
>
> I know little about your BIOS internals.
>
Here I am writing just option ROM driver for my PCIe Device. For testing I
connected my PCIe device to Intel server.
> How do you inject your ROM into BIOS booting? Flash OpROM into a PCI
> device?
>
Yes, MY option ROM is mapped to flash inside PCIe Device.
> If so, you could use shell command to check if OpROM is found by PCI bus
> during boot:
>
> **1. **dh –p pciio.****
>
> **2. **Find Handle with your PCI device, 0xABCD.****
>
> 3. dh 0xabcd –d –v. In dump result, find if Rom Location and Rom
> Size are non-zero.
>
Thanks Elvin. I will update this info also.
> ****
>
> ****
>
> ** **
>
> Thanks****
>
> Elvin****
>
> *From:* satish kondapalli [mailto:[email protected]]
> *Sent:* Monday, November 26, 2012 9:18 AM
> *To:* [email protected]
> *Subject:* [edk2] My Option ROM driver is working with loadpcirom command
> from UEFI shell but not executing while BIOS is coming up.****
>
> ** **
>
> Hi,
>
> I written one option ROM driver. This Driver is executing successfully
> with "loadpcirom" command from UEFI shell. But option ROM driver is not
> executing while BIOS is booting.
>
> I am using one of latest Intel Server for my Development ( will provide
> more Details of the server in next thread).
>
> Here are my questions:
> 1) BIOS vendors(In this case Intel) will put any restriction on Option ROM
> Driver execution on their machines
> 2) will "loadpcirom" command igonre some checks that BIOS will do while
> execution of Option ROM driver?
> 3) is there way to debug this kind of issues?(Even i added Print() in my
> Entry point function of my driver. These prints are not coming while BIOS
> execution but i am seeing these prints are coming on console if we execute
> this driver from UEFI shell)
>
> 4) This svn version of edk2 i am using for my option ROM driver
> Development:
> sateesh@sateesh-ThinkPad-T420:~/workspace/test_EDK2/edk2$ svn info
> Path: .
> URL: http://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2
> Repository Root: http://edk2.svn.sourceforge.net/svnroot/edk2
> Repository UUID: 6f19259b-4bc3-4df7-8a09-765794883524
> Revision: 12898
> Node Kind: directory
> Schedule: normal
> Last Changed Author: tye1
> Last Changed Rev: 13958
> Last Changed Date: 2012-11-22 10:37:22 +0530 (Thu, 22 Nov 2012)
>
> Please provide some inputs
>
>
> Thanks
> Sateesh****
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel