tree: e2cc336e790e69b5c5d7582b0d1bac9f030fdd42 [path history] [tgz]
  1. docs/
  2. cmd_create.c
  3. cmd_dump_fmap.c
  4. cmd_dump_kernel_config.c
  5. cmd_flash_util.c
  6. cmd_gbb_utility.c
  7. cmd_gscvd.c
  8. cmd_load_fmap.c
  9. cmd_pcr.c
  10. cmd_read.c
  11. cmd_show.c
  12. cmd_sign.c
  13. cmd_update.c
  14. cmd_vbutil_firmware.c
  15. cmd_vbutil_kernel.c
  16. cmd_vbutil_key.c
  17. cmd_vbutil_keyblock.c
  18. dump_kernel_config_lib.c
  19. file_type.c
  20. file_type.h
  21. file_type.inc
  22. file_type_bios.c
  23. file_type_bios.h
  24. file_type_rwsig.c
  25. file_type_usbpd1.c
  26. flash_helpers.c
  27. flash_helpers.h
  28. futility.c
  29. futility.h
  30. futility_options.h
  31. futility_subtool.textproto
  32. kernel_blob.h
  33. misc.c
  34. platform_csme.c
  35. platform_csme.h
  36. README.md
  37. updater.c
  38. updater.h
  39. updater_archive.c
  40. updater_dut.c
  41. updater_manifest.c
  42. updater_quirks.c
  43. updater_utils.c
  44. updater_utils.h
  45. vb1_helper.c
  46. vb1_helper.h
  47. vb2_helper.c
futility/README.md

% FUTILITY(1) Version 1.0 | Unified Firmware Utility Program

NAME

futility - Futility is a unified firmware tool that provides a variety of firmware peripheral functions and subcommands.

SYNOPSIS

  • futility [options] COMMAND [args...]
  • futility help COMMAND

DESCRIPTION

This is the unified firmware utility, which contains various of distinct verified boot tools as subcommands.

Options

Global Options:

--vb1

: Use only vboot v1.0 binary formats.

--vb21

: Use only vboot v2.1 binary formats.

--debug

: Be noisy about what's going on.

Commands

create

: Create a keypair from an RSA .pem file.

dump_fmap

: Display FMAP contents from a firmware image.

dump_kernel_config

: Prints the kernel command line.

flash

: Manage AP SPI flash properties and writeprotect configuration.

gbb, gbb_utility

: Manipulate the Google Binary Block (GBB). See cmd_gbb_utility for detailed information.

Examples:

    futility gbb --get $FILE
    (dut) futility gbb --get --flash
    (host) futility gbb --get --servo
    (host) futility gbb --set --flags=$FLAGS --servo

gscvd

: Create RO verification structure.

help

: Show a bit of help.

load_fmap

: Replace the contents of specified FMAP areas.

pcr

: Simulate a TPM PCR extension operation.

read

: Read AP firmware.

Examples:

    (dut) futility read $IMG_OUT
    (host) futility read --servo $IMG_OUT
    (host) futility read --ccd_without_servod -r RO_VPD $IMG_OUT

show

: Display the content of various binary components.

sign

: Sign / resign various binary components.

update

: Update system firmware.

Examples:

    (dut) futility update -i $IMG
    (host) futility update --wp 0 -i $IMG --servo
    (host) futility update --force -i $IMG --servo

vbutil_firmware

: Verified boot firmware utility.

vbutil_kernel

: Creates, signs, and verifies the kernel partition.

vbutil_key

: Wraps RSA keys with vboot headers.

vbutil_keyblock

: Creates, signs, and verifies a keyblock.

verify

: Verify the signatures of various binary components. This does not verify GSCVD contents.

version

: Show the futility source revision and build date.