Name Date Size #Lines LOC

..--

docs/H25-Apr-2025-219125

README.mdH A D25-Apr-20252.3 KiB13876

cmd_create.cH A D25-Apr-20259.6 KiB420332

cmd_dump_fmap.cH A D25-Apr-202514.5 KiB557461

cmd_dump_kernel_config.cH A D25-Apr-20251.9 KiB9871

cmd_flash_util.cH A D25-Apr-20257.7 KiB315255

cmd_gbb_utility.cH A D25-Apr-202517.8 KiB774673

cmd_gscvd.cH A D25-Apr-202537.1 KiB1,390867

cmd_load_fmap.cH A D25-Apr-20254.1 KiB193160

cmd_pcr.cH A D25-Apr-20253.2 KiB147124

cmd_read.cH A D25-Apr-20256.1 KiB265217

cmd_show.cH A D25-Apr-202523.3 KiB853720

cmd_sign.cH A D25-Apr-202535.5 KiB1,1691,036

cmd_update.cH A D25-Apr-20259.4 KiB342301

cmd_vbutil_firmware.cH A D25-Apr-202510.7 KiB422344

cmd_vbutil_kernel.cH A D25-Apr-202516.6 KiB652526

cmd_vbutil_key.cH A D25-Apr-20255.4 KiB235195

cmd_vbutil_keyblock.cH A D25-Apr-20258.7 KiB354299

dump_kernel_config_lib.cH A D25-Apr-20253.7 KiB147116

file_type.cH A D25-Apr-20253.7 KiB154119

file_type.hH A D25-Apr-20252.4 KiB7833

file_type.incH A D25-Apr-20252.5 KiB7977

file_type_bios.cH A D25-Apr-202517.1 KiB595467

file_type_bios.hH A D25-Apr-20251.7 KiB6740

file_type_rwsig.cH A D25-Apr-202511.6 KiB447329

file_type_usbpd1.cH A D25-Apr-202513.8 KiB487344

flash_helpers.cH A D25-Apr-20251.1 KiB5544

flash_helpers.hH A D25-Apr-2025709 248

futility.cH A D25-Apr-20255.2 KiB231175

futility.hH A D25-Apr-202510.5 KiB296112

futility_options.hH A D25-Apr-20251.8 KiB7458

futility_subtool.textprotoH A D25-Apr-2025281 1211

kernel_blob.hH A D25-Apr-20252 KiB6842

misc.cH A D25-Apr-202511 KiB455368

platform_csme.cH A D25-Apr-20256.7 KiB249147

platform_csme.hH A D25-Apr-2025778 238

updater.cH A D25-Apr-202554.1 KiB1,8831,337

updater.hH A D25-Apr-202511.2 KiB382208

updater_archive.cH A D25-Apr-202516.2 KiB686530

updater_dut.cH A D25-Apr-20254.4 KiB166128

updater_manifest.cH A D25-Apr-202522.8 KiB822577

updater_quirks.cH A D25-Apr-202518 KiB594391

updater_utils.cH A D25-Apr-202519 KiB708528

updater_utils.hH A D25-Apr-20257.6 KiB24993

vb1_helper.cH A D25-Apr-202524.6 KiB821609

vb1_helper.hH A D25-Apr-20252.2 KiB6838

vb2_helper.cH A D25-Apr-20256 KiB255200

README.md

1% FUTILITY(1) Version 1.0 | Unified Firmware Utility Program
2
3[TOC]
4
5NAME
6============
7
8**futility** - Futility is a unified firmware tool that provides a variety of
9firmware peripheral functions and subcommands.
10
11SYNOPSIS
12========
13
14- **futility** \[options] COMMAND \[args...]
15- **futility** **help** COMMAND
16
17DESCRIPTION
18===========
19
20This is the unified firmware utility, which contains various of distinct verified
21boot tools as subcommands.
22
23Options
24-------
25
26### Global Options:
27
28\--vb1
29
30:   Use only vboot v1.0 binary formats.
31
32\--vb21
33
34:   Use only vboot v2.1 binary formats.
35
36\--debug
37
38:   Be noisy about what's going on.
39
40
41### Commands
42
43create
44
45:   Create a keypair from an RSA .pem file.
46
47dump_fmap
48
49:   Display FMAP contents from a firmware image.
50
51dump_kernel_config
52
53:   Prints the kernel command line.
54
55flash
56
57:   Manage AP SPI flash properties and writeprotect configuration.
58
59gbb, gbb_utility
60
61:   Manipulate the Google Binary Block (GBB).
62    See [cmd_gbb_utility](./docs/cmd_gbb_utility.md) for detailed information.
63
64    Examples:
65
66        futility gbb --get $FILE
67        (dut) futility gbb --get --flash
68        (host) futility gbb --get --servo
69        (host) futility gbb --set --flags=$FLAGS --servo
70
71gscvd
72
73:   Create RO verification structure.
74
75help
76
77:   Show a bit of help.
78
79load_fmap
80
81:   Replace the contents of specified FMAP areas.
82
83pcr
84
85:   Simulate a TPM PCR extension operation.
86
87read
88
89:   Read AP firmware.
90
91    Examples:
92
93        (dut) futility read $IMG_OUT
94        (host) futility read --servo $IMG_OUT
95        (host) futility read --ccd_without_servod -r RO_VPD $IMG_OUT
96
97show
98
99:   Display the content of various binary components.
100
101sign
102
103:   Sign / resign various binary components.
104
105update
106
107:   Update system firmware.
108
109    Examples:
110
111        (dut) futility update -i $IMG
112        (host) futility update --wp 0 -i $IMG --servo
113        (host) futility update --force -i $IMG --servo
114
115vbutil_firmware
116
117:   Verified boot firmware utility.
118
119vbutil_kernel
120
121:   Creates, signs, and verifies the kernel partition.
122
123vbutil_key
124
125:   Wraps RSA keys with vboot headers.
126
127vbutil_keyblock
128
129:   Creates, signs, and verifies a keyblock.
130
131verify
132
133:   Verify the signatures of various binary components. This does not verify GSCVD contents.
134
135version
136
137:   Show the futility source revision and build date.
138