util/cse_serger: Add a new tool for stitching CSE components
This change adds a new tool `cse_serger` which can be used to print, dump and stitch together different components for the CSE region. BUG=b:189177186 Change-Id: I90dd809b47fd16afdc80e66431312721082496aa Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55503 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
@@ -13,7 +13,7 @@ VBOOT_SOURCE ?= $(top)/3rdparty/vboot
|
||||
VBOOT_HOST_BUILD ?= $(abspath $(objutil)/vboot_lib)
|
||||
|
||||
.PHONY: all
|
||||
all: cbfstool ifittool fmaptool rmodtool ifwitool cbfs-compression-tool elogtool cse_fpt
|
||||
all: cbfstool ifittool fmaptool rmodtool ifwitool cbfs-compression-tool elogtool cse_fpt cse_serger
|
||||
|
||||
cbfstool: $(objutil)/cbfstool/cbfstool
|
||||
|
||||
@@ -31,7 +31,9 @@ elogtool: $(objutil)/cbfstool/elogtool
|
||||
|
||||
cse_fpt: $(objutil)/cbfstool/cse_fpt
|
||||
|
||||
.PHONY: clean cbfstool ifittool fmaptool rmodtool ifwitool cbfs-compression-tool elogtool cse_fpt
|
||||
cse_serger: $(objutil)/cbfstool/cse_serger
|
||||
|
||||
.PHONY: clean cbfstool ifittool fmaptool rmodtool ifwitool cbfs-compression-tool elogtool cse_fpt cse_serger
|
||||
clean:
|
||||
$(RM) fmd_parser.c fmd_parser.h fmd_scanner.c fmd_scanner.h
|
||||
$(RM) $(objutil)/cbfstool/cbfstool $(cbfsobj)
|
||||
@@ -42,6 +44,7 @@ clean:
|
||||
$(RM) $(objutil)/cbfstool/cbfs-compression-tool $(cbfscompobj)
|
||||
$(RM) $(objutil)/cbfstool/elogtool $(elogobj)
|
||||
$(RM) $(objutil)/cbfstool/cse_fpt $(cse_fpt_obj)
|
||||
$(RM) $(objutil)/cbfstool/cse_serger $(cse_serger_obj)
|
||||
$(RM) -r $(VBOOT_HOST_BUILD)
|
||||
|
||||
linux_trampoline.c: linux_trampoline.S
|
||||
@@ -65,6 +68,7 @@ install: all
|
||||
$(INSTALL) cbfs-compression-tool $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) elogtool $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) cse_fpt $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) cse_serger $(DESTDIR)$(BINDIR)
|
||||
|
||||
distclean: clean
|
||||
|
||||
@@ -79,6 +83,7 @@ help:
|
||||
@echo " cbfs-compression-tool - benchmark compression algorithms"
|
||||
@echo " elogtool - Display ELOG events"
|
||||
@echo " cse_fpt - Manage Intel CSE Flash Partition Table (FPT)"
|
||||
@echo " cse_serger - Stitch Intel CSE components"
|
||||
|
||||
ifneq ($(V),1)
|
||||
.SILENT:
|
||||
|
Reference in New Issue
Block a user