Skip to content

Conversation

@pamaury
Copy link
Contributor

@pamaury pamaury commented Nov 20, 2025

Backport #26017. Depends on #28796, only review the last commit.

This runs the E2E orchestrator provisioning test on all SKUs. Currently,
E2E provisioning flows are also runnable via an `opentitan_test` rule.
These will be removed in a future commit to simplify SKU management.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 5e0c795)
All provisioning flows are now tested E2E with the orchestrator script.
This makes the `opentitan_test` targets that also ran said flows
redundant and unneeded, thus we remove them. Additionally, we no longer
need duplicate CA configuration files as these are generated on the fly
by the orchestrator script from the same information that was duplicated
in the orchestrator SKU configuration files. This simplifies our test
infrastructure and provisioning flow configurations.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 6a5747a)
If CP flow is skipped because a device is already in TEST_LOCKED* state,
then the device ID constructed during FT will be the final device ID.
This is what should be used to update the database with.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 76d0596)
@pamaury pamaury requested review from a team and cfrantz as code owners November 20, 2025 22:55
@pamaury pamaury requested review from jwnrt, moidx and timothytrippel and removed request for a team, cfrantz, moidx and timothytrippel November 20, 2025 22:55
Previously the package ID was defined in the HJSON SKU configuration
file. This updates the orchestrator.py script to enable overriding this
field via a command line arg.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit c564ac4)
The "enable-alerts" and "use-ext-clk" flags of the orchestrator.py
script are already tested in a separate test.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit eaf6c7e)
This test was temporarily disabled to deal with CI issues that have now
been resolved.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 922fc1b)
Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit ae75936)
This updates the SKU specific portion of the device ID to add the
following subfields:
1. AST config version - 1 byte
2. OTP ID - 2 byte ASCII string
3. OTP version - 1 byte hex number
4. SKU specific version - 1 byte hex number

Signed-off-by: Tim Trippel <[email protected]>

[manuf] align format of OTP image names

This aligns all OTP image names to a four character format:
<alpha><alpha><uint in range [0,256)>

This allows easily converting the OTP image name string into a two
character OTP ID code and 2 hex digit OTP version number to be embedded
in the SKU specific portion of the device ID.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit ba4b885)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants