Copyright 2014-2023 Google LLC.
Disclaimer: This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.
Pawn is a tool to extract the BIOS firmware from Intel-based workstations and laptops. The name is a play on an internal tool that is also named after a chess piece.
/dev/mem). FreeBSD might also work.
mkdir -p build && cmake -S . -B build cmake --build build/
The resulting binary can be found in
The following command will extract the BIOS firmware and save the image to
sudo build/pawn/pawn bios_image.bin
Note: When running a Linux kernel > 4.8.4, make sure that either
CONFIG_IO_DEVMEM=n is set or that you've booted with the
After extraction, you can then use other tools like UEFITool to process the firmware image further.