tree: 766683aa4f31389a16c07e7d940025e1ddc7f3ed [path history] [tgz]
  1. testdata/
  2. __init__.py
  3. bmpblk.py
  4. chroot.py
  5. commands.py
  6. common.py
  7. core.py
  8. crosfw.py
  9. edid.py
  10. fmap.py
  11. gooftool_unittest.py
  12. probe.py
  13. probe_unittest.py
  14. README.md
  15. report_upload.py
  16. vblock.py
  17. vpd_data.py
  18. wipe.py
py/gooftool/README.md

Google Factory Tool (gooftool)

Google Factory Tool (gooftool), is a standalone program to provide and support all Google required Chrome OS specific manufacturing flow, including:

  • Enable and check write protection.
  • Leave and check developer mode.
  • Wipe manufacturing data.
  • Verify hardware configuration and setup right Hardware ID (HWID).
  • Ensure ChromeOS image version, channel, and digital signing keys.
  • Sanity check Vital Product Data (VPD).

Since it is very specific to ChromeOS, gooftool may need to run on a pure test image without standard Chrome OS factory software environment and should not allow arbitrary modification. It is carefully designed that

  • gooftool should not use Factory Test or Device API.
  • gooftool may only import HWID, test environment and schema (rules), or shared utilities (cros.factory.utils).

For devices running station mode, gooftool is executed as PAR on DUT directly instead of using Device API.