-
Notifications
You must be signed in to change notification settings - Fork 46
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
Add command to retrieve IDevID CSR from persistent storage. #1732
Conversation
@jhand2 I have a runtime implementation as well, but I need to refactor the runtime integration tests to allow setting the |
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.
Discussion pending on whether a ROM change is necessary.
#1687 can't be done without a ROM change because no other code can wield IDevID to sign the CSR. But anyway, we can discuss the use case and if anyone is uncomfortable with the solution. |
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.
Make it about half way throught. Will take another look later today or tomorrow.
As a general comment, I think moving the log stuff to a separate PR would help make this one a lot smaller.
bad1ed3
to
9118048
Compare
360a5c6
to
f6e36e7
Compare
f6e36e7
to
41a60cc
Compare
* This resolves chipsalliance#1687, for ROM.
41a60cc
to
e87dbdf
Compare
ROM Backwards compatibility
If the runtime is used with a ROM that does not support CSR generation,
RUNTIME_GET_IDEV_ID_UNSUPPORTED_ROM
is returned as an error.This was tested manually by pulling in the ROM checked into https://github.com/chipsalliance/caliptra-sw/releases/tag/release_v20240719_1 and running the
get_idev_csr
test suite.