quick question about TPM

niek.nooijens at omron.com niek.nooijens at omron.com
Thu Oct 26 04:22:28 CEST 2023


Hi Simon

Yes that fixes it! Thanks!
Maybe an Idea to add a dedicated TPM page to the docs with information like this?
(https://u-boot.readthedocs.io/en/latest/index.html) Cause I wouldn't have thought I needed an option tugged away under Library routines.

Anyhow Thanks!
Niek



________________________________
差出人: Simon Glass <sjg at google.com>
送信日時: 2023年10月26日 03:23
宛先: Niek Nooijens / OC-IAB PBD-C DEVEL 1-1 <niek.nooijens at omron.com>
CC: u-boot at lists.denx.de <u-boot at lists.denx.de>
件名: Re: quick question about TPM

Hi Niek,

On Tue, 24 Oct 2023 at 19:26, niek.nooijens at omron.com
<niek.nooijens at omron.com> wrote:
>
> Hi Simon
>
> Driver model is enabled, so it's pretty weird it doesn't show up.
> CONFIG_DM=y
> CONFIG_SPL_DM=y
> CONFIG_DM_WARN=y
>
> The TPM menu is there, yet somehow empty.
> This is just after "make socfpga_cyclone5_defconfig" and "make menuconfig"

Do you enable CONFIG_TPM here?:

Library routines -> Security support -> Trusted Platform Module (TPM) Support

then the drivers appear for me (under device drivers)

> if I use "make snow_defconfig" the menu is usable like normal, so something is disabling it, yet when grep-ping for TPM in socfpga there are no results.
> Adding it to .config manually also doesn't seem to work. so I'm a bit confused about what's going on. Anyhow thanks for the help!

You can edit the defconfig to add CONFIG_TPM and whatever driver you need.

Regards,
Simon


>
> Niek
> ________________________________
> 差出人: Simon Glass <sjg at google.com>
> 送信日時: 2023年10月25日 03:03
> 宛先: Niek Nooijens / OC-IAB PBD-C DEVEL 1-1 <niek.nooijens at omron.com>
> CC: u-boot at lists.denx.de <u-boot at lists.denx.de>
> 件名: Re: quick question about TPM
>
> Hi Niek,
>
> On Tue, 24 Oct 2023 at 04:51, niek.nooijens at omron.com
> <niek.nooijens at omron.com> wrote:
> >
> > Hi
> >
> > Just a quick question. I'm developing a platform using the socfpga_cyclone5_defconfig
> > everything is working, linux boots, but we decided to add a TPM to it's SPI bus.
> > For some reason the TPM support menu in the menuconfig is disabled and I can't seem to find out why, or which file disables it. can you point me in the right direction?
>
> The only thing 'config TPM' depends on is DM (driver model). Is that
> somehow disabled? Once you enable that, it should appear.
>
> Regards,
> Simon


More information about the U-Boot mailing list