tree: dd70b3c641954790ef993c76cf2cd99e85a4d817 [path history] [tgz]
  1. README.md
  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. report_upload.py
  15. testdata/
  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.