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

[ownership] Manual cherry-pick of #24643. #24994

Merged

Conversation

moidx
Copy link
Contributor

@moidx moidx commented Nov 4, 2024

Manual cherry-pick of #24643.

In order to facilitate debuging and manual test flows for ownerhsip transfer,
we allow the owner pages to be erased if and only if the chip is in the DEV
lifecycle state AND the ROM_EXT was specifically built to allow owner erase.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit a14571e)
@moidx moidx requested review from a team as code owners November 4, 2024 01:54
@moidx moidx removed request for a team November 4, 2024 01:54
1. Generate owner and application keys for the `SiVal` user in the
   CloudKMS instance.  Export the public components of those keys to the
   codebase (see
   `sw/device/silicon_creator/rom_ext/sival/keys/README.md`).
2. Add the keys to the appropriate exec_envs.
3. Add a config setting `//signing:owner_key_type` for selecting between
   RSA and ECDSA keys (RSA keys are for the currently released ROM_EXT
   0.4).

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit b3af7c1)
1. Create `dummy` ECDSA application keys for ownership transfer tests.
2. Delete `dummy` RSA application keys.

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit 2a8092f)
@moidx moidx force-pushed the a1-ownership-xfer-cherrypicks-v4 branch from 36fdf54 to 5dfc799 Compare November 4, 2024 02:15
@moidx moidx merged commit 440db25 into lowRISC:earlgrey_1.0.0 Nov 4, 2024
29 checks passed
@moidx moidx deleted the a1-ownership-xfer-cherrypicks-v4 branch November 4, 2024 18:25
@moidx moidx changed the title [ownership] Manual cherry-pick of #24637. [ownership] Manual cherry-pick of #24643. Nov 4, 2024
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.

3 participants