RE: [EDK DEV] Using a compressed option rom driver image.

Subject: RE: [EDK DEV] Using a compressed option rom driver image.

From: "Gao, Liming" <liming.gao@intel.com>

To: <dev@edk.tianocore.org>

Date: 2008-06-22 01:21:32

Ken,
  EfiRom tool supports -ec option to create the efi compressed rom =
image.
  You can directly EfiRom tool to create your compressed rom image.
  For example, you can type:
  EfiRom -ec yourimage.efi -o yourimage.rom
 =20
Thanks
Liming
-----Original Message-----
From: Ken Aaker [mailto:kaaker@brocade.com]=20
Sent: 2008=C4=EA6=D4=C221=C8=D5 5:56
To: dev@edk.tianocore.org
Subject: Re: [EDK DEV] Using a compressed option rom driver image.

I'm still digging around, I thought I should add some explanation of=20
what I'm trying to do.

I need to generate a EFI code image that will be burned into the flash=20
ROM of a fibre channel HBA device. I have used EfiRom to generate an=20
IA32 image with my driver, the scsi bus driver, and the scsi disk=20
driver. I have written that image to the flash and everything functions.

Now, I need to generate an IPF image of my driver, the scsi bus driver,=20
and the scsi disk driver. Everything builds Ok, but the IPF driver image =

is too large to fit in the ROM space I have. So, I need to create a=20
compressed image of the 3 efi files that can be processed by the PCI bus =

driver. I've found the information about the fdf file and genfds, but it =

really doesn't seem to be very applicable to what I'm trying to do.

Thank you for any guidance,
Ken Aaker


Ken Aaker wrote:
> I've read the sections in the UEFI 2.1 spec that discuss the=20
> decompression protocol for driver images.
>
> I didn't find an example of how to set up a compressed driver image. I =

> tried EfiCompress and it compressed the IPF version quite nicely, but=20
> I don't see how to tell gensection to compress my driver .efi image.
>
>
> Thanks,
>
> Ken Aaker
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@edk.tianocore.org
> For additional commands, e-mail: dev-help@edk.tianocore.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@edk.tianocore.org
For additional commands, e-mail: dev-help@edk.tianocore.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@edk.tianocore.org
For additional commands, e-mail: dev-help@edk.tianocore.org