Git Product home page Git Product logo

pawn's Introduction

Pawn BIOS Dumping Tool

Copyright 2014-2023 Google LLC.

Linux Build Status

Disclaimer: This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.

What is it?

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.

How to Build

Dependencies:

  • Linux on x86_64 (uses /dev/mem). FreeBSD might also work.
  • GCC >= 7 or Clang >= 7
  • CMake >= 3.14
  • Ninja or GNU Make

To build:

mkdir -p build && cmake -S . -B build
cmake --build build/

The resulting binary can be found in build/pawn/pawn.

Usage

The following command will extract the BIOS firmware and save the image to bios_image.bin:

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 iomem=relaxed boot option.

After extraction, you can then use other tools like UEFITool to process the firmware image further.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.