Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32906 )
Change subject: vboot: init display on recovery request
......................................................................
Patch Set 4:
(1 comment)
Sorry for missing this.
https://review.coreboot.org/#/c/32906/4/src/security/vboot/vboot_logic.c
File src/security/vboot/vboot_logic.c:
https://review.coreboot.org/#/c/32906/4/src/security/vboot/vboot_logic.c@371
PS4, Line 371: /* Jot down some information from vboot which may be required later on
: in coreboot boot flow. */
: if (ctx.flags & VB2_CONTEXT_DISPLAY_INIT)
: /* Mainboard/SoC should initialize display. */
: vboot_get_working_data()->flags |= VBOOT_WD_FLAG_DISPLAY_INIT;
: if (ctx.flags & VB2_CONTEXT_DEVELOPER_MODE)
: vboot_get_working_data()->flags |= VBOOT_WD_FLAG_DEVELOPER_MODE;
Okay, I'll verified this tomorrow. I also guess that cause by recovery won't go to phase 2. […]
Yes, I agree with Joel, the DISPLAY_INIT flag should already work correctly but the bug is that this block isn't executed in recovery mode. It needs to be moved before the return value check.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/32906
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id6ac611f51241373bca3e2b394a94dcd52d3fde7
Gerrit-Change-Number: 32906
Gerrit-PatchSet: 4
Gerrit-Owner: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Joel Kitching
kitching@google.com
Gerrit-Reviewer: Lijian Zhao
lijian.zhao@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Frank Wu
frank_wu@compal.corp-partner.google.com
Gerrit-CC: Ivy Jian
ivy_jian@compal.corp-partner.google.com
Gerrit-CC: Julius Werner
jwerner@chromium.org
Gerrit-CC: Van Chen
van_chen@compal.corp-partner.google.com
Gerrit-Comment-Date: Tue, 21 May 2019 22:44:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: EricR Lai
ericr_lai@compal.corp-partner.google.com
Comment-In-Reply-To: Joel Kitching
kitching@google.com
Gerrit-MessageType: comment