Skip to content

disable TZ for SBL on boot since no config. included - #57

Merged
JamesHuard merged 3 commits into
OpenDevicePartnership:mcxa-secure-bootfrom
alamfarjadf:disable-tzm-preset
Oct 23, 2026
Merged

JamesHuard merged 3 commits into
OpenDevicePartnership:mcxa-secure-bootfrom
alamfarjadf:disable-tzm-preset

Conversation

@alamfarjadf

Copy link
Copy Markdown

One line changed in MCXA-SECURE-PROVISIONER

TZM was originally meant to be configured for SBL, which is why I had added it as "enforce" but we are not doing that. Which means on boot ROM looks for the config and then refuses to boot since we don't provide one.

Disable the TZ enforcement setting on CMPA.

Tested on EVK, boots fine with SB turned on when TZ disabled, no boot otherwise.

@JamesHuard
JamesHuard enabled auto-merge (squash) October 22, 2026 15:05
@jerrysxie
jerrysxie requested review from JamesHuard and felipebalbi and a balanced review from Copilot October 22, 2026 15:35
JamesHuard
JamesHuard previously approved these changes Oct 22, 2026
@jerrysxie jerrysxie added this to EC Oct 22, 2026
@jerrysxie jerrysxie moved this to In Progress in EC Oct 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The single-field change matches the intended boot behavior, with successful secure-boot testing on EVK reported and no unresolved findings.

No open issues 🎉

What changed in this PR

Disables TrustZone preset enforcement in the MCXA provisioner’s CMPA configuration so the boot ROM can boot SBL without a supplied TrustZone configuration.

Changes:

  • Sets enf_tzm_preset to false while leaving the surrounding security settings unchanged.
File Description
libs/​mcxa-security-provisioning/​src/​lib.rs Disables TrustZone preset enforcement in CMPA.

Review effort: Balanced

auto-merge was automatically disabled October 22, 2026 18:11

Head branch was pushed to by a user without write access

felipebalbi
felipebalbi previously approved these changes Oct 22, 2026
@alamfarjadf

Copy link
Copy Markdown
Author

@felipebalbi Sorry fmt issues, should be fixed.

@felipebalbi

Copy link
Copy Markdown
Contributor

@felipebalbi Sorry fmt issues, should be fixed.

ready to merge

@JamesHuard
JamesHuard merged commit 54cc113 into OpenDevicePartnership:mcxa-secure-boot Oct 23, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in EC Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants