[if gte mso 9]>

Re: [edk2] Option ROM image

Subject: Re: [edk2] Option ROM image

From: "Sun, Rui" <rui.sun@intel.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2012-03-09 14:51:35

Sateesh,

 

So you mean that BIOS is hanging with the Option ROM in your PCIe card? Can you add some debug message in your driver entry point function to see if is hanging in your driver or elsewhere?

 

From: satish kondapalli [mailto:nitw.satish@gmail.com]
Sent: Friday, March 09, 2012 9:28 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] Option ROM image

 

Hi Thomas,
 
I tried Below sequence But it is not working. Even if the check sum is wrong why BIOS is hanging.

This I am building with GCC compiler. 

is there a way to know what is the probelm?

is anyone faced the similar issue with option ROM.

Thanks
Sateesh

On Fri, Mar 9, 2012 at 2:01 AM, Joe Thomas <Joe.Thomas@dothill.com> wrote:

Satish,

 

Don’t know if this is your issue or not but we found we needed to run the EFIROM command twice in order to get the correct checksums in the header…

 

                efirom –v <vendor> -d <device> -e <driver>.efi –o <optionrom>.tmp

                efirom –v <vendor> -d <device> -b <optionrom>.tmp –o <optionrom>.bin

 

We then flash the <optionrom>.bin file to the card…

 

[Note – there are additional concerns if you need to have both a legacy option rom and uefi option rom flashed… legacy needs to be first and you need to fix the pointers to the next image, adjust the checksum, etc. when merging the two images.]

 

-Joe Thomas

 

// Joseph Thomas

// Principal Software Engineer

// Dot Hill Systems

// 2905 NorthWest Blvd., Suite 20

// Plymouth, MN 55441

// 763.226.2640

 

 

 

From: satish kondapalli [mailto:nitw.satish@gmail.com]
Sent: Thursday, March 08, 2012 12:18 PM


To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Option ROM image

 

Hi,



I have developed an Option ROM driver for My PCIe Card. I executed the Option ROM image from UEFI shell with "loadpcirom" command and it is working.
Now I am keeping the same Image in my PCIe  Card Option ROM, At this time BIOS is not coming up.
To create Option ROM image i executed below command:
EfiROM -f <my-vendorID> -i <my-deviceid> -e mydriver.efi -o driver.rom

Note:
I am sure my Option ROM BAR is working perfectly, because i verified the option ROm image by reading Option ROM BAR  in linux.


Please tell me how to solve the issue. why my BIOS is not coming up?

Thanks
Sateesh


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel