Skip to content

Conversation

@pamaury
Copy link
Contributor

@pamaury pamaury commented Feb 4, 2026

Backport #27263. Depends on #29238, only review last 3 commits.

@pamaury pamaury requested review from a team and cfrantz as code owners February 4, 2026 14:47
@pamaury pamaury requested review from engdoreis and removed request for a team February 4, 2026 14:47
In manufacturing ATE environments, constant sized UJSON strings are
preferred. CRCs are variable in length. Therefore, we enable setting the
CRC to a fixed value of 0 and skipping the check on the host side.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 9a66cc2)
This adds a function to opentitanlib to enable padding a UJSON string
with whitespace before the final "}" to enable testing always constant
sized host-->device UJSON transmissions. These will be used during ATE
provisioning flows.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 16b435f)
This adds UJSON serialization functions to enable transmitting fixed
size UJSON strings from the device --> host. This will be useful for
provisioning flows in ATE environments.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 3b354ff)
To facilitate bringup of the personalization flow in an ATE environment
fixed sized UJSON messages are required. This updates the
personalization flow to pad all UJSON messages between the host and
device with whitespace before each message's trailing "}" character to
ensure fixed size data transmissions.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants