RE: [EDK DEV] What is ORG file ?

Subject: RE: [EDK DEV] What is ORG file ?

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

To: <dev@edk.tianocore.org>

Date: 2008-06-18 08:22:24

Yes, for the none compressed FFS file. Org file is same to FFS file.

-----Original Message-----
From: Adhyas Avasthi [mailto:aavasthi@vmware.com]=20
Sent: 2008=C4=EA6=D4=C218=C8=D5 0:20
To: dev@edk.tianocore.org
Subject: Re: [EDK DEV] What is ORG file ?

Thanks Liming. So that means that if I do not care about compressing my
FFS files (i.e. remove the Compress statement from IMAGE_SCRIPT), my ORG
and FFS files are going to be the exact same copies, right?

- Adhyas

Gao, Liming wrote:
> Hi,
>   ORG file and FFS file is generated both by GenFfsFile. ORG file is =
also the FFS file with the uncompressed section files. But FFS file is =
made of the section files described in the Pkg file.
>   So, ORG file is always the FFS file with the uncompressed section =
files. They can be placed into one FV image, then compress them together =
to get the better compression ratio to reduce the size.
>
>   Take the following package for DxeMain as the example, the ORG file =
is the FFS file with the uncompressed DxeMain.pe32 section. But the FFS =
file is combined of the compressed DxeMain.pe32 section.
>
> [Package.BS_DRIVER.DxeMainStripped]
> PACKAGE.INF
> \[.]
> BASE_NAME                   =3D $(BASE_NAME)
> FFS_FILEGUID                =3D $(FILE_GUID)
> FFS_FILETYPE                =3D EFI_FV_FILETYPE_DXE_CORE
> FFS_ATTRIB_CHECKSUM         =3D TRUE
>
> IMAGE_SCRIPT =3D
> {
>   Compress ($(COMPRESS_METHOD)) {
>     $(BASE_NAME).pe32
>   }
> }
>
> Thanks
> Liming
> -----Original Message-----
> From: Adhyas Avasthi [mailto:aavasthi@vmware.com]
> Sent: 2008=C4=EA6=D4=C217=C8=D5 6:37
> To: dev@edk.tianocore.org
> Subject: [EDK DEV] What is ORG file ?
>
> I see a bunch of ORG files created during the build process. Most of
> them have the same size as the FFS file for that module. Some of them
> even have the same diffs (like PeiMain, if I remember correctly). I
> cannot seem to figure out anything about this ORG. What format is =
this?
> Why a different format than what modules already create (FFS, that is) =
?
>
> I haven't found enough time to hex dump ORG file and find out what
> exactly it is from the inside. Would really appreciate if someone can
> throw some pointers. Also, if I can know the build files responsible =
for
> creating the ORG files.
>
> - Adhyas
>
> ---------------------------------------------------------------------
> 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
>
>  =20


---------------------------------------------------------------------
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