)]}'
{
  "commit": "fb25edf13402ef3be8935c7d3dc1416efff49c5b",
  "tree": "c825a3116e75b3c782917c853f24721c645284f3",
  "parents": [
    "e1db52ef9282486117247d178af184e2641904c8"
  ],
  "author": {
    "name": "Vadim Bendebury",
    "email": "vbendeb@google.com",
    "time": "Thu Dec 03 11:19:09 2020 -0800"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Fri Dec 11 21:06:50 2020 +0000"
  },
  "message": "sign_gsc_firmware: refactor and extend to support D2\n\nThe major difference between Cr50 and Ti50 signing is that the RW\nsections are represented differently: elf files in Cr50 case and ihex\nfiles in Ti50 case.\n\nOther differences include the produced signed final image size and the\noffsets of the components in the final image.\n\nThe signing script is being updated to figure out all these\ndifferences at run time. A new optional field is introduced in the\nsigning manifest, the \u0027generation\u0027. If this field is absent or set to\n\u0027h\u0027 (for H1), the script proceeds with the Cr50 signing process. If\n\u0027generation\u0027 is set to \u0027d\u0027 (for D2), the script proceeds with the Ti50\nsigning process.\n\nInstead of using fixed offsets into the final image, the base\naddresses of the components in ihex format are used, the only fixed\nvalue is the base address of the flash image in the chip address space\n(0x40000 for H1 vs 0x80000 for D2).\n\nTo make this work for H1 the output format of the signed blob produced\nby gsc-codesigner is changed from binary to ihex.\n\nBRANCH\u003dnone\nBUG\u003db:173049030\nTEST\u003dusing this script and the signing_istructions.sh module produced\n     by the real Cr50 signer was able to produce functional images for\n     both Cr50 and Ti50.\n\nChange-Id: I845be1101b09c9476fa27fbddb72607dc6cea901\nSigned-off-by: Vadim Bendebury \u003cvbendeb@google.com\u003e\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2570009\nTested-by: Vadim Bendebury \u003cvbendeb@chromium.org\u003e\nReviewed-by: George Engelbrecht \u003cengeg@google.com\u003e\nAuto-Submit: Vadim Bendebury \u003cvbendeb@chromium.org\u003e\nCommit-Queue: Vadim Bendebury \u003cvbendeb@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a464b9b1beeee3a25a9d45bbd87a3f2d0efb95fe",
      "old_mode": 33261,
      "old_path": "scripts/image_signing/sign_gsc_firmware.sh",
      "new_id": "30e27950f7489bb73515ee3e3ce0706c0b2151b2",
      "new_mode": 33261,
      "new_path": "scripts/image_signing/sign_gsc_firmware.sh"
    }
  ]
}
