-
Notifications
You must be signed in to change notification settings - Fork 3k
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
M2354: Generate unique MCUboot image version #15027
M2354: Generate unique MCUboot image version #15027
Conversation
@ccli8, thank you for your changes. |
@LDong-Arm Same as #14441, this PR changes frozen |
Change MCUboot image versioning to meet requirements below: 1. Major.Minor.Revision must be non-decremental when used to derive security counter (-s 'auto'). 2. Make Major.Minor.Revision+Build incremental to identify the firmware itself through psa_fwu_query(). 3. Get around MCUboot failure with TF-M underestimated MAX_BOOT_RECORD_SZ
f74d4d9
to
dcd30e0
Compare
Pull request has been modified.
Rebased for issue like #15030 (comment) |
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.
LGTM. We should ignore the frozen tools check failure, because the Nuvoton target is not used by the legacy tools.
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
This pull request has automatically been marked as stale because it has had no recent activity. , please complete review of the changes to move the PR forward. Thank you for your contributions. |
@0xc0170 Can we merge this as CI passed? |
Summary of changes
This PR tries to change TF-M post-build script to generate unique MCUboot image version. This makes image version unique fetched via PSA Firmware Update API
psa_fwu_query()
and can help support secure or combined secure/non-secure firmware update. Refer to the discussion thread for difficulties with their update.Pull request type
Test results