-
-
Notifications
You must be signed in to change notification settings - Fork 10
Report firmware update result to the user #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
At this moment it contains: - DrainInput() - DrawGraphicPopUp() Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Unused at this point. Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Trace various branches of capsule processing to report how handling of a capsule or its payload went. The report is displayed at the end of the second round of capsule processing or after the first one if it ends with a reboot. Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
3cf7773 to
0833326
Compare
SergiiDmytruk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to the review comments:
- fixed a memory bug
- added reporting capsule result in one more place
- added displaying capsule GUIDs
- increased delay on success from 5 to 30 seconds
filipleple
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now 👍
it’s unclear which firmware version is currently runnig on a hardware. @SergiiDmytruk Instead of |
|
Maybe simply |
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
0833326 to
c2e30de
Compare
@SergiiDmytruk , perfect, approved. |





This amends capsule update code to collect some fairly high-level information about how things went, still this is more than one gets from capsule result variables and possibly even logs. The code takes into account possibility of multiple capsules (we don't know what a user of
fwupdcan do) and multiple payloads.The displaying part reuses the dialog implemented in #285 after making it generally available and also provides code for constructing dialogs which are then displayed as both text (for serial) and graphics (overrides the text on a display), so that both tests and users should be relatively happy. In the future, we could reuse this code for our other dialogs and have all of them look consistently.
Screenshots are available in Dasharo/dasharo-issues#1434 (comment).
coreboot PR: Dasharo/coreboot#826
issue: Dasharo/dasharo-issues#1434
ref: dsh-1127