summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2021-04-28 16:50:21 +0800
committerCommit Bot <commit-bot@chromium.org>2021-09-24 12:25:24 +0000
commit13f601fbd4c1b128f333391e4552082594f0ff25 (patch)
tree4ae29d731f370835f790e8a571cc13d9c5e3025b /Makefile
parent8aded7005e2830f54cf53b329946cbb1f11548f2 (diff)
downloadvboot-13f601fbd4c1b128f333391e4552082594f0ff25.tar.gz
vboot: boot from miniOS recovery kernels on diskstabilize-14249.B
Add VbTryLoadMiniOsKernel() to vboot API, which boots from a miniOS recovery kernel located on internal disk. In this boot path, an attempt is made to verify and boot this kernel. Recovery proceeds from within the miniOS kernel by downloading a recovery image over the network. No USB disk is used in the process. For more information, see go/nbr-firmware. BUG=b:188121855, b:186682292 TEST=make clean && make runtests BRANCH=none Change-Id: Ic4d1fe5642a2bf71c51c78fd7830ad2b6e9eebeb Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2856364 Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 70ef346e..82d6a44a 100644
--- a/Makefile
+++ b/Makefile
@@ -710,6 +710,7 @@ TEST_NAMES = \
tests/vboot_api_kernel4_tests \
tests/vboot_api_kernel_tests \
tests/vboot_kernel_tests \
+ tests/vboot_kernel2_tests \
tests/verify_kernel
ifeq (${MOCK_TPM}${TPM2_MODE},)
@@ -1267,6 +1268,7 @@ endif
${RUNTEST} ${BUILD_RUN}/tests/vboot_api_kernel4_tests
${RUNTEST} ${BUILD_RUN}/tests/vboot_api_kernel_tests
${RUNTEST} ${BUILD_RUN}/tests/vboot_kernel_tests
+ ${RUNTEST} ${BUILD_RUN}/tests/vboot_kernel2_tests
.PHONY: run2tests
run2tests: install_for_test