<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/coreboot/vboot.git, branch firmware-volteer-13672.148.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>minidiag: Add storage self-test screen</title>
<updated>2021-04-28T05:49:15+00:00</updated>
<author>
<name>Chung-Sheng Wu</name>
<email>chungsheng@google.com</email>
</author>
<published>2021-02-25T05:57:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=c894fd03506c92cd37332cbef105ceddc54e96dc'/>
<id>c894fd03506c92cd37332cbef105ceddc54e96dc</id>
<content type='text'>
Implement the ui for storage self-test.

BUG=b:173364332
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests
BRANCH=none

Cq-Depend: chromium:2848057
Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: Ieb3a24e0bf19f4e62de41cccd1138719dbc65e7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848049
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement the ui for storage self-test.

BUG=b:173364332
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests
BRANCH=none

Cq-Depend: chromium:2848057
Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: Ieb3a24e0bf19f4e62de41cccd1138719dbc65e7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848049
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minidiag: Update strings for minidiag v1.1</title>
<updated>2021-04-28T05:49:08+00:00</updated>
<author>
<name>Chung-Sheng Wu</name>
<email>chungsheng@google.com</email>
</author>
<published>2021-03-22T06:55:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=d5b2686d0473bb3c44bfc1006ef5aeb3734c4a83'/>
<id>d5b2686d0473bb3c44bfc1006ef5aeb3734c4a83</id>
<content type='text'>
Update strings to meet the UX review.

BRANCH=none
BUG=b:183351700
TEST=none

Cq-Depend: chromium:2777880
Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: Ic8d9653abffd80039347f81823930eaa7f35180e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848048
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update strings to meet the UX review.

BRANCH=none
BUG=b:183351700
TEST=none

Cq-Depend: chromium:2777880
Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: Ic8d9653abffd80039347f81823930eaa7f35180e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848048
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot/ui: Refactor log_page api</title>
<updated>2021-04-28T05:49:07+00:00</updated>
<author>
<name>Chung-Sheng Wu</name>
<email>chungsheng@google.com</email>
</author>
<published>2021-02-23T07:00:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=6a7e90ca547ba1f215119ce61d19f24ad93e17c6'/>
<id>6a7e90ca547ba1f215119ce61d19f24ad93e17c6</id>
<content type='text'>
Refactor code to use log_page_update to update log pages. Clean up
duplicated code. Split the cancel button logic to
log_page_show_back_or_cancel function.

BUG=b:174127808, b:157625765
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests
BRANCH=none

Cq-Depend: chromium:2641904
Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: Iaa8565c91c310e218dade45eb0efd56c72950512
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2641981
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848047
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactor code to use log_page_update to update log pages. Clean up
duplicated code. Split the cancel button logic to
log_page_show_back_or_cancel function.

BUG=b:174127808, b:157625765
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests
BRANCH=none

Cq-Depend: chromium:2641904
Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: Iaa8565c91c310e218dade45eb0efd56c72950512
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2641981
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848047
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot: do not change screens when dev boot disallowed</title>
<updated>2021-04-28T05:49:07+00:00</updated>
<author>
<name>Joel Kitching</name>
<email>kitching@google.com</email>
</author>
<published>2021-03-03T09:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=00e9367f9290a0772966256fe60b71af2cb8de04'/>
<id>00e9367f9290a0772966256fe60b71af2cb8de04</id>
<content type='text'>
In CL:2716747, VB2_SCREEN_DEVELOPER_TO_NORM is pulled up to act
as the root screen in the case of dev boot being disallowed.

As such, the screen changes can be removed from
VB2_SCREEN_DEVELOPER_MODE init() and reinit() functions.
If the user does manage to get into the developer mode screen
while developer mode is disabled, rely on the individual checks
in these functions to prevent booting:

- vb2_ui_developer_mode_boot_internal_action
- vb2_ui_developer_mode_boot_external_action
- vb2_ui_developer_mode_boot_altfw_action

BUG=b:159579189, b:181087237
TEST=make clean &amp;&amp; make runtests
BRANCH=none

Signed-off-by: Joel Kitching &lt;kitching@google.com&gt;
Change-Id: Ic72d30709baeac2fc7e681d973413e2e9c8b0483
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2730669
Reviewed-by: Joel Kitching &lt;kitching@chromium.org&gt;
Tested-by: Joel Kitching &lt;kitching@chromium.org&gt;
Commit-Queue: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848046
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In CL:2716747, VB2_SCREEN_DEVELOPER_TO_NORM is pulled up to act
as the root screen in the case of dev boot being disallowed.

As such, the screen changes can be removed from
VB2_SCREEN_DEVELOPER_MODE init() and reinit() functions.
If the user does manage to get into the developer mode screen
while developer mode is disabled, rely on the individual checks
in these functions to prevent booting:

- vb2_ui_developer_mode_boot_internal_action
- vb2_ui_developer_mode_boot_external_action
- vb2_ui_developer_mode_boot_altfw_action

BUG=b:159579189, b:181087237
TEST=make clean &amp;&amp; make runtests
BRANCH=none

Signed-off-by: Joel Kitching &lt;kitching@google.com&gt;
Change-Id: Ic72d30709baeac2fc7e681d973413e2e9c8b0483
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2730669
Reviewed-by: Joel Kitching &lt;kitching@chromium.org&gt;
Tested-by: Joel Kitching &lt;kitching@chromium.org&gt;
Commit-Queue: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848046
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot/ui: Split out enabling/disabling buttons from log_page_* functions</title>
<updated>2021-04-28T05:49:06+00:00</updated>
<author>
<name>Chung-Sheng Wu</name>
<email>chungsheng@google.com</email>
</author>
<published>2021-02-23T06:56:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=1addf33ccd22fac7d6d15f5a7c836866fa4fc72d'/>
<id>1addf33ccd22fac7d6d15f5a7c836866fa4fc72d</id>
<content type='text'>
Add a new log_page_update function to maintain the state of page up/down
buttons.

BUG=b:174127808
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests
BRANCH=none

Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: I6c396af3139229771557f017b816ea93aba27be2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2641979
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-by: Meng-Huan Yu &lt;menghuan@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848045
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new log_page_update function to maintain the state of page up/down
buttons.

BUG=b:174127808
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests
BRANCH=none

Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: I6c396af3139229771557f017b816ea93aba27be2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2641979
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-by: Meng-Huan Yu &lt;menghuan@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848045
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot: Replace VB2_REQUEST_UI_CONTINUE with VB2_SUCCESS</title>
<updated>2021-04-28T05:49:05+00:00</updated>
<author>
<name>Chung-Sheng Wu</name>
<email>chungsheng@google.com</email>
</author>
<published>2021-03-04T08:10:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=46b38dab1b31111df6c575b4200f8ad8302d5d4e'/>
<id>46b38dab1b31111df6c575b4200f8ad8302d5d4e</id>
<content type='text'>
In current codebase, VB2_REQUEST_UI_CONTINUE is for successful ui
function call, and VB2_SUCCESS is for breaking the main ui loop.

Replace most of the VB2_REQUEST_UI_CONTINUE with VB2_SUCCESS, and
replace those breaking requesting VB2_SUCCESS with VB2_REQUEST_UI_EXIT.
All the "VB2_REQUEST_UI_CONTINUE" and "VB2_REQUEST_UI_EXIT" are caught
in the ui loop. VB2_REQUEST_UI_CONTINUE does nothing while
VB2_REQUEST_UI_EXIT breaks the ui loop and return VB2_SUCCESS. Returning
VB2_SUCCESS and VB2_REQUEST_UI_CONTINUE to the ui loop now should do the
same thing, that is, continue process the ui.

VB2_REQUEST_UI_CONTINUE can be used to quickly return from ui functions
to the main UI loop, because it is not VB2_SUCCESS and makes VB2_TRY
return.

BRANCH=none
BUG=b:157625765
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests

Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: If1b54657d09198196f9c646b6b907b4fd8faadce
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2714502
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-by: Joel Kitching &lt;kitching@chromium.org&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848044
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In current codebase, VB2_REQUEST_UI_CONTINUE is for successful ui
function call, and VB2_SUCCESS is for breaking the main ui loop.

Replace most of the VB2_REQUEST_UI_CONTINUE with VB2_SUCCESS, and
replace those breaking requesting VB2_SUCCESS with VB2_REQUEST_UI_EXIT.
All the "VB2_REQUEST_UI_CONTINUE" and "VB2_REQUEST_UI_EXIT" are caught
in the ui loop. VB2_REQUEST_UI_CONTINUE does nothing while
VB2_REQUEST_UI_EXIT breaks the ui loop and return VB2_SUCCESS. Returning
VB2_SUCCESS and VB2_REQUEST_UI_CONTINUE to the ui loop now should do the
same thing, that is, continue process the ui.

VB2_REQUEST_UI_CONTINUE can be used to quickly return from ui functions
to the main UI loop, because it is not VB2_SUCCESS and makes VB2_TRY
return.

BRANCH=none
BUG=b:157625765
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests

Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: If1b54657d09198196f9c646b6b907b4fd8faadce
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2714502
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-by: Joel Kitching &lt;kitching@chromium.org&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848044
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minidiag: Rename storage to storage health info</title>
<updated>2021-04-28T05:49:04+00:00</updated>
<author>
<name>Chung-Sheng Wu</name>
<email>chungsheng@google.com</email>
</author>
<published>2021-02-25T05:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=c091b85555718de524d0c9c57685100eec8d4fa1'/>
<id>c091b85555718de524d0c9c57685100eec8d4fa1</id>
<content type='text'>
Rename storage to storage health info to prevent confusing with storage
self-test.

BRANCH=none
BUG=b:173364332
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests

Cq-Depend: chromium:2709784
Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: I6c5e355e2062b8c371dbbeff8a5f1b9445bac9f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2719252
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-by: Meng-Huan Yu &lt;menghuan@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848043
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename storage to storage health info to prevent confusing with storage
self-test.

BRANCH=none
BUG=b:173364332
TEST=make clean &amp;&amp; CC=x86_64-pc-linux-gnu-clang make runtests

Cq-Depend: chromium:2709784
Signed-off-by: Chung-Sheng Wu &lt;chungsheng@google.com&gt;
Change-Id: I6c5e355e2062b8c371dbbeff8a5f1b9445bac9f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2719252
Tested-by: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
Reviewed-by: Meng-Huan Yu &lt;menghuan@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848043
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot: always return after calling vb2_ui_screen_change</title>
<updated>2021-04-28T05:49:04+00:00</updated>
<author>
<name>Joel Kitching</name>
<email>kitching@google.com</email>
</author>
<published>2021-02-24T06:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=7d7b2d979e5a7a1dd6cbe41ae6381f26076ce962'/>
<id>7d7b2d979e5a7a1dd6cbe41ae6381f26076ce962</id>
<content type='text'>
Without returning, subsequent code may operate under the
assumption that the screen has *not* changed, leading to
unexpected behaviour.  The user may also be able to select
otherwise disallowed menu items.

BUG=b:181087237, chromium:1181484
TEST=make clean &amp;&amp; make runtests
BRANCH=none

Signed-off-by: Joel Kitching &lt;kitching@google.com&gt;
Change-Id: I820e387417ad39e2f7bd47f65d08c387cf66d6e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2717449
Tested-by: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Commit-Queue: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848042
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without returning, subsequent code may operate under the
assumption that the screen has *not* changed, leading to
unexpected behaviour.  The user may also be able to select
otherwise disallowed menu items.

BUG=b:181087237, chromium:1181484
TEST=make clean &amp;&amp; make runtests
BRANCH=none

Signed-off-by: Joel Kitching &lt;kitching@google.com&gt;
Change-Id: I820e387417ad39e2f7bd47f65d08c387cf66d6e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2717449
Tested-by: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Commit-Queue: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848042
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot/ui: Change root screen if DEV_DISABLE_BOOT is set</title>
<updated>2021-04-28T05:49:03+00:00</updated>
<author>
<name>Yu-Ping Wu</name>
<email>yupingso@chromium.org</email>
</author>
<published>2021-02-24T09:05:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=2516c96d8daff9afc318cd3a164d676f44742be5'/>
<id>2516c96d8daff9afc318cd3a164d676f44742be5</id>
<content type='text'>
Change UI root screen to DEVELOPER_TO_NORM if DEV_DISABLE_BOOT is set in
FWMP, and disable all dev-mode shortcuts except '\t'. This ensures
DEVELOPER_TO_NORM and VB2_SCREEN_DEBUG_INFO are the only two screens
accessible from the UI.

Also hide the "Cancel" menu item in DEVELOPER_TO_NORM.

BUG=b:159579189, chromium:1181484
TEST=make runtests
TEST=emerge-asurada depthcharge
BRANCH=none

Change-Id: Ifedb53ae2eb968b1118340aef30cda00b7925f03
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2716747
Reviewed-by: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848041
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change UI root screen to DEVELOPER_TO_NORM if DEV_DISABLE_BOOT is set in
FWMP, and disable all dev-mode shortcuts except '\t'. This ensures
DEVELOPER_TO_NORM and VB2_SCREEN_DEBUG_INFO are the only two screens
accessible from the UI.

Also hide the "Cancel" menu item in DEVELOPER_TO_NORM.

BUG=b:159579189, chromium:1181484
TEST=make runtests
TEST=emerge-asurada depthcharge
BRANCH=none

Change-Id: Ifedb53ae2eb968b1118340aef30cda00b7925f03
Signed-off-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2716747
Reviewed-by: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848041
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot: add tests for VB2_TRY around screen changes</title>
<updated>2021-04-28T05:49:02+00:00</updated>
<author>
<name>Joel Kitching</name>
<email>kitching@google.com</email>
</author>
<published>2021-02-26T06:33:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=f88594427e59c42dcf655e572d5891a40e4db953'/>
<id>f88594427e59c42dcf655e572d5891a40e4db953</id>
<content type='text'>
After these functions are called, no assumptions may be made
about which screen is currently displayed, and thus execution
should return to ui_loop:

- vb2_ui_menu_select
- vb2_ui_screen_back
- vb2_ui_screen_change

When VB2_TRY() is wrapped around these functions, the result
should be returning immediately.  No code following the functions
should be executed.  Add unit test coverage for this.

BUG=b:157625765
TEST=make clean &amp;&amp; make runtests
BRANCH=none

Signed-off-by: Joel Kitching &lt;kitching@google.com&gt;
Change-Id: I4fc2a1eb59012eeefce34d25f010a49cb1d957de
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2721377
Tested-by: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Commit-Queue: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848040
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After these functions are called, no assumptions may be made
about which screen is currently displayed, and thus execution
should return to ui_loop:

- vb2_ui_menu_select
- vb2_ui_screen_back
- vb2_ui_screen_change

When VB2_TRY() is wrapped around these functions, the result
should be returning immediately.  No code following the functions
should be executed.  Add unit test coverage for this.

BUG=b:157625765
TEST=make clean &amp;&amp; make runtests
BRANCH=none

Signed-off-by: Joel Kitching &lt;kitching@google.com&gt;
Change-Id: I4fc2a1eb59012eeefce34d25f010a49cb1d957de
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2721377
Tested-by: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Commit-Queue: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2848040
Reviewed-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Tested-by: Nick Vaccaro &lt;nvaccaro@google.com&gt;
Commit-Queue: Chung-Sheng Wu &lt;chungsheng@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
