Will,

Example usage of this feature is described in the UEFI DWG in Section 18.7.2 
and 18.7.3.

        
http://sourceforge.net/projects/edk2/files/EDK%20II%20Releases/Driver_Developer/UEFI%20Driver_Writer_Guide_V1.0.1_120308.pdf/download

Best regards,

Mike

-----Original Message-----
From: William Marone (wmarone) [mailto:wmar...@micron.com] 
Sent: Thursday, November 08, 2012 10:59 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Using PCI_COMPRESS in .INF file

All,

Perhaps I am missing a step, but I would like to confirm this with the list.

I am building a PCIe driver and want to generate a compressed Option ROM. I am 
currently doing this manually with EfiRom, but I know that it is possible to 
automate this within the build system using the PCI_* parameters in the .inf 
file for the driver.

As such I have defined the Vendor ID, Device ID, PCI Class Code, and PCI 
Revision in my .inf. This results in the build system properly generating an 
uncompressed .ROM file as the last step in the build. All good. However, when I 
add the PCI_COMPRESS parameter and set it to TRUE, the build is unchanged.  The 
call to EfiRom still uses -e and not -ec, resulting in generation of an 
uncompressed ROM. I also tossed in the plain COMPRESS parameter (which was 
deprecated) and had no more luck.

I'm currently using VS2005x86 for my toolchain and UDK2010.SR1.IHV.

If I'm not missing a step and this is a bug, I'll file one in trac.

Will Marone

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to