On Feb 4, 2014, at 12:02 PM, John Davis <[email protected]> wrote:
> Hello
>
> In the EDK II build spec, Chapter 10 on Post-Build ImageGen Stage - Flash
> Images, it mentions PCD's (Some of the PCD's defined...) and FD (.. combined
> into FD image files..).
>
> What are these files?
>
> The glossary has PCD defined as a Platform Configuration Database, but I
> thought there would only be one Platform Configuration Database. Why the
> plural s?
>
There are PCD entries and a PCD database. The PCD database represents the
dynamic PCD entries (accessed via a PPI or Protocol). The PCD entries are
accessed from a driver/application via the PcdLib:
https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdePkg/Include/Library/PcdLib.h
>
> The work flow diagram in Figure 22 shows a .FD file as a Full Firmware Image.
> I notice there are NT32.fd and FVRECOVERY.Fv files of similar size in the
> NT32IA32/DEBUG_VSxx/FV directory. What is the difference in these two files?
FV == Firmware Volume -> PI Defined simple flash file system. The info is in
Vol 3 of the PI spec that you can download from
http://www.uefi.org/specsandtesttools
FD == Flash Device -> Flash Device. A collection of FVs and data regions.
> Only thing I can tell based upon a hex editor is that the strings which are
> in common are at different addresses and that the .fd file is used by the
> emulator as a firmware volume. From the description file:
> gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Nt32.fd"
>
> Lastly, is there anyway to load firmware in the emulator at runtime and dump
> it? From the shell book, I can see you can load drivers but I haven't found
> anything on .fv files yet.
>
You can dump it on your build system:
1) The VolInfo command line tool can be used to dump out an FV.
2) You can add -y REPORTFILE (??report-file=REPORTFILE) to your build command
and get information about PCD, Library usage, FLASH, DEPEX, build flags, etc.
Thanks,
Andrew Fish
> --
> John F. Davis
> 6 Kandes Court
> Durham, NC 27713
> 919-888-8358
>
> ????????
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk_______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel