Skip to content

Commit

Permalink
Build separate boot containers for SBL
Browse files Browse the repository at this point in the history
Create boot container separately for boot from multiple containers
in SBL. This is controlled by "acrn" option.

Tracked-On: OAM-112552
Signed-off-by: Jiaqing Zhao <[email protected]>
  • Loading branch information
jiaqingz-intel committed Oct 24, 2023
1 parent 9489d80 commit 7bd0d65
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/definitions.mk
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ if [ $(findstring kf4sbl,$(PRIVATE_MODULE) ) ]; then \
python3 $(INTEL_PATH_BUILD)/containertool/GenContainer.py create -t MULTIBOOT \
-cl CMD1:$(SBL_DIR)/cmdline-acrn ELF1:$(SBL_DIR)/acrn.32.out CMD2:$(SBL_DIR)/cmdline-kf ELF2:$@ \
-k $(INTEL_PATH_BUILD)/testkeys/OS1_TestKey_Priv_RSA3072.pem -o $(PRODUCT_OUT)/sbl_acrn; \
python3 $(INTEL_PATH_BUILD)/containertool/GenContainer.py create -t MULTIBOOT \
-cl CMD1:$(SBL_DIR)/cmdline-acrn ELF1:$(SBL_DIR)/acrn.32.out \
-k $(INTEL_PATH_BUILD)/testkeys/OS1_TestKey_Priv_RSA3072.pem -o $(PRODUCT_OUT)/sbl_mod_acrn; \
python3 $(INTEL_PATH_BUILD)/containertool/GenContainer.py create -t MULTIBOOT_MODULE \
-cl CMD2:$(SBL_DIR)/cmdline-kf ELF2:$@ \
-k $(INTEL_PATH_BUILD)/testkeys/OS1_TestKey_Priv_RSA3072.pem -o $(PRODUCT_OUT)/sbl_mod_kf; \
fi \
fi

Expand Down

0 comments on commit 7bd0d65

Please sign in to comment.