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

[manuf] refactor FT flows to enable downstream OTP definitions #24919

Merged

Conversation

timothytrippel
Copy link
Contributor

This refactors the FT provisioning Bazel build binary and test targets to enable defining downstream OTP configurations and ingesting them into FT provisioning flows.

Additionally, this removes the reliance on build configurations to select which personalization extension to use, and simply builds and tests all FT provisioning flows that can be enumerated at build time. This makes it easier to run and test all flows upstream only, with: bazel test //sw/device/silicon_creator/manuf/base:ft_provision_cw310, or all flows upstream and downstream with:
PROV_EXTS_DIR=... bazel test //sw/device/silicon_creator/manuf/base:ft_provision_cw310. As a result, this also simplifies the build graph by removing configuration transistions.

This refactors the FT provisioning Bazel build binary and test targets
to enable defining downstream OTP configurations and ingesting them into
FT provisioning flows.

Additionally, this removes the reliance on build configurations to
select which personalization extension to use, and simply builds and
tests all FT provisioning flows that can be enumerated at build time.
This makes it easier to run and test all flows upstream only, with:
`bazel test //sw/device/silicon_creator/manuf/base:ft_provision_cw310`,
or all flows upstream and downstream with:
`PROV_EXTS_DIR=... bazel test //sw/device/silicon_creator/manuf/base:ft_provision_cw310`.
As a result, this also simplifies the build graph by removing
configuration transistions.

Signed-off-by: Tim Trippel <[email protected]>
@timothytrippel timothytrippel requested a review from moidx October 28, 2024 23:02
@timothytrippel timothytrippel requested review from cfrantz and a team as code owners October 28, 2024 23:02
@timothytrippel timothytrippel removed request for a team October 28, 2024 23:02
@timothytrippel
Copy link
Contributor Author

This fixes #24920.

@timothytrippel timothytrippel merged commit 118a771 into lowRISC:master Oct 29, 2024
51 checks passed
@timothytrippel timothytrippel deleted the enable-downstream-otps branch October 29, 2024 18:21
@timothytrippel timothytrippel added the CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0 label Oct 30, 2024
Copy link

Successfully created backport PR for earlgrey_1.0.0:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPick:earlgrey_1.0.0 This PR should be cherry-picked to earlgrey_1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[manuf] enable OTP definitions in @provisioning_exts external repo
2 participants