Hi Sachin,
Thank you for all the information. I have only one question related to GPIOs
configuration. I suppose "GPIO_106 GP_SSP_0_FS1" is configured as CS signal.
However, what is the functionality of "GPIO_9"? I couldn´t find M1 functionality
in this pin.
Thanks,
Javier
-----Mensaje original-----
De: Agrawal, Sachin [mailto:sachin.agrawal@intel.com]
Enviado el: sábado, 6 de abril de 2019 0:15
Para: 'sbl-devel(a)lists.01.org' <sbl-devel(a)lists.01.org>; Javier Santos Romo
<jsantos(a)gmv.com>
Asunto: RE: [Sbl-devel] TPM Support on Fast SPI Bus
Hi Javier,
Below are the few things required to have SPI dTPM working with Slim Bootloader.
-Set 'SPI' in FIT tool during IFWI stitching process for
'DiscreteTpmLocation' field in 'PlatformProtection tab.
-Set below GPIO settings in SBL code before TPM status is queried.
BXT_GPIO_PAD_CONF(L"GPIO_106 GP_SSP_0_FS1", M3 , NA, NA, NA, NA,
Wake_Disabled, P_20K_H, NA , NA, HizRx0I, EnPd, GPIO_PADBAR+0x01F8,
NORTHWEST),
BXT_GPIO_PAD_CONF(L"GPIO_9", M1 ,
NA, NA, NA, NA, Wake_Disabled, P_20K_H, NA , NA ,NA , NA,
GPIO_PADBAR+0x0048, NORTH),
(You can add above lines in mGpioInitTbl[] array in Stage1BBoardInitLib.c in
ApolloLakeBoardPkg library).
We also had to rework some pins on APL Customer Reference Board(CRB) to make SPI dTPM
work. If you are using an Intel CRB (Oxbow Hill or LeafHill platform), please contact your
Intel Representative to get rework instructions for the board.
We were able to verify SPI dTPM functionality (Infineon TPM SLB9670) after doing above
changes with Slim Bootloader code.
Thanks
Sachin
-----Original Message-----
From: Agrawal, Sachin
Sent: Tuesday, April 2, 2019 5:04 PM
To: sbl-devel(a)lists.01.org; jsantos(a)gmv.com
Subject: [Sbl-devel] TPM Support on Fast SPI Bus
Hello Javier,
In the past, we have verified Slimboot with Intel PTT (integrated TPM in SoC) and dTPM(on
LPC bus) with ApolloLake platform.
We will check on SPI dTPM and will get back to you.
Thanks
Sachin
From: Javier Santos Romo <jsantos(a)gmv.com>
To: "sbl-devel(a)lists.01.org" <sbl-devel(a)lists.01.org>
Subject: [Sbl-devel] TPM Support on Fast SPI Bus
Message-ID: <40d75644e4f941b385a9230bc96a4339(a)gmv.com>
Content-Type: text/plain; charset="us-ascii"
Dear Everyone,
I am trying to work with a Trust Platform Module connected to Fast SPI bus over Apollo
Lake Soc. I have activated HAVE_VERIFIED_BOOT and HAVE_MEASURED_BOOT to be able to
initialize TPM device. However, I always obtain a system halted message due to
"Unable to talk to TPM" message. Only way I know to indicate which bus is TPM
located on is using FIT Tool. However, SBL seems not to use SMIP data written with FIT
Tool. Because of this, I would like to know which is the procedure to be able to use a TPM
located on Fast SPI bus from SBL Source code.
Thanks,
Javier
P Please consider the environment before printing this e-mail.