<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/coreboot/vboot.git, branch release-R97-14324.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>ui: Add VB2_UI_ERROR_MINIOS_BOOT_FAILED</title>
<updated>2021-10-29T04:36:41+00:00</updated>
<author>
<name>Yu-Ping Wu</name>
<email>yupingso@chromium.org</email>
</author>
<published>2021-10-28T01:51:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=63e662d66a1dc8031a57c6d8b53955e5acc5c3b1'/>
<id>63e662d66a1dc8031a57c6d8b53955e5acc5c3b1</id>
<content type='text'>
Add a new error type VB2_UI_ERROR_MINIOS_BOOT_FAILED for MiniOS boot
failure.

BUG=b:200750322
TEST=emerge-cherry depthcharge
BRANCH=none

Change-Id: Ia567c9ec735e7aae830ad311b2261e01fed53876
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3249590
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Jae Hoon Kim &lt;kimjae@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new error type VB2_UI_ERROR_MINIOS_BOOT_FAILED for MiniOS boot
failure.

BUG=b:200750322
TEST=emerge-cherry depthcharge
BRANCH=none

Change-Id: Ia567c9ec735e7aae830ad311b2261e01fed53876
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3249590
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Jae Hoon Kim &lt;kimjae@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>COIL: Remove "slave"</title>
<updated>2021-10-29T03:53:46+00:00</updated>
<author>
<name>Yu-Ping Wu</name>
<email>yupingso@chromium.org</email>
</author>
<published>2021-10-27T08:34:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=f2fa68ad62310243814b6d1b3d56040db0a99495'/>
<id>f2fa68ad62310243814b6d1b3d56040db0a99495</id>
<content type='text'>
In the context of device mapper (dm), use "mapped device".

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

Change-Id: I9245d8482e59db93bfe6cdcaafa503038ae5c9e3
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3246662
Reviewed-by: Chen-Yu Tsai &lt;wenst@chromium.org&gt;
Reviewed-by: Hung-Te Lin &lt;hungte@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the context of device mapper (dm), use "mapped device".

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

Change-Id: I9245d8482e59db93bfe6cdcaafa503038ae5c9e3
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3246662
Reviewed-by: Chen-Yu Tsai &lt;wenst@chromium.org&gt;
Reviewed-by: Hung-Te Lin &lt;hungte@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot_reference/futility: Split load_firmware_image() fn</title>
<updated>2021-10-28T11:06:15+00:00</updated>
<author>
<name>Edward O'Callaghan</name>
<email>quasisec@google.com</email>
</author>
<published>2021-10-27T00:48:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=d02f026a8d6635c0f38743bf257db2526a3143f0'/>
<id>d02f026a8d6635c0f38743bf257db2526a3143f0</id>
<content type='text'>
This is in prep for removing the need for temp files.

V.2:
 Move validation into parse_firmware_image()

BUG=b:203715651
BRANCH=none
TEST=cros deploy to nocturne and ran:
 `/usr/sbin/chromeos-firmware --mode=recovery`.

Signed-off-by: Edward O'Callaghan &lt;quasisec@google.com&gt;
Change-Id: Id61fcb0f53546a78085e0a367c21780c5885bc51
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3244679
Commit-Queue: Edward O'Callaghan &lt;quasisec@chromium.org&gt;
Commit-Queue: Sam McNally &lt;sammc@chromium.org&gt;
Tested-by: Edward O'Callaghan &lt;quasisec@chromium.org&gt;
Auto-Submit: Edward O'Callaghan &lt;quasisec@chromium.org&gt;
Reviewed-by: Sam McNally &lt;sammc@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is in prep for removing the need for temp files.

V.2:
 Move validation into parse_firmware_image()

BUG=b:203715651
BRANCH=none
TEST=cros deploy to nocturne and ran:
 `/usr/sbin/chromeos-firmware --mode=recovery`.

Signed-off-by: Edward O'Callaghan &lt;quasisec@google.com&gt;
Change-Id: Id61fcb0f53546a78085e0a367c21780c5885bc51
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3244679
Commit-Queue: Edward O'Callaghan &lt;quasisec@chromium.org&gt;
Commit-Queue: Sam McNally &lt;sammc@chromium.org&gt;
Tested-by: Edward O'Callaghan &lt;quasisec@chromium.org&gt;
Auto-Submit: Edward O'Callaghan &lt;quasisec@chromium.org&gt;
Reviewed-by: Sam McNally &lt;sammc@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OWNERS: Replace furquan with twawrzynczak</title>
<updated>2021-10-22T17:15:07+00:00</updated>
<author>
<name>Furquan Shaikh</name>
<email>furquan@google.com</email>
</author>
<published>2021-10-22T14:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=f87910fd255c329d089d5789ff26ac226f383068'/>
<id>f87910fd255c329d089d5789ff26ac226f383068</id>
<content type='text'>
BUG=None
BRANCH=None
TEST=None

Change-Id: Id8d14bf0c878ead1b18d27488db0cfa5223652ad
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3238231
Tested-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Auto-Submit: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Dossym Nurmukhanov &lt;dossym@chromium.org&gt;
Commit-Queue: Dossym Nurmukhanov &lt;dossym@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG=None
BRANCH=None
TEST=None

Change-Id: Id8d14bf0c878ead1b18d27488db0cfa5223652ad
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3238231
Tested-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Auto-Submit: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Dossym Nurmukhanov &lt;dossym@chromium.org&gt;
Commit-Queue: Dossym Nurmukhanov &lt;dossym@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>chromeos-tpm-recovery: Quote local variables</title>
<updated>2021-10-19T02:40:27+00:00</updated>
<author>
<name>Julius Werner</name>
<email>jwerner@chromium.org</email>
</author>
<published>2021-10-14T01:01:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=67c2f4772db32766707a51bcb7a197be3d354f17'/>
<id>67c2f4772db32766707a51bcb7a197be3d354f17</id>
<content type='text'>
The strings in these variables usually don't contain any spaces, but on
some non-Google boards (e.g. Intel RVP) they do, so let's follow the
usual shell style and quote all the things.

BRANCH=none
BUG=b:202870010
TEST=None

Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
Change-Id: I90fac5c605c38eec704df0241d822a19210bfdf9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3221956
Reviewed-by: Andrey Pronin &lt;apronin@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>
The strings in these variables usually don't contain any spaces, but on
some non-Google boards (e.g. Intel RVP) they do, so let's follow the
usual shell style and quote all the things.

BRANCH=none
BUG=b:202870010
TEST=None

Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
Change-Id: I90fac5c605c38eec704df0241d822a19210bfdf9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3221956
Reviewed-by: Andrey Pronin &lt;apronin@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>futility: add subcommand for creating and verifying the RO_GSCVD area</title>
<updated>2021-10-18T22:11:41+00:00</updated>
<author>
<name>Vadim Bendebury</name>
<email>vbendeb@chromium.org</email>
</author>
<published>2021-09-22T02:53:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=06780662c89b05684a934ea3a1538df02f512e1c'/>
<id>06780662c89b05684a934ea3a1538df02f512e1c</id>
<content type='text'>
The help text of the new subcommand is as follows:

-------
  This utility creates an RO verification space in the Chrome OS AP
  firmware image or allows to validate a previously prepared image
  containing the RO verification space.

  Usage: futilitygscvd PARAMS &lt;AP FIRMWARE FILE&gt; [&lt;root key hash&gt;]

  Creation of RO Verification space:

  Required PARAMS:
    -R|--ranges        STRING        Comma separated colon delimited
                                       hex tuples &lt;offset&gt;:&lt;size&gt;, the
                                       areas of the RO covered by the
                                       signature
    -r|--root_pub_key  &lt;file&gt;        The main public key, in .vbpubk
                                       format, used to verify platform
                                       key
    -k|--keyblock      &lt;file&gt;        Signed platform public key in
                                       .keyblock format, used for run
                                       time RO verifcation
    -p|--platform_priv &lt;file&gt;        Private platform key in .vbprivk
                                       format, used for signing RO
                                       verification data
  Optional PARAMS:
    [--outfile]        OUTFILE       Output firmware image containing
                                       RO verification information

  Validation of RO Verification space:

     The only required parameter is &lt;AP FIRMWARE FILE&gt;, if optional
     &lt;root key hash&gt; is given, it is compared to the hash of the body
     of the root key found in &lt;AP_FIRMWARE_FILE&gt;.

    -h|--help                        Print this message
-------

When creating GVD section, the sha256 hash of the root public key
payload is printed on stdout, this is the hash to include in the GSC
image to for the root key verification.

Code converting ASCII hex string into binary is refactored into a misc
function.

BRANCH=none
BUG=b:141191727
TEST=testing included the following steps:

   . modified guybrush coreboot to allocate an 8KB RO_GSCVD area in
     FMAP and built a guybrush BIOS image
   . filled GVD space as described in the source file comments
   . verified the created space as described in the source file comments
   . verified AP RO integrity on the GSC size using crrev.com/c/3172256

Change-Id: I51a80be5007a32d5286b93499f71da84f41b3d81
Signed-off-by: Vadim Bendebury &lt;vbendeb@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3174570
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The help text of the new subcommand is as follows:

-------
  This utility creates an RO verification space in the Chrome OS AP
  firmware image or allows to validate a previously prepared image
  containing the RO verification space.

  Usage: futilitygscvd PARAMS &lt;AP FIRMWARE FILE&gt; [&lt;root key hash&gt;]

  Creation of RO Verification space:

  Required PARAMS:
    -R|--ranges        STRING        Comma separated colon delimited
                                       hex tuples &lt;offset&gt;:&lt;size&gt;, the
                                       areas of the RO covered by the
                                       signature
    -r|--root_pub_key  &lt;file&gt;        The main public key, in .vbpubk
                                       format, used to verify platform
                                       key
    -k|--keyblock      &lt;file&gt;        Signed platform public key in
                                       .keyblock format, used for run
                                       time RO verifcation
    -p|--platform_priv &lt;file&gt;        Private platform key in .vbprivk
                                       format, used for signing RO
                                       verification data
  Optional PARAMS:
    [--outfile]        OUTFILE       Output firmware image containing
                                       RO verification information

  Validation of RO Verification space:

     The only required parameter is &lt;AP FIRMWARE FILE&gt;, if optional
     &lt;root key hash&gt; is given, it is compared to the hash of the body
     of the root key found in &lt;AP_FIRMWARE_FILE&gt;.

    -h|--help                        Print this message
-------

When creating GVD section, the sha256 hash of the root public key
payload is printed on stdout, this is the hash to include in the GSC
image to for the root key verification.

Code converting ASCII hex string into binary is refactored into a misc
function.

BRANCH=none
BUG=b:141191727
TEST=testing included the following steps:

   . modified guybrush coreboot to allocate an 8KB RO_GSCVD area in
     FMAP and built a guybrush BIOS image
   . filled GVD space as described in the source file comments
   . verified the created space as described in the source file comments
   . verified AP RO integrity on the GSC size using crrev.com/c/3172256

Change-Id: I51a80be5007a32d5286b93499f71da84f41b3d81
Signed-off-by: Vadim Bendebury &lt;vbendeb@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3174570
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: add install_dut_test rule</title>
<updated>2021-10-18T02:50:54+00:00</updated>
<author>
<name>Kangheui Won</name>
<email>khwon@chromium.org</email>
</author>
<published>2021-09-02T05:45:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=2ffa62d35c7be7217287151ab9de14266ee6df66'/>
<id>2ffa62d35c7be7217287151ab9de14266ee6df66</id>
<content type='text'>
Add new rule 'install_dut_test' to deploy dut-specific tests to the
device. Any tests included in the rule will be installed into
/usr/share/vboot/tests/.
Especially vb2_sha256_x86_tests uses sha-ni extension, which might not
be available on some platforms. So it needs to be deployed to the dut
and run there.

BUG=b:162551138
BRANCH=none
TEST=build with modified ebuild on hana &amp; guybrush

Signed-off-by: Kangheui Won &lt;khwon@chromium.org&gt;
Change-Id: I9c6e00c8a9aca192ae283560383417c1215c221f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3141250
Reviewed-by: Raul E Rangel &lt;rrangel@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new rule 'install_dut_test' to deploy dut-specific tests to the
device. Any tests included in the rule will be installed into
/usr/share/vboot/tests/.
Especially vb2_sha256_x86_tests uses sha-ni extension, which might not
be available on some platforms. So it needs to be deployed to the dut
and run there.

BUG=b:162551138
BRANCH=none
TEST=build with modified ebuild on hana &amp; guybrush

Signed-off-by: Kangheui Won &lt;khwon@chromium.org&gt;
Change-Id: I9c6e00c8a9aca192ae283560383417c1215c221f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3141250
Reviewed-by: Raul E Rangel &lt;rrangel@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot: Support booting from non-active miniOS partition</title>
<updated>2021-10-15T09:06:41+00:00</updated>
<author>
<name>Yu-Ping Wu</name>
<email>yupingso@chromium.org</email>
</author>
<published>2021-10-13T03:02:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=2d1ce45dc46b0dd5522edf1edabef35b90a66942'/>
<id>2d1ce45dc46b0dd5522edf1edabef35b90a66942</id>
<content type='text'>
To support booting from the non-active miniOS partition in recovery UI,
add minios_flags argument to VbTryLoadMiniOsKernel. Currently there is
only one flag: VB_MINIOS_FLAG_NON_ACTIVE. When it is set, we will
attempt to boot from the non-active partition only.

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

Cq-Depend: chromium:3219727
Change-Id: I6221f10c09de2487e89e6113981bc9e9755d67f4
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3219901
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Reviewed-by: Jae Hoon Kim &lt;kimjae@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To support booting from the non-active miniOS partition in recovery UI,
add minios_flags argument to VbTryLoadMiniOsKernel. Currently there is
only one flag: VB_MINIOS_FLAG_NON_ACTIVE. When it is set, we will
attempt to boot from the non-active partition only.

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

Cq-Depend: chromium:3219727
Change-Id: I6221f10c09de2487e89e6113981bc9e9755d67f4
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3219901
Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
Reviewed-by: Jae Hoon Kim &lt;kimjae@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "2lib: Use ctx flag VB2_CONTEXT_EC_TRUSTED instead of vb2ex_ec_trusted"</title>
<updated>2021-10-07T20:50:33+00:00</updated>
<author>
<name>Hsuan Ting Chen</name>
<email>roccochen@chromium.org</email>
</author>
<published>2021-10-07T03:57:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=1269365169791c65a6bf6f364583209195874138'/>
<id>1269365169791c65a6bf6f364583209195874138</id>
<content type='text'>
This reverts commit 8aded7005e2830f54cf53b329946cbb1f11548f2.

Reason for revert: b:202258389

Original change's description:
&gt; 2lib: Use ctx flag VB2_CONTEXT_EC_TRUSTED instead of vb2ex_ec_trusted
&gt;
&gt; In vb2api_allow_recovery(), we need to check if EC is trusted for
&gt; booting into manual recovery mode. This was implemented by a function
&gt; vb2ex_ec_trusted() which defined in vboot_reference and implemented in
&gt; depthcharge by reading the corresponding EC_IN_RW GPIO flags.
&gt;
&gt; By introducing new boot mode architecture, coreboot will now calling
&gt; these functions to determine the current boot mode and support the
&gt; similar functionalities about checking if EC is trusted (i.e. EC is not
&gt; in RW).
&gt;
&gt; We leverages the existing ctx flag VB2_CONTEXT_EC_TRUSTED for fulfilling
&gt; this. This flag will be set at coreboot vboot_logic.c:verstage_main()
&gt; and can be used deciding the boot mode in vboot_reference:
&gt; vb2api_fw_phase1() and is cleared while EC jumps to RW (i.e.
&gt; 2ec_sync.c:sync_ec()).
&gt;
&gt; BRANCH=none
&gt; BUG=b:181931817
&gt; TEST=emerge-trogdor coreboot vboot_reference depthcharge
&gt;
&gt; Cq-Depend: chromium:3088889
&gt; Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
&gt; Change-Id: I50f35f48ce75e421094ea21e45c24b82e6e55a6c
&gt; Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3106329
&gt; Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
&gt; Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;

Bug: b:181931817
Change-Id: I11ae3b2d71c040dfe45b34f74974845dafa92b42
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3211007
Bot-Commit: Rubber Stamper &lt;rubber-stamper@appspot.gserviceaccount.com&gt;
Commit-Queue: Bhanu Prakash Maiya &lt;bhanumaiya@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 8aded7005e2830f54cf53b329946cbb1f11548f2.

Reason for revert: b:202258389

Original change's description:
&gt; 2lib: Use ctx flag VB2_CONTEXT_EC_TRUSTED instead of vb2ex_ec_trusted
&gt;
&gt; In vb2api_allow_recovery(), we need to check if EC is trusted for
&gt; booting into manual recovery mode. This was implemented by a function
&gt; vb2ex_ec_trusted() which defined in vboot_reference and implemented in
&gt; depthcharge by reading the corresponding EC_IN_RW GPIO flags.
&gt;
&gt; By introducing new boot mode architecture, coreboot will now calling
&gt; these functions to determine the current boot mode and support the
&gt; similar functionalities about checking if EC is trusted (i.e. EC is not
&gt; in RW).
&gt;
&gt; We leverages the existing ctx flag VB2_CONTEXT_EC_TRUSTED for fulfilling
&gt; this. This flag will be set at coreboot vboot_logic.c:verstage_main()
&gt; and can be used deciding the boot mode in vboot_reference:
&gt; vb2api_fw_phase1() and is cleared while EC jumps to RW (i.e.
&gt; 2ec_sync.c:sync_ec()).
&gt;
&gt; BRANCH=none
&gt; BUG=b:181931817
&gt; TEST=emerge-trogdor coreboot vboot_reference depthcharge
&gt;
&gt; Cq-Depend: chromium:3088889
&gt; Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
&gt; Change-Id: I50f35f48ce75e421094ea21e45c24b82e6e55a6c
&gt; Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3106329
&gt; Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
&gt; Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;

Bug: b:181931817
Change-Id: I11ae3b2d71c040dfe45b34f74974845dafa92b42
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3211007
Bot-Commit: Rubber Stamper &lt;rubber-stamper@appspot.gserviceaccount.com&gt;
Commit-Queue: Bhanu Prakash Maiya &lt;bhanumaiya@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "2lib/2api: Deprecate vb2ex_ec_trusted()"</title>
<updated>2021-10-07T20:50:31+00:00</updated>
<author>
<name>Hsuan Ting Chen</name>
<email>roccochen@chromium.org</email>
</author>
<published>2021-10-07T03:54:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=b9644352d7717d4f564be90aac6c41bef583d930'/>
<id>b9644352d7717d4f564be90aac6c41bef583d930</id>
<content type='text'>
This reverts commit 7c73bb07fd3ca45ce650b993a9c6a5850ddb2707.

Reason for revert: b:202258389

Original change's description:
&gt; 2lib/2api: Deprecate vb2ex_ec_trusted()
&gt;
&gt; coreboot will support check the EC_IN_RW during verstage_main(), which
&gt; performs the equivalent tasks as vb2ex_ec_trusted().
&gt;
&gt; In the previous CL, we remove the check of vb2ex_ec_trusted(), so the
&gt; whole implementation of this function among vboot_reference and
&gt; depthcharge could be deprecated and removed.
&gt;
&gt; BUG=b:181931817
&gt; BRANCH=none
&gt; TEST=CC=x86_64-pc-linux-gnu-clang;
&gt;      make clean &amp;&amp; make runtests
&gt; TEST=emerge coreboot vboot_reference depthcharge
&gt;
&gt; Cq-Depend: chromium:3139956
&gt; Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
&gt; Change-Id: I4f592d7dec2480475762e1336791cbb34fa143ba
&gt; Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3139539
&gt; Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
&gt; Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;

Bug: b:181931817
Change-Id: Ia127ce89b7f9413db9fd6ca4561ad06efb36d7e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3211006
Bot-Commit: Rubber Stamper &lt;rubber-stamper@appspot.gserviceaccount.com&gt;
Commit-Queue: Bhanu Prakash Maiya &lt;bhanumaiya@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 7c73bb07fd3ca45ce650b993a9c6a5850ddb2707.

Reason for revert: b:202258389

Original change's description:
&gt; 2lib/2api: Deprecate vb2ex_ec_trusted()
&gt;
&gt; coreboot will support check the EC_IN_RW during verstage_main(), which
&gt; performs the equivalent tasks as vb2ex_ec_trusted().
&gt;
&gt; In the previous CL, we remove the check of vb2ex_ec_trusted(), so the
&gt; whole implementation of this function among vboot_reference and
&gt; depthcharge could be deprecated and removed.
&gt;
&gt; BUG=b:181931817
&gt; BRANCH=none
&gt; TEST=CC=x86_64-pc-linux-gnu-clang;
&gt;      make clean &amp;&amp; make runtests
&gt; TEST=emerge coreboot vboot_reference depthcharge
&gt;
&gt; Cq-Depend: chromium:3139956
&gt; Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
&gt; Change-Id: I4f592d7dec2480475762e1336791cbb34fa143ba
&gt; Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3139539
&gt; Reviewed-by: Julius Werner &lt;jwerner@chromium.org&gt;
&gt; Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;

Bug: b:181931817
Change-Id: Ia127ce89b7f9413db9fd6ca4561ad06efb36d7e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3211006
Bot-Commit: Rubber Stamper &lt;rubber-stamper@appspot.gserviceaccount.com&gt;
Commit-Queue: Bhanu Prakash Maiya &lt;bhanumaiya@google.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
