coreboot-kgpe-d16/util/chromeos
Mete Balci 63cdea2b2d util/chromeos: Add unzip as a dependency
unzip might not be installed by default, so it is added as a
dependency in crosfirmware script.

Change-Id: I420067b3e8ed26e6a7dccb863aae1272a3c7acbc
Signed-off-by: Mete Balci <metebalci@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31821
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2020-03-03 12:06:44 +00:00
..
README.md util/chromeos: Indent code blocks instead of using ``` 2019-11-19 13:28:25 +00:00
crosfirmware.sh util/chromeos: Add unzip as a dependency 2020-03-03 12:06:44 +00:00
description.md util/chromeos: revise description for more utility scripts in future 2019-09-30 11:09:22 +00:00
extract_blobs.sh treewide: use /usr/bin/env where appropriate 2018-11-17 07:32:03 +00:00
gen_test_hwid.sh vboot: create board-specific test-only GBB HWID if not set 2019-09-30 11:33:20 +00:00

README.md

Chrome OS Scripts

These scripts can be used to access or generate Chrome OS resources, for example to extract System Agent reference code and other blobs (e.g. mrc.bin, refcode, VGA option roms) from a Chrome OS recovery image.

crosfirmware.sh

crosfirmware.sh downloads a Chrome OS recovery image from the recovery image server, unpacks it, extracts the firmware update shell archive, extracts the firmware images from the shell archive.

To download all Chrome OS firmware images, run

$ ./crosfirmware.sh

To download, e.g. the Panther firmware image, run

$ ./crosfirmware.sh panther

extract_blobs.sh

extract_blobs.sh extracts the blobs from a Chrome OS firmware image.

Right now it will produce the ME firmware blob, IFD, VGA option rom, and mrc.bin.

gen_test_hwid.sh

gen_test_hwid.sh generates a test-only identifier in Chrome OS HWID v2 compatible format.

Usage:

$ ./gen_test_hwid.sh BOARD_NAME

Example:

$ ./gen_test_hwid.sh Kukui
KUKUI TEST 9847