[imm_rom_ext] Mint CDI_0 certs in immutable rom ext #25294
Merged
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.
Since CDI_0 attests the integrity of rom_ext, this PR moves the UDS & CDI_0 stage to the immutable rom_ext part, which will be executed before mutable rom_ext, to establish root trust in hardware.
SKU owners can choose whether the immutability should be enforced using the
CREATOR_SW_CFG_IMMUTABLE_ROM_EXT_EN
OTP field when the feature is ready.This PR also changes the ROM address translation e2e test from the
*_rom_with_fake_keys
exec env to*_rom_ext
env, since the key manager is not functional without secret2.To avoid ROM_EXT affecting ROM test results, we also modified the ROM_EXT boot message pattern to catch the immutable message, which will be printed first.