fwTPM demo updates: PolarFire SoC, ZCU102 R5, STM32H5#4
Open
dgarske wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three independent fwTPM example updates, one self-contained commit each:
PolarFire SoC fwTPM (Microchip MPFS250T)
DDR_WCBtransport: the shared mailbox lives in the non-cached0xC0000000DDR window so it is coherent for the bare-metal hart 4 (the U54 L1d is write-back with no cache-maintenance instruction, so a cacheable mailbox is not coherent on the stock HSS).TPM2_Startup,TPM2_GetCapability,TPM2_GetRandom); the singlefwtpm_caps.pyclient reads the result over/dev/memand reports PASS/FAIL.Manufacturer "WOLF") and live System Controller TRNG entropy.ZCU102 R5 fwTPM (Xilinx)
fwtpm_caps.c: APU-sideTPM2_GetCapabilityclient over OpenAMP rpmsg (theexamples/wrap/capsanalogue), plus a PetaLinuxfwtpm-capsrecipe that installs/usr/bin/fwtpm_caps.STM32H5 fwTPM
fwtpm_nv_flash.c: append-only NV journal on STM32H5 internal flash, so TPM NV state survives a power cycle. Requires wolfTPM v4.1.0+ (append-only NV HAL, PR #540) — documented in the README anduser_settings.h.Each example's README and the root README are updated.