diff options
author | Nicola Corna <nicola@corna.info> | 2017-03-10 11:27:39 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-19 21:37:57 +0100 |
commit | 16719ad143e823a3cdab8ebde3b599488d861331 (patch) | |
tree | 3a4d4f4c460c5d30b4808fe09c3a6cd164ab09ec /src/southbridge/intel/common/firmware/Makefile.inc | |
parent | 8e079000dc606e4d54d36051173710f4186443c2 (diff) |
sb/intel/common/firmware: Add Intel ME/TXE firmware check
Ensure that the provided ME/TXE firmware is valid, using the
check capabilities of me_cleaner.
me_cleaner checks that the fundamental partition is available and
it has a correct signature. The checks performed by me_cleaner
aren't exhaustive, but they should find at least whether the user
has provided an empty or corrupted firmware.
me_cleaner has been tested on all the ME (6-11.6) and TXE (1-3)
firmwares available here [1], and it hasn't reported any false
positive.
[1] http://www.win-raid.com/t832f39-Intel-Engine-Firmware-Repositories.html
Change-Id: Ie6ea3b4e637dca4097b9377bd0507e84c4e8f687
Signed-off-by: Nicola Corna <nicola@corna.info>
Reviewed-on: https://review.coreboot.org/18768
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Diffstat (limited to 'src/southbridge/intel/common/firmware/Makefile.inc')
-rw-r--r-- | src/southbridge/intel/common/firmware/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/southbridge/intel/common/firmware/Makefile.inc b/src/southbridge/intel/common/firmware/Makefile.inc index 98a36d3b81..eb4c07e91d 100644 --- a/src/southbridge/intel/common/firmware/Makefile.inc +++ b/src/southbridge/intel/common/firmware/Makefile.inc @@ -58,6 +58,9 @@ ifeq ($(CONFIG_HAVE_ME_BIN),y) $(obj)/coreboot.pre mv $(obj)/coreboot.pre.new $(obj)/coreboot.pre endif +ifeq ($(CONFIG_CHECK_ME),y) + util/me_cleaner/me_cleaner.py -c $(obj)/coreboot.pre > /dev/null +endif ifeq ($(CONFIG_USE_ME_CLEANER),y) printf " ME_CLEANER coreboot.pre\n" util/me_cleaner/me_cleaner.py $(obj)/coreboot.pre > \ |