-
Notifications
You must be signed in to change notification settings - Fork 3k
PSA Bring Your Own Service #10447
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
PSA Bring Your Own Service #10447
Conversation
fixed astyle |
@alzix, thank you for your changes. |
CI started |
Test run: FAILEDSummary: 3 of 7 test jobs failed Failed test jobs:
|
CI restarted |
Test run: FAILEDSummary: 3 of 7 test jobs failed Failed test jobs:
|
CI restarted |
Test run: FAILEDSummary: 1 of 7 test jobs failed Failed test jobs:
|
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.
@bridadan please review
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.
The last thing I would ask for before this comes in is documentation. I understand that all of the generation steps are necessary for this feature, however this is atypical for the rest of the targets. I'm worried that future work on the tools will break the generation step unintentionally.
I think having a document inside the tools/psa
folder or the docs
folder would be fine. Just something that describes the extra scanning and generation steps.
Updated commit message to align with the final version of the changes |
Done in b69e67d |
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.
Thanks for the docs!
Btw, @theotherjimmy is unavailable for the next week or so.
so lets merge this PR before he returns :) |
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.
Please provide details to "Update PSA code generator" - the largest commit missing details what this update brings - this one is the functional changes - what is it changing and why? (some details are shared above)
Unify TF-M and Mbed-SPM code generators: - Unify SPM initialization logic: - All partitions are registered at once - Test partitions are guarded by #ifndef - Introduce single template list - Beatify template files and add "Autogen-do not modify" notice Prepare for integration with mbed-os build system: - Generate all the files in a single place Simplify tools/psa/release.py script
PSA code generation will be called automatically upon mbed invocation. The autogenerated files will be created under <mbed-os-root>/PSA_AUTOGEN directory.
Done |
CI restarted |
Test run: FAILEDSummary: 1 of 7 test jobs failed Failed test jobs:
|
@ARMmbed/mbed-os-maintainers can someone run the mbed2-build-GCC_ARM again? |
@orenc17 the ci seems to think GCC_ARM actually passed so not sure why it is reporting a failure. I've questioned this with the ci guys |
OK have restarted GCC_ARM, actually looks like it timed out trying to propagate the results :( |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
Add support for application developers to specify their custom PSA secure partitions.
Custom PSA Secure partition sources expected to be placed under
COMPONENT_SPE
directory as shown below:Note: When building an application secure images with custom secure partitions use
mbed-cli
instead oftools/psa/release.py
.Do not forget to add
--app-config <mbed-os-root>/tools/psa/tfm/mbed_app.json
for TF-M based platforms (e.g.LPC55S69_S
)Targets 5.12.3 patch release. There is a customer waiting for it.
Tested with following compilations:
Pull request type
Reviewers
@theotherjimmy @bridadan @ndevillard
Release Notes