)]}'
{
  "commit": "2955db3c48bd683c2f73ef535b5e2bdb9c73f1fb",
  "tree": "fdf972e781b9f41ac2c9181f47968a2d6bb7f254",
  "parents": [
    "4134ab60ea706a0ac81731193868136f744fa0cb"
  ],
  "author": {
    "name": "Yu-Ping Wu",
    "email": "yupingso@chromium.org",
    "time": "Tue Mar 11 15:50:14 2025 +0800"
  },
  "committer": {
    "name": "Chromeos LUCI",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Mar 14 04:04:55 2025 -0700"
  },
  "message": "futility: dump_fmap: Fix gap calculation\n\nWhen fmap_base is non-zero, `futility dump_fmap -H` shows the addresses\nrelative to fmap_base, except that the \"-entire flash-\" line contains\nabsolute addresses. The problem also results in incorrect calculation of\nthe gap sizes.\n\nFix the problem by always showing the relative addresses.\n\nCurrent output:\n\n name          start       end         size\n -entire flash-  10090000    10110000    00080000\n                   00070000    10110000    100a0000  // gap in -entire flash-\n\nFixed output:\n\n name          start       end         size  // address relative to base\u003d0x1009000\n -entire flash-  00000000    00080000    00080000\n                   00070000    10110000    100a0000  // gap in -entire flash-\n\nBUG\u003dnone\nTEST\u003dmake futil -j\nTEST\u003dfutility dump_fmap -H ec.bin\nBRANCH\u003dnone\n\nChange-Id: Ifc164e7ff50bc3688e53518a280d309094f4152d\nSigned-off-by: Yu-Ping Wu \u003cyupingso@chromium.org\u003e\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/6342833\nReviewed-by: Julius Werner \u003cjwerner@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dcb77dabf0a168a79b285b644725fbd974ba4cda",
      "old_mode": 33188,
      "old_path": "futility/cmd_dump_fmap.c",
      "new_id": "2abc6911de1487cae9acf6fb865a48966719d562",
      "new_mode": 33188,
      "new_path": "futility/cmd_dump_fmap.c"
    },
    {
      "type": "modify",
      "old_id": "acbb676baa2edff2f34835e2e3d9d1cf14e89989",
      "old_mode": 33188,
      "old_path": "tests/futility/data_fmap2_expect_hh.txt",
      "new_id": "f7dcfb7135de40db36598747d745e2e78ec0fdfc",
      "new_mode": 33188,
      "new_path": "tests/futility/data_fmap2_expect_hh.txt"
    },
    {
      "type": "modify",
      "old_id": "e95a7b1bb5295720d7c951f225fb4395a54936e8",
      "old_mode": 33188,
      "old_path": "tests/futility/data_fmap2_expect_hhH.txt",
      "new_id": "907248ab9e7229f5e848a066020c5f4ab7e0b707",
      "new_mode": 33188,
      "new_path": "tests/futility/data_fmap2_expect_hhH.txt"
    },
    {
      "type": "modify",
      "old_id": "fe31c1edc78a2c24c2cb892242454f113bc9f6e2",
      "old_mode": 33188,
      "old_path": "tests/futility/data_fmap_expect_h.txt",
      "new_id": "9ab6acf88dbed4cfdea23d7def1efc7b50a8ad37",
      "new_mode": 33188,
      "new_path": "tests/futility/data_fmap_expect_h.txt"
    }
  ]
}
