The EDKII Build Data Viewer is a handy (free) tool from Intel that analyzes UEFI BIOS build logs and provides the user with information about what exactly got built. This is useful for troubleshooting not just build issues, but a variety of BIOS issues.
From the documentation:
The EDK II Build Data Viewer tool provides a view of what files, GUIDs, and PCDs were used in a build. It parses the build log file to determine source code and INF files used in the build and the workspace directory. Additional build information can be created by using the –Y and –y switches to generate a build report.
I played around with version 22.214.171.124 of the application.
Steps to Download and Build
To start, download the source and build the application:
- Use git to clone: https://github.com/01org/edkiibuilddataviewer
- Open EdkIIBuildDataViewer.sln with Visual Studio 2010
- Rebuild solution, Release/Win32 configuration
This worked for me the first time! (that never happens!) If you’d rather just download the application binary without going through the process of building it, I put it here:
Running Some Tests
The first step is to supply the tool a build log file and a build report file. When I tried this tool with some production source trees available to me, I could not get a build log file that was recognized as valid. I got:
Your mileage may vary. However, I did successfully load the log files from a build I ran of the NT32 build target from the EDKII:
Here are the build log and build report that I fed the EDKII Build Data Viewer (this program needs a shorter name!):
There are two exciting parts of the application:
- pressing Ctrl+T cycles through viewing the various build data types
- the “Search” box allows you to find names or GUIDs of interest
To give you some idea of the analysis:
I encourage you to download the program and my log files and play around yourself—much better than me trying to explain all the nuances. This is a tool only a programmer could love—there is a lot of good information and it is extremely dense; I cannot do justice to it with screenshots. Again, please try it for yourself—just use the links above to download the tool and the two log files.
A note on the tool’s documentation. First, YES, there is documentation! Plus, it’s actually accurate, and you can tell they put a lot of time into it. Kudos for the screenshots in the documentation! The documentation is named EDK II Build Data Viewer.docx and it comes with the source when you check it out.
The EDKII Build Data Viewer is beautifully designed. The documentation is top notch. It provides a wealth of information in one place that would be time-consuming to discover independently. Unfortunately I was not able to get it to run on the production BIOS source trees I have available to me, but hopefully you have better luck.