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

Cherry-pick to earlgrey_1.0.0: [bazel,otp,manuf] Support immutable ROM_EXT enabling during personalization #24924

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

github-actions[bot]
Copy link

This is an automatic cherry-pick of #24826 to branch earlgrey_1.0.0.

This updates the logic to consider both `_ottf_start_address` and
 `_rom_ext_start_address` when determining the manifest start address.
This ensures compatibility with different ELF file formats that
generated from linker scripts such as `ottf_silicon_owner_a.ld` and
`rom_ext_slot_a.ld`, which may use either symbol to represent the start
address of the ROM_EXT section.

This also introduces a new feature that conditionally updates the OTP
JSON file with data from immutable ROM_EXT section. This update is
performed only if the immutable ROM_EXT is enabled.

Signed-off-by: Anthony Chen <[email protected]>
(cherry picked from commit 1e0e055)
This separates the provisioning of the IMMUTABLE_ROM_EXT_EN OTP field
from the rest of the CREATOR_SW_CFG partition. This is necessary because
the personalization firmware doesn't include an immutable ROM_EXT
section. Enabling immutable ROM_EXT earlier would prevent the
personalization firmware from being executed.

This also builds personalization firmware using the ROM_EXT immutable
section OTP generation tool by default.

Signed-off-by: Anthony Chen <[email protected]>
(cherry picked from commit e8897b0)
@github-actions github-actions bot requested a review from a team as a code owner October 29, 2024 06:31
@github-actions github-actions bot requested review from alees24 and removed request for a team October 29, 2024 06:31
@timothytrippel timothytrippel requested review from moidx and timothytrippel and removed request for alees24 October 29, 2024 06:32
@timothytrippel timothytrippel merged commit 12db5ad into earlgrey_1.0.0 Oct 29, 2024
26 checks passed
@timothytrippel timothytrippel deleted the backport-24826-to-earlgrey_1.0.0 branch October 29, 2024 15:00
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.

2 participants