coreboot-kgpe-d16/util
Shawn Nematbakhsh d2cb11811c ifdtool: Properly set + decode flmstr regs for IFD v2
flmstr register bits have slightly different meaning for IFD v2.

BUG=chrome-os-partner:45091, chrome-os-partner:43461
TEST=Run `ifdtool -d image.bin` on IFD v1 locked squawks image:

Found Master Section
FLMSTR1:   0x0a0b0000 (Host CPU/BIOS)
  Platform Data Region Write Access: disabled
  GbE Region Write Access:           enabled
  Intel ME Region Write Access:      disabled
  Host CPU/BIOS Region Write Access: enabled
  Flash Descriptor Write Access:     disabled
  Platform Data Region Read Access:  disabled
  GbE Region Read Access:            enabled
  Intel ME Region Read Access:       disabled
  Host CPU/BIOS Region Read Access:  enabled
  Flash Descriptor Read Access:      enabled
  Requester ID:                      0x0000

FLMSTR2:   0x0c0d0000 (Intel ME)
  Platform Data Region Write Access: disabled
  GbE Region Write Access:           enabled
  Intel ME Region Write Access:      enabled
  Host CPU/BIOS Region Write Access: disabled
  Flash Descriptor Write Access:     disabled
  Platform Data Region Read Access:  disabled
  GbE Region Read Access:            enabled
  Intel ME Region Read Access:       enabled
  Host CPU/BIOS Region Read Access:  disabled
  Flash Descriptor Read Access:      enabled
  Requester ID:                      0x0000

FLMSTR3:   0x08080118 (GbE)
  Platform Data Region Write Access: disabled
  GbE Region Write Access:           enabled
  Intel ME Region Write Access:      disabled
  Host CPU/BIOS Region Write Access: disabled
  Flash Descriptor Write Access:     disabled
  Platform Data Region Read Access:  disabled
  GbE Region Read Access:            enabled
  Intel ME Region Read Access:       disabled
  Host CPU/BIOS Region Read Access:  disabled
  Flash Descriptor Read Access:      disabled
  Requester ID:                      0x0118

Then, run `ifdtool -l image.bin` and verify newly locked image is identical.
Next, run `ifdtool -l image.bin` on unlocked glados image. Verify that locked
and unlocked regions are identical to above.
Finally, burn glados image, run `flashrom -V`, and verify ME regions is
locked and descriptor region is RO.
BRANCH=None

Change-Id: I8a65bdc5edd0d888138b88c1189f8badd1404b64
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 11c434835a66a50ab2c0c01a084edc96cbe052da
Original-Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Original-Change-Id: I875dfce6f5cf57831714702872bfe636f8f953f4
Original-Reviewed-on: https://chromium-review.googlesource.com/298968
Original-Commit-Ready: Shawn N <shawnn@chromium.org>
Original-Tested-by: Shawn N <shawnn@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11658
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-09-17 14:17:31 +00:00
..
abuild abuild: don't complain about missing junit reports for skipped boards 2015-09-16 07:43:55 +00:00
acpi Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
amdtools Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
arm_boot_tools/mksunxiboot
autoport autoport: Include 'default_irq_route.asl' into DSDT 2015-06-24 02:02:48 +02:00
bimgtool bimgtool: initialize data header 2015-06-12 23:16:01 +02:00
board_status board-status: move board status back to $TMPDIR 2015-08-13 08:30:36 +02:00
broadcom secimage: Use libz's crc32 function 2015-08-09 12:34:24 +02:00
cbfstool cbfstool: deduplicate Makefiles 2015-09-17 07:41:02 +00:00
cbmem util/cbmem: add -T option for machine parseable timestamps 2015-08-31 13:58:02 +00:00
crossgcc crossgcc: Preparations for building Ada frontend 2015-09-10 09:17:08 +00:00
dtd_parser Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
ectool util/ectool: don't dump the whole ram when writing to it 2015-07-06 23:11:03 +02:00
exynos
fletcher
genbuild_h genbuild_h: Add Mac OS to case of "data -r" 2015-09-10 02:14:04 +00:00
genprof
gitconfig gitconfig/rebase.sh: adapt default branch name 2015-08-28 18:41:21 +00:00
ifdfake Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
ifdtool ifdtool: Properly set + decode flmstr regs for IFD v2 2015-09-17 14:17:31 +00:00
inteltool inteltool: Add Intel 4-Series chipset detection 2015-08-30 18:05:18 +00:00
intelvbttool VBT parser. 2015-05-25 18:19:51 +02:00
ipqheader Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
k8resdump Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
kconfig util/kconfig: add olddefconfig target 2015-08-25 15:40:12 +00:00
lint lint/gitconfig: Enable checkpatch.pl checking of commits 2015-07-17 18:42:50 +02:00
msrtool Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
nvidia nvidia/cbootimage: update to 1.5 2015-04-25 12:16:58 +02:00
nvramtool Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
optionlist Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
release release: add release script 2015-07-16 17:40:42 +02:00
rockchip add make_idb.py & update bootblock 2015-03-24 15:24:52 +01:00
romcc Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
sconfig Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
scripts util/scripts: add some support scripts 2015-06-30 08:24:38 +02:00
showdevicetree Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
spkmodem_recv
superiotool Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
uio_usbdebug Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
vgabios Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
viatool Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
xcompile arm64: xcompile: Add support for A53 erratum 843419 2015-08-28 06:46:09 +00:00