Trusted Platform Module 2.0

From ArmadeusWiki
Revision as of 18:17, 25 July 2018 by JulienB (Talk | contribs) (page creation)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Page under construction... Construction.png Informations on this page are not guaranteed !!

TPM 2.0 chips can be used with APF/OPOS SOMs. This page will summarize how to.

We suppose you have developed a docking board with a TPM 2.0 chip connected to the SPI bus of the i.MX6UL(L).

Installation

Kernel drivers

  • Needed drivers are already installed with 4.17+ kernel on OPOS6UL(NANO)

Declare chip in device tree

buildroot/output/build/linux-4.17.4/arch/arm/boot/dts/imx6ul-imx6ull-opos6uldev.dtsi

&ecspi4 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ecspi4>;
        cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>, <&gpio4 3 GPIO_ACTIVE_LOW>;
        status = "okay";

        tpm0: tpm_tis@0 {
                compatible = "st,st33htpm-spi";
                reg = <0>;
                spi-max-frequency = <1000000>;
                status = "okay";
        };
/*
        spidev1: spi@1 {
                compatible = "spidev";
                reg = <1>;
                spi-max-frequency = <5000000>;
        };
*/
};

Userspace tools

  • TBDL

Usage

modprobe

Links