[if !mso]>

[EDK DEV] how to add a peim to FvRecovery.fv ?

Subject: [EDK DEV] how to add a peim to FvRecovery.fv ?

From: <TigerLiu@viatech.com.cn>

To: <dev@edk.tianocore.org>

Date: 2008-02-02 00:23:10

Hi,

I need to add a peim(it is a bin file , no source code) into FvRecovery.fv .

How to do it?

 

I know how to add a dxe driver(it is a bin file, no source code) into FvRecovery.fv.

I write a a.inf file ,listed as below:

///////

[defines]

BASE_NAME            = AModule

FILE_GUID            = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F

COMPONENT_TYPE       = BS_DRIVER

BUILD_TYPE           = BS_DRIVER_EFI

 

[sources.common]

 

[nmake.common]

////////

So ,I can add  “AModule”  into FvRecovery.fv.

 

But ,I tried to add a peim(bin file) into FvRecovery.fv , then I changed these two items:

COMPONENT_TYPE       = PE32_PEIM

BUILD_TYPE           = PE32_PEIM_EFI

 

Then,I compiled the project, but failed!

 

Thank you!