Plug and Play for Raspberry Pi Zero W Copy the image to your SD-Card sudo dd if=/path/to/plug_n_play_image of=/path/to/SD-Card the path to your SD-Card is usually /dev/XXX where XXX can be found out by running lsblk and identifying the size of your card Plug the SD-Card in your Pi and boot it. Connect the "USB" connector of the Pi(not the "PWR") to a USB port in your PC. The Pi will be recognized as a COM Port device. Look up the port number by opening the device-manager. Open Putty and select the connection type "serial". Enter COMX in the serial line where X is your port number. Set the speed to 115200 and press connect. The default login is "pi" with the password "raspberry". When connected to the Pi, run raspi-config and expand the file system to use all of your SD-Card. Setup WLAN from serial connection: https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md for more detailed setup edit configuration file for wlan access: sudo nano /etc/wpa_supplicant/wpa_supplicant.conf add the following lines to the end of the file: network={ ssid="The_ESSID_of_your_network" psk="Your_wifi_password" } exit and save the changes by pressing "CTRl+X" and confirming, then apply the settings with the following command: sudo wpa_cli reconfigure The TPM should be available immediately. Run ls /dev/tpm* to check whether /dev/tpm0 exists. In the home directory are two folders: TPM2.0-TSS and tpm2.0-tools. To use these projects for interaction with the TPM run sudo ./TPM2.0-TSS/resourcemgr/resourcemgr You can either use a second shell for the resourcemanager or run it in the background with no screen output: sudo ./TPM2.0-TSS/resourcemgr/resourcemgr > /dev/null & To end the process later, get its Process ID(PID) with ps -a | grep resourcemgr and kill it with sudo kill The tools can now be used by simply typing tpm2_XXX The tools contain man pages that can be called using tpm2_XXX -h An easy command to start with is tpm2_listpcrs which does not require any further arguments and thus serves as an easy test whether the configuration is functioning A more advanced example can be found in section 4 of the Infineon AppNote https://www.infineon.com/dgdl/Infineon-TPM20_SLB6970-AN-v01_00-EN.zip?fileId=5546d4625acbae4c015ad6d953664083