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

Tools: uploader.py: verify correct install #29164

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

Conversation

rafasaurus
Copy link

  • Implement functionality to verify correct firmware installation
  • Utilize existing code with an additional argument for verification

Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

"verify" is really, "verify that the flash worked".

You're re-using the functionality, but that terminology isn't really applicable in this case.

I'm OK with the current name of the parameter, but if we can find something better that would be good!

--assert-firmware-is would work, but a little verbose

In any case, a slightly better description is called for...

Tools/scripts/uploader.py Outdated Show resolved Hide resolved
Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

... also, please fold all of this into the one commit . The one starting with Tools: looks appropriate.

@rafasaurus
Copy link
Author

... also, please fold all of this into the one commit . The one starting with Tools: looks appropriate.

Should we just squash and merge?

@rafasaurus rafasaurus force-pushed the uploader-verify branch 2 times, most recently from feccd9f to c601402 Compare January 31, 2025 16:31
Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

Please avoid merge commits in your history - this needs a rebase again.

I've also requested a change you suggested yourself. I think the suggestion makes it unambiguous what the new feature does?

Tools/scripts/uploader.py Outdated Show resolved Hide resolved
Tools/scripts/uploader.py Outdated Show resolved Hide resolved
@rafasaurus rafasaurus force-pushed the uploader-verify branch 2 times, most recently from c0682e2 to 43da991 Compare February 3, 2025 13:56
@rafasaurus
Copy link
Author

Please avoid merge commits in your history - this needs a rebase again.

I've also requested a change you suggested yourself. I think the suggestion makes it unambiguous what the new feature does?

Changed, rebased and tested on the board.

@rafasaurus rafasaurus force-pushed the uploader-verify branch 5 times, most recently from edac873 to f8419d8 Compare February 5, 2025 09:03
- Implement functionality to verify correct firmware installation
- Utilize existing code with an additional argument for verification
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