-
Notifications
You must be signed in to change notification settings - Fork 203
Pass measurement token between RoT and SP #2138
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
Open
mkeeter
wants to merge
20
commits into
master
Choose a base branch
from
mkeeter/measurement-token-handoff
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3ab9652
Warn if memory requirements are unmet
mkeeter 84f97f9
Let the SP restart a few times
mkeeter bf4d938
Documentation
mkeeter 25d0b04
Refactor 'reset SP and halt' logic
mkeeter 8d37a85
Cleanup ringbuf
mkeeter 6bc53da
Deposit token in SP memory after measuring
mkeeter a5195ae
Tweak timing
mkeeter 25090d0
More tweaks to SP side
mkeeter 3cf8cee
Bump archive version
mkeeter d5ed5b0
Use extern-regions for kernel instead
mkeeter 03b740d
Pre-PR changes
mkeeter 57b689e
Improve comments
mkeeter 8d0ea6d
Remove unused enum
mkeeter 53b9ef0
Cleaner error handling
mkeeter cec47ed
Add some documentation to reset pulse
mkeeter 9479685
Switch to external measurement-token repo
mkeeter 45cb96e
Add more checking of measurement handoff in build script
mkeeter 7a45278
Bump measurement-token, rename ADDR -> SP_ADDR
mkeeter f47afa1
More comments
mkeeter d8ba4ff
Minor tweaks
mkeeter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Do we have a draft of the humility changes necessary ? Manufacturing relies on
humility flash --check
,humility flash --verify
andhumility tasks idle
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.
Yeah, it's over in
mkeeter/measurement-token-handoff
.I'm wondering whether we should move the address + magic numbers into a common repo, e.g.
lpc55-areas
, to avoid completely magic values.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.
The idea of sharing the values between Hubris and Humility softwarily rather than by copy-paste is certainly appealing to me in theory...
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.
Well you're in luck: oxidecomputer/lpc55_support#94