Contributions to the TF-M project need to follow the process below.
Please contact TF-M mailing list for any question.
Follow Design Proposal Guideline to propose your design.
Follow guidelines below to prepare the patch:
Clone the TF-M code on your own machine from TF-M git repository.
Make your changes in logical chunks to help reviewers. Each commit should be a separate review and either work properly or be squashed after the review and before merging.
Follow Documentation Contribution Guidelines to update documentation in
docsfolder if needed.
Test your changes and add details to the commit description.
Add a Change-Id to the commit message, which can be generated any way you like (e.g. from the SHA of the commit). It is suggested to clone repositories with commit-msg hook. The commit-msg hook attaches Change-Id automatically. Take trusted-firmware-m as an example.
Submit your patch for review. Refer to Uploading Changes for details of uploading patch.
Add relevant code owner(s) for reviewing the patch.
You may be asked to provide further details or make additional changes.
You can discuss further with code owner(s) and maintainer(s) directly via TF-M mailing list if necessary.
Allow-CI +1button on Gerrit page to run CI to validate your patch. Your patch shall pass CI successfully before being merged. Code owner(s) and maintainer(s) may ask for additional test.
Once the change is approved by code owners, the patch will be merged by the maintainer.
Copyright (c) 2017-2022, Arm Limited. All rights reserved.