From 8101b7131651e344807d2bd0ec77542b3196a653 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Tue, 8 May 2012 14:34:03 -0700 Subject: Enable verified boot for EC firmware BUG=chrome-os-partner:7459 TEST=manual In the chroot: cd src/platform/ec make BOARD=link The firmware image (build/link/ec.bin) is signed with dev-keys. Reflash the EC and try it, and it should verify and reboot into RW A. Additional tests (setting USE_RO_NORMAL, poking random values into VBLOCK_A or FW_MAIN_A to force RW B to run, etc.) are left as an exercise for the reader. I've done them and they work, though. Change-Id: I29a23ea69aef02a11aebd4af3b043f6864723523 Signed-off-by: Bill Richardson --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 998009a3cd..ee86da1881 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,8 @@ include common/build.mk include test/build.mk include util/build.mk +includes+=$(includes-y) + objs_from_dir=$(foreach obj,$(2), $(out)/$(1)/$(obj)) # Get all sources to build @@ -47,6 +49,7 @@ all-y+=$(call objs_from_dir,board/$(BOARD),$(board-y)) all-y+=$(call objs_from_dir,private,$(private-y)) all-y+=$(call objs_from_dir,common,$(common-y)) all-y+=$(call objs_from_dir,test,$($(PROJECT)-y)) +all-y+=$(call objs_from_dir,vboot,$(vboot-y)) dirs=core/$(CORE) chip/$(CHIP) board/$(BOARD) private common test util include Makefile.rules -- cgit v1.2.1