On Tue, Sep 11, 2012 at 3:56 PM, Pant, Alok <[email protected]> wrote:
> I am using UDK.SPI.UP1 source code to build some SMM drivers. Everything is
> fine as long as drivers are uncompressed; but when I change the fdf file as
> below to attempt to compress the SMM driver binary, I get the following
> error. Any suggestion on what I may be doing wrong. Does the tool support
> SMM driver compression?
>
> Thanks
>
> -Alok Pant
>
> Change in FDF file
>
> [Rule.Common.DXE_SMM_DRIVER]
>   FILE SMM = $(NAMED_GUID) {
>     SMM_DEPEX    SMM_DEPEX Optional      $(INF_OUTPUT)/$(MODULE_NAME).depex
>     COMPRESS PI_STD {
>       GUIDED {
>         PE32     PE32                    $(INF_OUTPUT)/$(MODULE_NAME).efi
>       }
>     }

That doesn't appear to be the correct syntax for compression. How about these?

EFI compression:
COMPRESS PI_STD {
  PE32     PE32                    $(INF_OUTPUT)/$(MODULE_NAME).efi
}

TianoCompress compression:
GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
  PE32     PE32                    $(INF_OUTPUT)/$(MODULE_NAME).efi
}

LZMA compression:
GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
  PE32     PE32                    $(INF_OUTPUT)/$(MODULE_NAME).efi
}

-Jordan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel

Reply via email to