Skip to content
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

219 cro3 flash recovery should use signed image on usb #239

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

mhiramat
Copy link
Collaborator

@mhiramat mhiramat commented Apr 4, 2024

cro3 flash uses signed recovery image and it requires --usb option.

Since --recovery flashes a USB recovery image, it should be written
in USB flash. If we directly write it to DUT, the DUT will not boot.
Copy link
Collaborator

@hikalium hikalium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some nits

src/cmd/flash.rs Outdated Show resolved Hide resolved
src/cmd/flash.rs Outdated Show resolved Hide resolved
@mhiramat mhiramat force-pushed the 219-lium-flash-recovery-should-use-signed-image-on-usb branch from e36e859 to 4bae6f8 Compare April 10, 2024 05:25
@mhiramat
Copy link
Collaborator Author

Updated according to the comment.

When we recover DUT from bricked state, we need to use signed image
instead of unsigned one. Use "signed" recovery image for making a
recovery USB flash.
@mhiramat mhiramat force-pushed the 219-lium-flash-recovery-should-use-signed-image-on-usb branch from 4bae6f8 to 1075918 Compare April 10, 2024 05:27
@mhiramat
Copy link
Collaborator Author

fix a style problem.

@hikalium hikalium merged commit 608ae19 into main Apr 10, 2024
3 checks passed
@hikalium hikalium deleted the 219-lium-flash-recovery-should-use-signed-image-on-usb branch April 10, 2024 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lium flash --recovery should use signed image on USB
2 participants