<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/coreboot/vboot.git/tests, branch stabilize-14998.B</title>
<subtitle>review.coreboot.org: vboot.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/'/>
<entry>
<title>futility: Add --keyset option to sign command for BIOS and kernel</title>
<updated>2022-07-22T07:46:32+00:00</updated>
<author>
<name>Jakub Czapiga</name>
<email>jacz@semihalf.com</email>
</author>
<published>2022-07-04T10:34:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=64dd01225f64d6745a008d91fba3fcac2f1920bd'/>
<id>64dd01225f64d6745a008d91fba3fcac2f1920bd</id>
<content type='text'>
This patch adds --keyset option for sign command for BIOS_IMAGE,
RAW_FIRMWARE, RAW_KERNEL and KERN_PREAMBLE file types. The default value
of this option is '/usr/share/vboot/devkeys'. It allows futility to load
public and private keys, and keyblocks from under this path, when they
were not provided manually using their respective options.

Files loaded by default for BIOS_IMAGE and RAW_FIRMWARE:
- ${keysetdir}/firmware_data_key.vbprivk
- ${keysetdir}/firmware.keyblock
- ${keysetdir}/kernel_subkey.vbpubk

Files loaded by default for RAW_KERNEL:
- ${keysetdir}/kernel_data_key.vbprivk
- ${keysetdir}/kernel.keyblock

File loaded by default for KERN_PREAMBLE:
- ${keysetdir}/kernel_data_key.vbprivk

BUG=none
BRANCH=none
TEST=make runfutiltests

Signed-off-by: Jakub Czapiga &lt;jacz@semihalf.com&gt;
Change-Id: Ic4026d501d88e0de7d2c6f52c7494c639d08bd15
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3740601
Auto-Submit: Jakub Czapiga &lt;czapiga@google.com&gt;
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Commit-Queue: Julius Werner &lt;jwerner@chromium.org&gt;
Tested-by: Jakub Czapiga &lt;czapiga@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds --keyset option for sign command for BIOS_IMAGE,
RAW_FIRMWARE, RAW_KERNEL and KERN_PREAMBLE file types. The default value
of this option is '/usr/share/vboot/devkeys'. It allows futility to load
public and private keys, and keyblocks from under this path, when they
were not provided manually using their respective options.

Files loaded by default for BIOS_IMAGE and RAW_FIRMWARE:
- ${keysetdir}/firmware_data_key.vbprivk
- ${keysetdir}/firmware.keyblock
- ${keysetdir}/kernel_subkey.vbpubk

Files loaded by default for RAW_KERNEL:
- ${keysetdir}/kernel_data_key.vbprivk
- ${keysetdir}/kernel.keyblock

File loaded by default for KERN_PREAMBLE:
- ${keysetdir}/kernel_data_key.vbprivk

BUG=none
BRANCH=none
TEST=make runfutiltests

Signed-off-by: Jakub Czapiga &lt;jacz@semihalf.com&gt;
Change-Id: Ic4026d501d88e0de7d2c6f52c7494c639d08bd15
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3740601
Auto-Submit: Jakub Czapiga &lt;czapiga@google.com&gt;
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Commit-Queue: Julius Werner &lt;jwerner@chromium.org&gt;
Tested-by: Jakub Czapiga &lt;czapiga@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>2kernel.c: check display request in vb2api_kernel_phase2</title>
<updated>2022-07-15T07:11:44+00:00</updated>
<author>
<name>Hsin-Te Yuan</name>
<email>yuanhsinte@google.com</email>
</author>
<published>2022-07-08T08:55:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=a975eed306e16947c30b48ccd25ab67a37295742'/>
<id>a975eed306e16947c30b48ccd25ab67a37295742</id>
<content type='text'>
In preparation for moving VbTryLoadKernel to depthcharge, move the
VB2_NV_DISPLAY_REQUEST check from vb2api_normal_boot to
vb2api_kernel_phase2.

BUG=b:172339016
BRANCH=none
TEST=make runtests

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I3629d8dbbcaba23220152543ba77558c8bbcdc7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3752431
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In preparation for moving VbTryLoadKernel to depthcharge, move the
VB2_NV_DISPLAY_REQUEST check from vb2api_normal_boot to
vb2api_kernel_phase2.

BUG=b:172339016
BRANCH=none
TEST=make runtests

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I3629d8dbbcaba23220152543ba77558c8bbcdc7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3752431
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/common/boot_mode.c: Introduce SET_BOOT_MODE</title>
<updated>2022-07-15T07:11:42+00:00</updated>
<author>
<name>Hsin-Te Yuan</name>
<email>yuanhsinte@google.com</email>
</author>
<published>2022-07-07T08:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=b68529526ab82d1da99b58155620beaa8aa3f487'/>
<id>b68529526ab82d1da99b58155620beaa8aa3f487</id>
<content type='text'>
Introduce set_boot_mode to set up the corresponding ctx flags and call
vb2_set_boot_mode to set ctx-&gt;boot_mode to be consistent with those
flags.

BUG=none
BRANCH=none
TEST=make runtests

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I7020639521af30bcdb6edcfac4c1a5b21ca8815e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3750959
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce set_boot_mode to set up the corresponding ctx flags and call
vb2_set_boot_mode to set ctx-&gt;boot_mode to be consistent with those
flags.

BUG=none
BRANCH=none
TEST=make runtests

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I7020639521af30bcdb6edcfac4c1a5b21ca8815e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3750959
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/common/tests.h: rename test_common.h to common/tests.h</title>
<updated>2022-07-15T07:11:40+00:00</updated>
<author>
<name>Hsin-Te Yuan</name>
<email>yuanhsinte@google.com</email>
</author>
<published>2022-07-11T07:55:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=1d25a753a35245af0f98897c4e999ec428b97134'/>
<id>1d25a753a35245af0f98897c4e999ec428b97134</id>
<content type='text'>
Create tests/common/ to put some common files.

BUG=none
BRANCH=none
TEST=make runtests

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I8918b7a1e62d47fca6074ef123e2de6f46f1aa00
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3754814
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create tests/common/ to put some common files.

BUG=none
BRANCH=none
TEST=make runtests

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I8918b7a1e62d47fca6074ef123e2de6f46f1aa00
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3754814
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>2lib/2auxfw_sync: Request recovery for missing auxfw</title>
<updated>2022-07-13T09:07:43+00:00</updated>
<author>
<name>Yu-Ping Wu</name>
<email>yupingso@chromium.org</email>
</author>
<published>2022-07-04T06:45:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=6d74ce8a95a3a0ed8adb41bde3172f5d7db96f64'/>
<id>6d74ce8a95a3a0ed8adb41bde3172f5d7db96f64</id>
<content type='text'>
When the hash file of auxfw is not found in the CBFS, VB2_ERROR_UNKNOWN
will be returned from vb2ex_auxfw_check(), causing the device to enter
reboot loop. Similar to how we handle missing ecrw.hash, vb2api_fail()
should be called, so that the device will try to boot from the other
slot, and if the hash is still missing, recovery will be triggered.

Call vb2api_fail() from vb2api_auxfw_sync() using the 3-argument form of
VB2_TRY(). Add a unit test to prevent regression.

BUG=b:237745301
TEST=make run2tests
TEST=emerge-corsola libpayload
BRANCH=none

Change-Id: I789c63b10201bd1852bc087199ec7b226ec85ba8
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3742863
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Commit-Queue: Julius Werner &lt;jwerner@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the hash file of auxfw is not found in the CBFS, VB2_ERROR_UNKNOWN
will be returned from vb2ex_auxfw_check(), causing the device to enter
reboot loop. Similar to how we handle missing ecrw.hash, vb2api_fail()
should be called, so that the device will try to boot from the other
slot, and if the hash is still missing, recovery will be triggered.

Call vb2api_fail() from vb2api_auxfw_sync() using the 3-argument form of
VB2_TRY(). Add a unit test to prevent regression.

BUG=b:237745301
TEST=make run2tests
TEST=emerge-corsola libpayload
BRANCH=none

Change-Id: I789c63b10201bd1852bc087199ec7b226ec85ba8
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3742863
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Commit-Queue: Julius Werner &lt;jwerner@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot_api_kernel.c: Remove kparams_ptr</title>
<updated>2022-07-13T05:01:22+00:00</updated>
<author>
<name>Hsin-Te Yuan</name>
<email>yuanhsinte@google.com</email>
</author>
<published>2022-06-28T08:38:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=4756206b07f2250155c9c4c1d75577281ea111f5'/>
<id>4756206b07f2250155c9c4c1d75577281ea111f5</id>
<content type='text'>
Pass VbSelectAndLoadKernelParams kparams as a function argument instead
of using global variable kparams_ptr. Remove VbSelectAndLoadKernel and
replace its tests with the unit tests for vb2_set_boot_mode,
vb2api_kernel_phase2, vb2api_kernel_finalize, and vb2api_normal_boot.

BUG=b:172339016
BRANCH=none
TEST=make runtests

Cq-Depend: chromium:3731710
Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I26895ced5e310b2894b9d42d0ad5514d3b0b930a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3731412
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pass VbSelectAndLoadKernelParams kparams as a function argument instead
of using global variable kparams_ptr. Remove VbSelectAndLoadKernel and
replace its tests with the unit tests for vb2_set_boot_mode,
vb2api_kernel_phase2, vb2api_kernel_finalize, and vb2api_normal_boot.

BUG=b:172339016
BRANCH=none
TEST=make runtests

Cq-Depend: chromium:3731710
Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I26895ced5e310b2894b9d42d0ad5514d3b0b930a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3731412
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>2kernel.c: Clear VB2_NV_DIAG_REQUEST unconditionally</title>
<updated>2022-07-11T18:24:55+00:00</updated>
<author>
<name>Hsin-Te Yuan</name>
<email>yuanhsinte@google.com</email>
</author>
<published>2022-06-30T09:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=61f16fca1def81c486c1283f8c0b1325fbdad7bc'/>
<id>61f16fca1def81c486c1283f8c0b1325fbdad7bc</id>
<content type='text'>
BUG=none
TEST=make runtests
BRANCH=none

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I406bcf806a6bbe21faa5f069381b73d43a7550b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3737566
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Tested-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG=none
TEST=make runtests
BRANCH=none

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I406bcf806a6bbe21faa5f069381b73d43a7550b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3737566
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Tested-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>2api.c: Initialize display using boot_mode</title>
<updated>2022-07-03T00:38:13+00:00</updated>
<author>
<name>Hsin-Te Yuan</name>
<email>yuanhsinte@google.com</email>
</author>
<published>2022-06-30T08:38:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=0c357126066949f2b5a66641536547fb372fc3a0'/>
<id>0c357126066949f2b5a66641536547fb372fc3a0</id>
<content type='text'>
In vb2api_fw_phase1, use the boot_mode set by vb2_set_boot_mode to
determine whether to initialize display. This fixes the edge case where
VB2_NV_DIAG_REQUEST is set, but vb2api_diagnostic_ui_enabled() is 0.

BUG=none
TEST=make runtests
BRANCH=none

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: Iecb9f52b056906bcd1d7da324390672adc5112c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3737563
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In vb2api_fw_phase1, use the boot_mode set by vb2_set_boot_mode to
determine whether to initialize display. This fixes the edge case where
VB2_NV_DIAG_REQUEST is set, but vb2api_diagnostic_ui_enabled() is 0.

BUG=none
TEST=make runtests
BRANCH=none

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: Iecb9f52b056906bcd1d7da324390672adc5112c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3737563
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>futility/file_type_bios: Rework image signing</title>
<updated>2022-06-30T14:55:17+00:00</updated>
<author>
<name>Jakub Czapiga</name>
<email>jacz@semihalf.com</email>
</author>
<published>2022-04-07T12:44:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=9ae9d2c03f42b25238f803a26ebae4902541317e'/>
<id>9ae9d2c03f42b25238f803a26ebae4902541317e</id>
<content type='text'>
This patch reworks whole BIOS image signing to support images with CBFS,
and with ponly RW/A slot. CBFS images will now be truncated to eliminate
unnecessary empty space, and will sign only the part of firmware area
which contains the data, and not empty space.
This patch also adds more checks for potential errors, and does not
allow for signing incorrect nor uses data from structures, which might
not be valid.
futility sign command tests are also greatly extended to cover a wide
variety of possible errors, which have to be handled correctly.

BUG=b:197114807
TEST=sudo emerge vboot_reference
TEST=build whole chromeos-bootimage after making it and coreboot use
     `futility sign --type bios ...`
TEST=make runtests
BRANCH=none

Signed-off-by: Jakub Czapiga &lt;jacz@semihalf.com&gt;
Cq-Depend: chromium:3707104
Change-Id: I7c84aa38776e8890a87f0e9b7ec7f32d86f82c13
Disallow-Recycled-Builds: test-failures
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3575325
Tested-by: Jakub Czapiga &lt;czapiga@google.com&gt;
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Auto-Submit: Jakub Czapiga &lt;czapiga@google.com&gt;
Commit-Queue: Jakub Czapiga &lt;czapiga@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch reworks whole BIOS image signing to support images with CBFS,
and with ponly RW/A slot. CBFS images will now be truncated to eliminate
unnecessary empty space, and will sign only the part of firmware area
which contains the data, and not empty space.
This patch also adds more checks for potential errors, and does not
allow for signing incorrect nor uses data from structures, which might
not be valid.
futility sign command tests are also greatly extended to cover a wide
variety of possible errors, which have to be handled correctly.

BUG=b:197114807
TEST=sudo emerge vboot_reference
TEST=build whole chromeos-bootimage after making it and coreboot use
     `futility sign --type bios ...`
TEST=make runtests
BRANCH=none

Signed-off-by: Jakub Czapiga &lt;jacz@semihalf.com&gt;
Cq-Depend: chromium:3707104
Change-Id: I7c84aa38776e8890a87f0e9b7ec7f32d86f82c13
Disallow-Recycled-Builds: test-failures
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3575325
Tested-by: Jakub Czapiga &lt;czapiga@google.com&gt;
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Auto-Submit: Jakub Czapiga &lt;czapiga@google.com&gt;
Commit-Queue: Jakub Czapiga &lt;czapiga@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>2kernel: Add vb2api_kernel_phase2 and vb2api_normal_boot</title>
<updated>2022-06-28T12:59:30+00:00</updated>
<author>
<name>Hsin-Te Yuan</name>
<email>yuanhsinte@google.com</email>
</author>
<published>2022-06-23T10:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=57eb6ea8e8ebf6ecb859815ef15b962a38803bd2'/>
<id>57eb6ea8e8ebf6ecb859815ef15b962a38803bd2</id>
<content type='text'>
Extract the middle part of VbSelectAndLoadKernel as vb2api_kernel_phase2
and call it from VbSelectAndLoadKernel. Also, remove vb2_nv_init in
VbSelectAndLoadKernel. Furthermore, publicize vb2_normal_boot as
vb2api_normal_boot in preparation for moving the content of
VbSelectAndLoadKernel to depthcharge. Besides, when NO_BOOT is set,
manual recovery should be disallowed (unless
VB2_GBB_FLAG_FORCE_MANUAL_RECOVERY is set). Therefore, print the NO_BOOT
debug log only for the broken screen case.

BUG=b:172339016
BRANCH=none
TEST=make runtests

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I4dc5ee4fb80ecc8c24a992a489c3bf6fe267046d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3720975
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extract the middle part of VbSelectAndLoadKernel as vb2api_kernel_phase2
and call it from VbSelectAndLoadKernel. Also, remove vb2_nv_init in
VbSelectAndLoadKernel. Furthermore, publicize vb2_normal_boot as
vb2api_normal_boot in preparation for moving the content of
VbSelectAndLoadKernel to depthcharge. Besides, when NO_BOOT is set,
manual recovery should be disallowed (unless
VB2_GBB_FLAG_FORCE_MANUAL_RECOVERY is set). Therefore, print the NO_BOOT
debug log only for the broken screen case.

BUG=b:172339016
BRANCH=none
TEST=make runtests

Signed-off-by: Hsin-Te Yuan &lt;yuanhsinte@google.com&gt;
Change-Id: I4dc5ee4fb80ecc8c24a992a489c3bf6fe267046d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3720975
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
