<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/coreboot/vboot.git/tests, branch stabilze-7441.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>signer: create devkeys with and without pkc</title>
<updated>2015-09-09T06:32:43+00:00</updated>
<author>
<name>David Riley</name>
<email>davidriley@chromium.org</email>
</author>
<published>2015-09-08T20:05:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=28f43363b414e86a188ff27378710078fd9fc9cc'/>
<id>28f43363b414e86a188ff27378710078fd9fc9cc</id>
<content type='text'>
Signing test of firmware for non-t210 targets fails when PKC
keys are present so separate devkeys into two keysets where only
one has the PKC key.

BUG=chrome-os-partner:44227
TEST=sign_official_build.sh nv_lp0_firmware tegra_lp0_resume.fw tests/devkeys-pkc tegra_lp0_resume.fw.signed versions.default
BRANCH=signer

Change-Id: Ie0670638d30d17692f1113b5a9f0309ea610d72a
Signed-off-by: David Riley &lt;davidriley@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/298091
Reviewed-by: Mike Frysinger &lt;vapier@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signing test of firmware for non-t210 targets fails when PKC
keys are present so separate devkeys into two keysets where only
one has the PKC key.

BUG=chrome-os-partner:44227
TEST=sign_official_build.sh nv_lp0_firmware tegra_lp0_resume.fw tests/devkeys-pkc tegra_lp0_resume.fw.signed versions.default
BRANCH=signer

Change-Id: Ie0670638d30d17692f1113b5a9f0309ea610d72a
Signed-off-by: David Riley &lt;davidriley@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/298091
Reviewed-by: Mike Frysinger &lt;vapier@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>signer: Add signing support for nvidia lp0 firmware from signer</title>
<updated>2015-09-08T18:21:23+00:00</updated>
<author>
<name>David Riley</name>
<email>davidriley@chromium.org</email>
</author>
<published>2015-09-04T23:05:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=69898e6c513fd5b9e74de12714d2edbd17a4a56a'/>
<id>69898e6c513fd5b9e74de12714d2edbd17a4a56a</id>
<content type='text'>
Signer was calling sign_official_build.sh in a manner that wasn't
being accepted correctly.  Also add test keys from firmware branch.

BUG=chrome-os-partner:44227
TEST=sign_official_build.sh nv_lp0_firmware tegra_lp0_resume.fw tests/devkeys tegra_lp0_resume.fw.signed versions.default
BRANCH=signer

Change-Id: Icd298ac75e3da746220826dc2fb9cc2466e41f1d
Signed-off-by: David Riley &lt;davidriley@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/297802
Reviewed-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signer was calling sign_official_build.sh in a manner that wasn't
being accepted correctly.  Also add test keys from firmware branch.

BUG=chrome-os-partner:44227
TEST=sign_official_build.sh nv_lp0_firmware tegra_lp0_resume.fw tests/devkeys tegra_lp0_resume.fw.signed versions.default
BRANCH=signer

Change-Id: Icd298ac75e3da746220826dc2fb9cc2466e41f1d
Signed-off-by: David Riley &lt;davidriley@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/297802
Reviewed-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>VbNvStorage: Add flags for misc settings</title>
<updated>2015-08-01T02:51:38+00:00</updated>
<author>
<name>Furquan Shaikh</name>
<email>furquan@google.com</email>
</author>
<published>2015-07-30T20:38:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=8804be8cbeccfca8085a45c76c0d510f030d9061'/>
<id>8804be8cbeccfca8085a45c76c0d510f030d9061</id>
<content type='text'>
1. Change offset 8 to hold all misc settings (fastboot, boot_on_ac
detect) instead of only fastboot settings.
2. Add flag to hold state of boot_on_ac_detect (If set to 1, AP should
start booting as soon as AC is connected in off-state).

BUG=chrome-os-partner:41680
BRANCH=None
TEST=Compiles successfully. make runtests successful.

Change-Id: I64b3fc69bd52cbcaf5899c953ccafa2e81b5b8a5
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/289900
Trybot-Ready: Furquan Shaikh &lt;furquan@chromium.org&gt;
Tested-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Vincent Palatin &lt;vpalatin@chromium.org&gt;
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Furquan Shaikh &lt;furquan@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Change offset 8 to hold all misc settings (fastboot, boot_on_ac
detect) instead of only fastboot settings.
2. Add flag to hold state of boot_on_ac_detect (If set to 1, AP should
start booting as soon as AC is connected in off-state).

BUG=chrome-os-partner:41680
BRANCH=None
TEST=Compiles successfully. make runtests successful.

Change-Id: I64b3fc69bd52cbcaf5899c953ccafa2e81b5b8a5
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/289900
Trybot-Ready: Furquan Shaikh &lt;furquan@chromium.org&gt;
Tested-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Vincent Palatin &lt;vpalatin@chromium.org&gt;
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Furquan Shaikh &lt;furquan@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cgpt repair: fix segfault which occurs when one of the headers is bad</title>
<updated>2015-06-13T02:53:36+00:00</updated>
<author>
<name>Andrey Ulanov</name>
<email>andreyu@google.com</email>
</author>
<published>2015-06-11T03:02:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=1eb83efdba367db2a590eb94a0cc45cd538aa696'/>
<id>1eb83efdba367db2a590eb94a0cc45cd538aa696</id>
<content type='text'>
When one of GPT headers is invalid the corresponding partition table
is not loaded and corresponding pointers in GptData are NULL.
GptRepair will try to memcpy one entries table to another which
results in SIGSEGV.

This change fixes it by freeing and then reallocating bad copy of
partition table. This potentially fixes problems which would occur
if two tables have different size.

Change that initially introduced this problem by not always allocating
secondary_entries:
https://chromium-review.googlesource.com/223800

TEST="cgpt repair" works where it previously didn't
TEST=make runtests
BUG=brillo:1203
BRANCH=none

Change-Id: Ibb2fcf33faa5ba157b0865d04c90ee3f26eee113
Reviewed-on: https://chromium-review.googlesource.com/276766
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Andrey Ulanov &lt;andreyu@google.com&gt;
Tested-by: Andrey Ulanov &lt;andreyu@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When one of GPT headers is invalid the corresponding partition table
is not loaded and corresponding pointers in GptData are NULL.
GptRepair will try to memcpy one entries table to another which
results in SIGSEGV.

This change fixes it by freeing and then reallocating bad copy of
partition table. This potentially fixes problems which would occur
if two tables have different size.

Change that initially introduced this problem by not always allocating
secondary_entries:
https://chromium-review.googlesource.com/223800

TEST="cgpt repair" works where it previously didn't
TEST=make runtests
BUG=brillo:1203
BRANCH=none

Change-Id: Ibb2fcf33faa5ba157b0865d04c90ee3f26eee113
Reviewed-on: https://chromium-review.googlesource.com/276766
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Andrey Ulanov &lt;andreyu@google.com&gt;
Tested-by: Andrey Ulanov &lt;andreyu@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot2: Add 2.0 api layer to verify kernel partition</title>
<updated>2015-06-09T21:30:39+00:00</updated>
<author>
<name>Randall Spangler</name>
<email>rspangler@chromium.org</email>
</author>
<published>2015-05-19T20:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=d7f0f93fa878e6dd7435adbe034e1fc7474f94b0'/>
<id>d7f0f93fa878e6dd7435adbe034e1fc7474f94b0</id>
<content type='text'>
This allows the caller to load the kernel partition and then pass it
to vboot for verification, rather than having vboot assume the kernel
partitions are all on a block storage device.

Next up, APIs for the caller to parse partition information from a GPT
(yes, that's cgptlib, but we'll make it more easily callable by
depthcharge).

BUG=chromium:487699
BRANCH=none
TEST=make -j runtests

Change-Id: I388085c7023f4c76d416f37df0607019bea844ac
Signed-off-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/275646
Reviewed-by: Daisuke Nojiri &lt;dnojiri@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the caller to load the kernel partition and then pass it
to vboot for verification, rather than having vboot assume the kernel
partitions are all on a block storage device.

Next up, APIs for the caller to parse partition information from a GPT
(yes, that's cgptlib, but we'll make it more easily callable by
depthcharge).

BUG=chromium:487699
BRANCH=none
TEST=make -j runtests

Change-Id: I388085c7023f4c76d416f37df0607019bea844ac
Signed-off-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/275646
Reviewed-by: Daisuke Nojiri &lt;dnojiri@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot2: Add routines to load kernel preamble</title>
<updated>2015-06-04T19:32:56+00:00</updated>
<author>
<name>Randall Spangler</name>
<email>rspangler@chromium.org</email>
</author>
<published>2015-05-29T17:53:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=22da78ce594d1e9893fe418e4a021db17002f777'/>
<id>22da78ce594d1e9893fe418e4a021db17002f777</id>
<content type='text'>
The kernel data itself will be read and verified by a subsequent
change.

BUG=chromium:487699
BRANCH=none
TEST=make -j runtests

Change-Id: Ife4f8250493ec6457f91fda57ae8d4d7bf18ec89
Signed-off-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/274038
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The kernel data itself will be read and verified by a subsequent
change.

BUG=chromium:487699
BRANCH=none
TEST=make -j runtests

Change-Id: Ife4f8250493ec6457f91fda57ae8d4d7bf18ec89
Signed-off-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/274038
Reviewed-by: Bill Richardson &lt;wfrichar@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cgpt: Add a callback to allow override of GPT entry priority</title>
<updated>2015-06-04T11:57:47+00:00</updated>
<author>
<name>Furquan Shaikh</name>
<email>furquan@google.com</email>
</author>
<published>2015-06-02T17:32:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=7a1c0d1ec852ee86237aba7f3c87d642ca8e00b0'/>
<id>7a1c0d1ec852ee86237aba7f3c87d642ca8e00b0</id>
<content type='text'>
This can be used by implementations that want to request vboot to
favor a particular kernel entry for booting without affecting the
checks for rollback protection and image verification.

CQ-DEPEND=CL:274716, CL:274932, CL:275171
BUG=None
BRANCH=None
TEST=Compiles successfully. make -j runtests successful.

Change-Id: I6a4600020354f5d4118c17f083c353c2585c4181
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/274558
Reviewed-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Stefan Reinauer &lt;reinauer@chromium.org&gt;
Tested-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Commit-Queue: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Trybot-Ready: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This can be used by implementations that want to request vboot to
favor a particular kernel entry for booting without affecting the
checks for rollback protection and image verification.

CQ-DEPEND=CL:274716, CL:274932, CL:275171
BUG=None
BRANCH=None
TEST=Compiles successfully. make -j runtests successful.

Change-Id: I6a4600020354f5d4118c17f083c353c2585c4181
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/274558
Reviewed-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Stefan Reinauer &lt;reinauer@chromium.org&gt;
Tested-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Commit-Queue: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Trybot-Ready: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vboot2: secdata: Check struct_version on initialization</title>
<updated>2015-06-02T01:04:00+00:00</updated>
<author>
<name>Julius Werner</name>
<email>jwerner@chromium.org</email>
</author>
<published>2015-05-29T23:56:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=7e21698e42dba31cc3e3c6b58a31bd050d3698ac'/>
<id>7e21698e42dba31cc3e3c6b58a31bd050d3698ac</id>
<content type='text'>
This patch reintroduces a vb2_secdata-&gt;struct_version check similar to
the one that was removed in CL:244846. The CRC is not a reliable way to
detect zeroed buffers, so this check helps vboot fail earlier and more
clearly in certain situations.

BRANCH=kitty,smaug,storm,veyron
BUG=chrome-os-partner:40778
TEST=make runtests. Rebooted Jerry with 'mem w 0xff7601b0 0xfdb9', saw
that recovery reason was now 0x2b (VBNV_RECOVERY_VB2_SECDATA_INIT).

Change-Id: Ic4376d127e6d14d4ef9c2f53c83090040ca4cb68
Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/274138
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Reviewed-by: Vadim Bendebury &lt;vbendeb@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch reintroduces a vb2_secdata-&gt;struct_version check similar to
the one that was removed in CL:244846. The CRC is not a reliable way to
detect zeroed buffers, so this check helps vboot fail earlier and more
clearly in certain situations.

BRANCH=kitty,smaug,storm,veyron
BUG=chrome-os-partner:40778
TEST=make runtests. Rebooted Jerry with 'mem w 0xff7601b0 0xfdb9', saw
that recovery reason was now 0x2b (VBNV_RECOVERY_VB2_SECDATA_INIT).

Change-Id: Ic4376d127e6d14d4ef9c2f53c83090040ca4cb68
Signed-off-by: Julius Werner &lt;jwerner@chromium.org&gt;
Reviewed-on: https://chromium-review.googlesource.com/274138
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Reviewed-by: Vadim Bendebury &lt;vbendeb@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fastboot: Add routines for unlock and lock device</title>
<updated>2015-05-29T11:29:29+00:00</updated>
<author>
<name>Furquan Shaikh</name>
<email>furquan@google.com</email>
</author>
<published>2015-05-26T04:49:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=773b5ac3a61f4ced2e0815959a6824bf8ba62f4f'/>
<id>773b5ac3a61f4ced2e0815959a6824bf8ba62f4f</id>
<content type='text'>
Add support for functions to request unlock and lock of devices in
response to fastboot oem unlock/lock commands. Unlock operation is
equivalent to enabling dev mode and lock operation is equivalent to
leaving dev mode. It is the responsibility of the caller to ensure
that user confirmation is obtained before unlock/lock operations.

BUG=chrome-os-partner:40196
BRANCH=None
TEST=Compiles successfully and fastboot lock/unlock operations work as
expected on smaug. Added tests to ensure lock/unlock operations are
covered. Verified using make -j runtests.

Change-Id: Ibafe75abdd1202473009208a414f3996d537db4f
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/273182
Reviewed-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Tested-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Furquan Shaikh &lt;furquan@chromium.org&gt;
Trybot-Ready: Furquan Shaikh &lt;furquan@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for functions to request unlock and lock of devices in
response to fastboot oem unlock/lock commands. Unlock operation is
equivalent to enabling dev mode and lock operation is equivalent to
leaving dev mode. It is the responsibility of the caller to ensure
that user confirmation is obtained before unlock/lock operations.

BUG=chrome-os-partner:40196
BRANCH=None
TEST=Compiles successfully and fastboot lock/unlock operations work as
expected on smaug. Added tests to ensure lock/unlock operations are
covered. Verified using make -j runtests.

Change-Id: Ibafe75abdd1202473009208a414f3996d537db4f
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/273182
Reviewed-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Tested-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Furquan Shaikh &lt;furquan@chromium.org&gt;
Trybot-Ready: Furquan Shaikh &lt;furquan@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fastboot: Add fastboot related flags to vb2</title>
<updated>2015-05-29T11:29:26+00:00</updated>
<author>
<name>Furquan Shaikh</name>
<email>furquan@google.com</email>
</author>
<published>2015-05-26T04:48:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/coreboot/vboot.git/commit/?id=d08a3435f867700c90e33398bf104557d98bf791'/>
<id>d08a3435f867700c90e33398bf104557d98bf791</id>
<content type='text'>
BUG=chrome-os-partner:40196
BRANCH=None
TEST=Compiles successfully.

Change-Id: I4305436b2ae46254e4e8b12039ffed95634d62c2
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/273181
Tested-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Furquan Shaikh &lt;furquan@chromium.org&gt;
Trybot-Ready: Furquan Shaikh &lt;furquan@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG=chrome-os-partner:40196
BRANCH=None
TEST=Compiles successfully.

Change-Id: I4305436b2ae46254e4e8b12039ffed95634d62c2
Signed-off-by: Furquan Shaikh &lt;furquan@google.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/273181
Tested-by: Furquan Shaikh &lt;furquan@chromium.org&gt;
Reviewed-by: Randall Spangler &lt;rspangler@chromium.org&gt;
Commit-Queue: Furquan Shaikh &lt;furquan@chromium.org&gt;
Trybot-Ready: Furquan Shaikh &lt;furquan@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
