Attention is currently required from: Jason Glenesk, Raul Rangel, Matt DeVillier, Fred Reitberger, Felix Held.
Karthik Ramasubramanian has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/71211 )
Change subject: soc/amd/mendocino: Pass option about compression status of BIOS ......................................................................
soc/amd/mendocino: Pass option about compression status of BIOS
When CBFS verification is enabled and verified boot starts in bootblock, PSP BIOS binary is uncompressed. This is done to accommodate metadata hash anchor in bootblock so that the anchor can be updated when files are added to CBFS during build time. Pass option to indicate that PSP BIOS binary is uncompressed under such scenarios.
BUG=b:261792282 TEST=Build Skyrim BIOS image with CBFS verification and x86 verstage enabled. Boot to OS.
Change-Id: Ice2e935c7e137a305f6ed4bede91d3d0ba4ca6c7 Signed-off-by: Karthikeyan Ramasubramanian kramasub@google.com --- M src/soc/amd/mendocino/Makefile.inc 1 file changed, 24 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/71211/1
diff --git a/src/soc/amd/mendocino/Makefile.inc b/src/soc/amd/mendocino/Makefile.inc index ab709e6..f6b1785 100644 --- a/src/soc/amd/mendocino/Makefile.inc +++ b/src/soc/amd/mendocino/Makefile.inc @@ -197,6 +197,9 @@ OPT_PSP_BIOSBIN_FILE=$(call add_opt_prefix, $(PSP_BIOSBIN_FILE), --bios-bin) OPT_PSP_BIOSBIN_DEST=$(call add_opt_prefix, $(PSP_BIOSBIN_DEST), --bios-bin-dest) OPT_PSP_BIOSBIN_SIZE=$(call add_opt_prefix, $(PSP_BIOSBIN_SIZE), --bios-uncomp-size) +ifeq ($(CONFIG_CBFS_VERIFICATION)$(CONFIG_VBOOT_STARTS_IN_BOOTBLOCK),yy) +OPT_PSP_BIOSBIN_UNCOMP="--bios-bin-uncomp" +endif
OPT_PSP_SHAREDMEM_BASE=$(call add_opt_prefix, $(PSP_SHAREDMEM_BASE), --sharedmem) OPT_PSP_SHAREDMEM_SIZE=$(call add_opt_prefix, $(PSP_SHAREDMEM_SIZE), --sharedmem-size) @@ -225,6 +228,7 @@ $(OPT_PSP_BIOSBIN_FILE) \ $(OPT_PSP_BIOSBIN_DEST) \ $(OPT_PSP_BIOSBIN_SIZE) \ + $(OPT_PSP_BIOSBIN_UNCOMP) \ $(OPT_PSP_SOFTFUSE) \ $(OPT_PSP_LOAD_MP2_FW) \ --use-pspsecureos \