Transclusion: IOT-GATE-iMX8: TPM

From Compulab Mediawiki
Jump to: navigation, search

Basic Functionality

  • Load the TPM kernel object:
root@iot-gate-imx8:~# modprobe tpm_tis_spi
  • Verify that the TPM device was created:
root@iot-gate-imx8:~# ls -lh /dev/tpm*
  • Install the tpm2-tools package
root@iot-gate-imx8:~# apt-get update
root@iot-gate-imx8:~# apt-get install tpm2-tools
  • Validate basic functionality
root@iot-gate-imx8:~# tpm2_getrandom 16