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

clevo/ec-flash.sh: add #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

clevo/ec-flash.sh: add #2

wants to merge 1 commit into from

Conversation

macpijan
Copy link
Contributor

Signed-off-by: Maciej Pijanowski maciej.pijanowski@3mdeb.com

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>

update_ec() {
echo "Getting EC firmware update..."
cp $EC_UPDATE_PATH /tmp/ecupdate.rom
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to make this copy?

Copy link
Contributor Author

@macpijan macpijan Nov 4, 2022

Choose a reason for hiding this comment

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

@mkopec I was also wondering. It is just a copy from DTS ec_transition script, leaving just the EC update part.
@TomaszAIR CC

Maybe there was a reason in the original script, I'm not sure. I just quickly stripped it off.

Choose a reason for hiding this comment

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

This is because we stored hash values hardcoded in the following form (as in other, similar script)

EC_HASH="123123123123123      /tmp/ecupdate.rom

so we checked hash against file in specific path.

@miczyg1
Copy link
Contributor

miczyg1 commented Sep 15, 2023

@macpijan is this PR still valid?

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.

4 participants