util/: Replace GPLv2 boiler plate with SPDX header
[coreboot.git] / util / chromeos / README.md
blob964c6c5a765da463a4c053a41a94919b6810d562
1 # Chrome OS Scripts
3 These scripts can be used to access or generate Chrome OS resources, for example
4 to extract System Agent reference code and other blobs (e.g. `mrc.bin`, refcode,
5 VGA option roms) from a Chrome OS recovery image.
7 ## crosfirmware.sh
9 `crosfirmware.sh` downloads a Chrome OS recovery image from the recovery
10 image server, unpacks it, extracts the firmware update shell archive,
11 extracts the firmware images from the shell archive.
13 To download all Chrome OS firmware images, run
15     $ ./crosfirmware.sh
18 To download, e.g. the Panther firmware image, run
20     $ ./crosfirmware.sh panther
22 ## extract_blobs.sh
24 `extract_blobs.sh` extracts the blobs from a Chrome OS firmware image.
26 Right now it will produce the ME firmware blob, IFD, VGA option rom,
27 and `mrc.bin`.
29 ## gen_test_hwid.sh
31 `gen_test_hwid.sh` generates a test-only identifier in Chrome OS HWID v2
32 compatible format.
34 Usage:
36     $ ./gen_test_hwid.sh BOARD_NAME
38 Example:
40     $ ./gen_test_hwid.sh Kukui
41     KUKUI TEST 9847