1# ChromeOS Scripts 2 3These scripts can be used to access or generate ChromeOS resources, for example 4to extract System Agent reference code and other blobs (e.g. `mrc.bin`, refcode, 5VGA option roms) from a ChromeOS recovery image. 6 7## crosfirmware.sh 8 9`crosfirmware.sh` downloads a ChromeOS recovery image from the recovery 10image server, unpacks it, extracts the firmware update shell archive, 11extracts the firmware images from the shell archive. 12 13To download all ChromeOS firmware images, run 14 15 $ ./crosfirmware.sh 16 17 18To download, e.g. the Panther firmware image, run 19 20 $ ./crosfirmware.sh panther 21 22## extract_blobs.sh 23 24`extract_blobs.sh` extracts the blobs from a ChromeOS firmware image. 25 26Right now it will produce the ME firmware blob, IFD, VGA option rom, 27and `mrc.bin`. 28 29## gen_test_hwid.sh 30 31`gen_test_hwid.sh` generates a test-only identifier in ChromeOS HWID v2 32compatible format. 33 34Usage: 35 36 $ ./gen_test_hwid.sh BOARD_NAME 37 38Example: 39 40 $ ./gen_test_hwid.sh Kukui 41 KUKUI TEST 9847 42