File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 3030## Build Options
3131
3232* ` WOLFTPM_SWTPM ` : Use socket transport (no TIS layer)
33- * ` TPM2_SWTPM_HOST ` : The host TPM address (default=localhost )
34- * ` TPM2_SWTPM_PORT ` : The socket port (default=2321 )
33+ * ` TPM2_SWTPM_HOST ` : The serial device to use (default=/dev/ttyS0 )
34+ * ` TPM2_SWTPM_PORT ` : The baud rate (default=115200 )
3535* ` WOLFTPM_SWTPM_UART ` : Use UART transport (no TIS layer)
3636
37-
3837## SWTPM simulator setup
3938
39+ ### Xilinx UART
40+
41+ Alternatively for raw API calls with Xilinx
42+
43+ ``` sh
44+ ./cofnigure --enable-swtpm=uartns550
45+ make
46+ ```
47+
48+ ## Build Options
49+
50+ * ` WOLFTPM_SWTPM ` : Use socket transport (no TIS layer)
51+ * ` TPM2_SWTPM_PORT ` : Used as the default baud rate (default=115200)
52+ * ` TPM2_SWTPM_HOST ` : The device to connect with (default=XPAR_MB0_AXI_UART16550_2_DEVICE_ID)
53+ * ` WOLFTPM_SWTPM_UARTNS550 ` : Use Xilinx UART transport (no TIS layer)
54+
4055### ibmswtpm2
4156
4257Checkout and Build
Original file line number Diff line number Diff line change 3535/******************************************************************************/
3636
3737#if defined(WOLFTPM_SWTPM_UARTNS550 )
38- /* having this on the stack and as thread local storage causes issues with
39- * Xilinx FSBL use */
38+ /* having this as static and as thread local storage causes run time issues
39+ * with Xilinx FSBL use */
4040 TPM2_CTX * gActiveTPM ;
4141#else
4242 static THREAD_LS_T TPM2_CTX * gActiveTPM ;
You can’t perform that action at this time.
0 commit comments