Date: Sat, 3 Feb 2024 17:19:06 +0100 From: Andrea Cocito <andrea@cocito.eu> To: freebsd-hackers@freebsd.org Subject: TPM2 on AMD Rizen (fTPM) Message-ID: <E9C7F151-4948-4C59-A0A0-594E9F377189@cocito.eu>
next in thread | raw e-mail | index | archive | help
Hi, I=E2=80=99m trying to enable TPM support on a box in order to experiment = a bit with it, but the driver does not seem to load and/or see the = device. In the firmware the =E2=80=9CfTPM=E2=80=9D option has been enabled, = tried both with SCM enabled and disabled, basically I tried all the = possible firmware options combinations with no success. I have tpm_load=3D=E2=80=9CYES=E2=80=9D in /boot/loader.conf and also = tried the hints suggested by the man page is /boot/device.hints No way to have the tpm? device(s) appear, the best I achieved so far on = dmesg in a verbose boot is: =E2=80=A6 Preloaded elf obj module "/boot/kernel.old/geom_mirror.ko" at = 0xffffffff8196d8c0. Preloaded elf obj module "/boot/kernel.old/tpm.ko" at = 0xffffffff8196dfb0. =E2=80=A6 tpm0 failed to probe at iomem 0xfffffffffed40000-0xfffffffffed44fff on = isa0 tpm1 failed to probe at iomem 0xfffffffffed40000-0xfffffffffed40fff on = isa0 =E2=80=A6 I am all but an expert about TPM architecture (this is why I am willing = to play with it), but as far as I understand AMD=E2=80=99s fTPM is a = TPM2 built into the CPU, I have no idea on which bus it should be seen = and how. So my questions are: - Is AMD=E2=80=99s fTPM supported at all by the driver? - Am I missing something very obvious? I have been digging around for information quite a bit, but there does = not seem to be much information around. Hope I am hitting the correct = list (accept my apologies if it is not). Thanks in advance for any advice.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E9C7F151-4948-4C59-A0A0-594E9F377189>