<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/coreboot/vboot.git, branch release-R88-13597.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/ui: Prevent calling update action if there were no updates</title>
<updated>2020-11-12T12:40:05+00:00</updated>
<author>
<name>Hsuan Ting Chen</name>
<email>roccochen@chromium.org</email>
</author>
<published>2020-09-23T04:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=9a820d73511379877b077fde452c31fede89da23'/>
<id>9a820d73511379877b077fde452c31fede89da23</id>
<content type='text'>
Add a return code `VB2_ERROR_EX_DIAG_TEST_UPDATED` to determine if
updating needed.

BUG=b:168776970
BRANCH=none
TEST=Build locally, boot recovery, select 'run diagnostics',
     enter memory test (quick) screen,
     and observe that the delay reduces while pressing keyboard

Cq-Depend: chromium:2423699
Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: I7606911bee7257e8eed4ec35d197efaa57b72e13
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2424370
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a return code `VB2_ERROR_EX_DIAG_TEST_UPDATED` to determine if
updating needed.

BUG=b:168776970
BRANCH=none
TEST=Build locally, boot recovery, select 'run diagnostics',
     enter memory test (quick) screen,
     and observe that the delay reduces while pressing keyboard

Cq-Depend: chromium:2423699
Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: I7606911bee7257e8eed4ec35d197efaa57b72e13
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2424370
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minidiag/ui: Prevent calling update action if memory test is finished</title>
<updated>2020-11-12T12:40:04+00:00</updated>
<author>
<name>Hsuan Ting Chen</name>
<email>roccochen@chromium.org</email>
</author>
<published>2020-09-22T07:49:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=34e90fe57efa32774f5a5d6073cbc74a126e676c'/>
<id>34e90fe57efa32774f5a5d6073cbc74a126e676c</id>
<content type='text'>
Skip calling diagnostics_memory_update_screen() action if memory test is
finished to reduce delays in memory diagnostics screens.

BUG=b:168776970, b:171852478
BRANCH=none
TEST=Build locally, boot recovery, select 'run diagnostics',
     enter memory test (quick) screen, wait until test is finished,
     and observe that the delay reduces while pressing keyboard

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: I4f8dbadc68989112bce418119ff7405ec150a7df
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2423089
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Skip calling diagnostics_memory_update_screen() action if memory test is
finished to reduce delays in memory diagnostics screens.

BUG=b:168776970, b:171852478
BRANCH=none
TEST=Build locally, boot recovery, select 'run diagnostics',
     enter memory test (quick) screen, wait until test is finished,
     and observe that the delay reduces while pressing keyboard

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: I4f8dbadc68989112bce418119ff7405ec150a7df
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2423089
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot/ui: Remove extra delay for long iteration time</title>
<updated>2020-11-12T12:40:03+00:00</updated>
<author>
<name>Hsuan Ting Chen</name>
<email>roccochen@chromium.org</email>
</author>
<published>2020-09-23T06:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=58894ec1de7fa63948a04f72434931081f0458e4'/>
<id>58894ec1de7fa63948a04f72434931081f0458e4</id>
<content type='text'>
If an iteration takes longer than KEY_DELAY_MS, no extra delay.
Otherwise, delay until the iteration time reaches KEY_DELAY_MS.

BUG=b:168776970
BRANCH=none
TEST=Build locally

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: Ia78dbe1cc87d08c02f99f4fc9269929c12c18b77
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2424373
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an iteration takes longer than KEY_DELAY_MS, no extra delay.
Otherwise, delay until the iteration time reaches KEY_DELAY_MS.

BUG=b:168776970
BRANCH=none
TEST=Build locally

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: Ia78dbe1cc87d08c02f99f4fc9269929c12c18b77
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2424373
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot/ui/tests: Remove unnecessary aborting delay check</title>
<updated>2020-11-12T12:40:01+00:00</updated>
<author>
<name>Hsuan Ting Chen</name>
<email>roccochen@chromium.org</email>
</author>
<published>2020-10-30T08:28:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=7991ecdb219a5290e2e5a9663b19fce8e5b15145'/>
<id>7991ecdb219a5290e2e5a9663b19fce8e5b15145</id>
<content type='text'>
- Do not check if delay is aborted every time since we already have
an individual test item.
- Do not save the last return value of vb2ex_mtime() to allow us to use
vb2ex_mtime() elsewhere.
- Use fuzzy match for `delay finished` test items.

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

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: Ic211955637c67dc35ffd4c12194a8ccb77e1bf9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2508104
Reviewed-by: Joel Kitching &lt;kitching@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>
- Do not check if delay is aborted every time since we already have
an individual test item.
- Do not save the last return value of vb2ex_mtime() to allow us to use
vb2ex_mtime() elsewhere.
- Use fuzzy match for `delay finished` test items.

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

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: Ic211955637c67dc35ffd4c12194a8ccb77e1bf9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2508104
Reviewed-by: Joel Kitching &lt;kitching@chromium.org&gt;
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot/ui/tests: Add time-related constants in 2ui_private.h</title>
<updated>2020-11-04T11:49:58+00:00</updated>
<author>
<name>Hsuan Ting Chen</name>
<email>roccochen@chromium.org</email>
</author>
<published>2020-11-02T11:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=10343b821fbc1e1ff9db19af45c9c0827389df7f'/>
<id>10343b821fbc1e1ff9db19af45c9c0827389df7f</id>
<content type='text'>
Add several constants in 2ui_private.h for testing:
- KEY_DELAY_MS
- DEV_DELAY_SHORT_MS
- DEV_DELAY_NORMAL_MS
- DEV_DELAY_BEEP1_MS
- DEV_DELAY_BEEP2_MS

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

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: I7349d5214a90699fda67135329d7a6b93022bb27
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2513418
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-by: Joel Kitching &lt;kitching@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add several constants in 2ui_private.h for testing:
- KEY_DELAY_MS
- DEV_DELAY_SHORT_MS
- DEV_DELAY_NORMAL_MS
- DEV_DELAY_BEEP1_MS
- DEV_DELAY_BEEP2_MS

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

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: I7349d5214a90699fda67135329d7a6b93022bb27
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2513418
Reviewed-by: Yu-Ping Wu &lt;yupingso@chromium.org&gt;
Reviewed-by: Joel Kitching &lt;kitching@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot/ui: Suffix "_ms" to time-related variables</title>
<updated>2020-11-04T11:49:55+00:00</updated>
<author>
<name>Hsuan Ting Chen</name>
<email>roccochen@chromium.org</email>
</author>
<published>2020-11-02T10:50:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=935e2b9d3fc0dbe67cb93acaa16bac9d49bff894'/>
<id>935e2b9d3fc0dbe67cb93acaa16bac9d49bff894</id>
<content type='text'>
For test/vb2_ui_tests.c:
- Rename mock_get_timer_last to mock_get_timer_last_ms.
- Rename mock_time to mock_time_ms.
- Rename mock_time_start to mock_time_start_ms.

For 2lib/2ui.c and 2lib/2ui_screen.c:
- Rename start_time to start_time_ms in struct vb2_ui_context.
- Rename elapsed to elapsed_ms in developer_mode_action().

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

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: Icabe04003f0dc95f41c9ed8b8e2292f1f64e86bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2513417
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For test/vb2_ui_tests.c:
- Rename mock_get_timer_last to mock_get_timer_last_ms.
- Rename mock_time to mock_time_ms.
- Rename mock_time_start to mock_time_start_ms.

For 2lib/2ui.c and 2lib/2ui_screen.c:
- Rename start_time to start_time_ms in struct vb2_ui_context.
- Rename elapsed to elapsed_ms in developer_mode_action().

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

Signed-off-by: Hsuan Ting Chen &lt;roccochen@chromium.org&gt;
Change-Id: Icabe04003f0dc95f41c9ed8b8e2292f1f64e86bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2513417
</pre>
</div>
</content>
</entry>
<entry>
<title>common: log loopback detaches</title>
<updated>2020-11-03T07:15:12+00:00</updated>
<author>
<name>George Engelbrecht</name>
<email>engeg@google.com</email>
</author>
<published>2020-11-02T21:58:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=f1062d8ad6e596b7e8850e60c8b7f87d8fd84041'/>
<id>f1062d8ad6e596b7e8850e60c8b7f87d8fd84041</id>
<content type='text'>
We want to find the culprit loopback device which isn't detatching on
crbug.com/1141907. We might as well log our cleanup actions anyway, and
this will allow us to see the last loopback processed in production.

BUG=chromium:1141907
TEST=just a log message
BRANCH=None
Signed-off-by: George Engelbrecht &lt;engeg@google.com&gt;
Change-Id: I126efceae4f67993069675c23f6c4af61c7e5667
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2514561
Reviewed-by: LaMont Jones &lt;lamontjones@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want to find the culprit loopback device which isn't detatching on
crbug.com/1141907. We might as well log our cleanup actions anyway, and
this will allow us to see the last loopback processed in production.

BUG=chromium:1141907
TEST=just a log message
BRANCH=None
Signed-off-by: George Engelbrecht &lt;engeg@google.com&gt;
Change-Id: I126efceae4f67993069675c23f6c4af61c7e5667
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2514561
Reviewed-by: LaMont Jones &lt;lamontjones@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common: save the existing return value on cleanup</title>
<updated>2020-11-03T07:15:11+00:00</updated>
<author>
<name>George Engelbrecht</name>
<email>engeg@google.com</email>
</author>
<published>2020-11-02T21:24:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=fd5cd5aa9883d346b102210004b8fafecc1ba457'/>
<id>fd5cd5aa9883d346b102210004b8fafecc1ba457</id>
<content type='text'>
Currently this trap initiated function will not save the orginal return
value of the script. Save it and return it on exit.

BUG=chromium:1141907
TEST=unittest and manually on a signer
BRANCH=None
Signed-off-by: George Engelbrecht &lt;engeg@google.com&gt;
Change-Id: Icd807f4d153e4bcc1d309fbcea43c2b3344771ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2514560
Reviewed-by: Sean McAllister &lt;smcallis@google.com&gt;
Reviewed-by: LaMont Jones &lt;lamontjones@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently this trap initiated function will not save the orginal return
value of the script. Save it and return it on exit.

BUG=chromium:1141907
TEST=unittest and manually on a signer
BRANCH=None
Signed-off-by: George Engelbrecht &lt;engeg@google.com&gt;
Change-Id: Icd807f4d153e4bcc1d309fbcea43c2b3344771ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2514560
Reviewed-by: Sean McAllister &lt;smcallis@google.com&gt;
Reviewed-by: LaMont Jones &lt;lamontjones@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup_minimal: remove duplicate trap for temps and mounts</title>
<updated>2020-11-03T07:15:10+00:00</updated>
<author>
<name>George Engelbrecht</name>
<email>engeg@google.com</email>
</author>
<published>2020-11-02T21:16:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=204dfbdf7b70d798cb01e8785e8de58615ef8d16'/>
<id>204dfbdf7b70d798cb01e8785e8de58615ef8d16</id>
<content type='text'>
BUG=chromium:1141907
TEST=unit tests and manual signing run
Signed-off-by: George Engelbrecht &lt;engeg@google.com&gt;
BRANCH=none

Change-Id: I0316f464e138dea9e77b2554a3b31250e8b92c07
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2514559
Reviewed-by: Sean McAllister &lt;smcallis@google.com&gt;
Reviewed-by: LaMont Jones &lt;lamontjones@chromium.org&gt;
Commit-Queue: George Engelbrecht &lt;engeg@google.com&gt;
Tested-by: George Engelbrecht &lt;engeg@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG=chromium:1141907
TEST=unit tests and manual signing run
Signed-off-by: George Engelbrecht &lt;engeg@google.com&gt;
BRANCH=none

Change-Id: I0316f464e138dea9e77b2554a3b31250e8b92c07
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2514559
Reviewed-by: Sean McAllister &lt;smcallis@google.com&gt;
Reviewed-by: LaMont Jones &lt;lamontjones@chromium.org&gt;
Commit-Queue: George Engelbrecht &lt;engeg@google.com&gt;
Tested-by: George Engelbrecht &lt;engeg@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common.sh: adapt to get clean shellcheck</title>
<updated>2020-11-03T07:15:08+00:00</updated>
<author>
<name>George Engelbrecht</name>
<email>engeg@google.com</email>
</author>
<published>2020-11-02T20:30:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=0d46f9d37e24473569f36d8250979290d09edfde'/>
<id>0d46f9d37e24473569f36d8250979290d09edfde</id>
<content type='text'>
BUG=chromium:1141907
TEST=unit tests and manual signing run
Signed-off-by: George Engelbrecht &lt;engeg@google.com&gt;
BRANCH=none

Change-Id: I39b133ca69e717576140b418fc59dd167f068d59
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2514558
Reviewed-by: Sean McAllister &lt;smcallis@google.com&gt;
Reviewed-by: LaMont Jones &lt;lamontjones@chromium.org&gt;
Commit-Queue: George Engelbrecht &lt;engeg@google.com&gt;
Tested-by: George Engelbrecht &lt;engeg@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG=chromium:1141907
TEST=unit tests and manual signing run
Signed-off-by: George Engelbrecht &lt;engeg@google.com&gt;
BRANCH=none

Change-Id: I39b133ca69e717576140b418fc59dd167f068d59
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2514558
Reviewed-by: Sean McAllister &lt;smcallis@google.com&gt;
Reviewed-by: LaMont Jones &lt;lamontjones@chromium.org&gt;
Commit-Queue: George Engelbrecht &lt;engeg@google.com&gt;
Tested-by: George Engelbrecht &lt;engeg@google.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
