)]}'
{
  "commit": "229f5aab0d1c950414294f0adcb604549af7fd96",
  "tree": "344442d1296ff2016230d1e559db679a023d6d0c",
  "parents": [
    "57e830703714bace8c405c44faa4e7d31faeded3"
  ],
  "author": {
    "name": "Keith Short",
    "email": "keithshort@chromium.org",
    "time": "Wed Aug 06 19:37:24 2025"
  },
  "committer": {
    "name": "Chromeos LUCI",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Aug 26 22:15:25 2025"
  },
  "message": "scripts: Add script for patching config into RTK base firmware\n\nAdd a script \"rtk_fw_config\" that displays configuration values in human\nreadable form.\n\nOptionally, the script can patch in an entirely new configuration and\ngenerate a new firmware image, updated with a valid CRC.\n\nExample output:\nCurrent config for \u0027rts545x.bin\u0027:\nProject name        : GOOG0100\nVersion             : 1.83.1\nUSB VID:PID         : 18D1:5065\nPort config         : DUAL_PORT\nCRC32               : 0x1e26594c\n\nModified config for `rtk_out.bin`\nProject name        : GOOG0H00\nVersion             : 1.83.1\nUSB VID:PID         : 18D1:5075\nPort config         : PORTA_ONLY\nCRC32               : 0x661de336\n\nBUG\u003dnone\nTEST\u003dpython3 rtk_chgconf.py rts545x.bin \\\n    --config_file rts545xp_GOOG0H00.config.bin \\\n    --output_file rtk_out.bin\nTEST\u003dverify new firmware binary boots on Realtek PDC\n\nChange-Id: Ib98053524a92b8293ad5c50bbdb6b8fbc279b7c5\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/pdc/+/6825112\nCommit-Queue: Tristan Honscheid \u003chonscheid@google.com\u003e\nAuto-Submit: Keith Short \u003ckeithshort@chromium.org\u003e\nTested-by: Keith Short \u003ckeithshort@chromium.org\u003e\nReviewed-by: Tristan Honscheid \u003chonscheid@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "faa691ad7d78fc6a24c9d32203ba21d5b56066a9",
      "old_mode": 33188,
      "old_path": "scripts/pdclib/rtk_constants.py",
      "new_id": "4daa5e940fedb1329486f638fea50b978863eac0",
      "new_mode": 33188,
      "new_path": "scripts/pdclib/rtk_constants.py"
    },
    {
      "type": "modify",
      "old_id": "b4fc34e70b877eb5aaa12f53dc8b4b6f8180df0b",
      "old_mode": 33188,
      "old_path": "scripts/pdclib/rtk_utils.py",
      "new_id": "99778b782ae5469abbdf920069cf5d573c2c4583",
      "new_mode": 33188,
      "new_path": "scripts/pdclib/rtk_utils.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c14de892d4b9794ca4358ab6c4564853fd780c57",
      "new_mode": 33188,
      "new_path": "scripts/rtk_fw_config.py"
    }
  ]
}
