UefiToolsPkg

September 29, 2017 ยท View on GitHub

This is a Tiano Core (edk2) package with various goodies. The goal was to make the UEFI environment much more useful to system hackers. It may be a reduced environment, but there's no need for it to remain a crippled one. People make the analogy of UEFI being the 21st century equivalent of DOS, yet DOS was a vastly more useful environment than UEFI is today.

Hopefully, one day this will grow into a veritable distribution of software to be productive even without a "real OS" around.

Other tools around the Web.

Building

Assuming you have EDK2 (http://www.tianocore.org/edk2/) all configured and capable of producing builds for your target architecture:

$ git clone --recursive https://github.com/andreiw/UefiToolsPkg.git
$ build -p UefiToolsPkg/UefiToolsPkg.dsc

To override architecture and/or toolchain:

$ build -p UefiToolsPkg/UefiToolsPkg.dsc -a PPC64
$ build -p UefiToolsPkg/UefiToolsPkg.dsc -a X64 -t GCC49

Utilities

NameDescriptionNotes
FdtDumpdump system device tree to storageREADME.md
AcpiDumpdump system ACPI tables to storageREADME.md
AcpiLoaderload system ACPI tables from storageREADME.md
ShellPlatVarsset UEFI Shell variables based on platform configurationREADME.md
ShellErrVarsset UEFI Shell variables to look up EFI RETURN_STATUS valuesREADME.md
ShellMapVarset %mapvar% with own current device mappingREADME.md
MemResvcreate new memory map entriesREADME.md
RangeIsMappedvalidates ranges in the memory mapREADME.md
GopToolcheck and manipulate EFI_GRAPHICS_OUTPUT_PROTOCOL instancesREADME.md
SetConcheck and manipulate console device variablesREADME.md
PciRomlist and save PCI ROM imagesREADME.md
tinyccport of TinyCC to UEFIREADME.md

UNIX Tools

NameDescriptionNotes
catPort of NetBSD catREADME.md
ddPort of NetBSD ddREADME.md
grepPort of NetBSD grepREADME.md
lsPort of NetBSD directory listerREADME.md
statPort of NetBSD statREADME.md

Libraries

NameDescriptionNotes
UtilsLibconsumed by the above utilitiesNone
SoftFloatLibport of SoftFloat-3d to UEFIREADME.md
FTSLibport of FTS(3) routines, file hierarchy traversalREADME.md
RegexLibport of REGEX(3) IEEE Std 1003.2-1992 regular expression routinesREADME.md
StdExtLibfixes and functionality on top of StdLibREADME.md

Drivers

WhatDescriptionPlatformNotes
QemuVideoDxeGOP driver for QEMUOVMF, ArmVirtPkgREADME.md

Development Tools

NameDescriptionNotes
gdb_uefi.pyload TianoCore symbols in gdbREADME.md

Contact Info

Andrei Warkentin (andrey.warkentin@gmail.com).