Am 27. Januar 2022 16:06:03 MEZ schrieb Simon Glass <[email protected]>: >Hi Ilias, > >On Mon, 15 Nov 2021 at 04:11, Ilias Apalodimas ><[email protected]> wrote: >> >> Hi Simon, >> >> On Sat, Nov 13, 2021 at 11:14:27AM -0700, Simon Glass wrote: >> > Hi Ilias, >> > >> > On Tue, 9 Nov 2021 at 00:02, Ilias Apalodimas >> > <[email protected]> wrote: >> > > >> > > A previous patch added support for an mmio based TPM. >> > > Add an example in QEMU on it's usage >> > > >> > > Reviewed-by: Simon Glass <[email protected]> >> > > Signed-off-by: Ilias Apalodimas <[email protected]> >> > > --- >> > > doc/board/emulation/qemu-arm.rst | 25 +++++++++++++++++++++++++ >> > > 1 file changed, 25 insertions(+) >> > >> > How would I run the test that need this TPM emulator? Remember I was >> > going to look at what is involved to enhance U-Boot's emulator. >> > >> >> >> Heinrich has already sent patches adding this to the docker CI [1]. Is >> that clear enough ? > >Yes thanks.
The sandbox could communicate to swtpm via a socket like QEMU does or call libtpm directly. You may want to look at the QEMU code first. Best regards Heinrich > > >- Simon > > >> >> >> [1] >> https://lore.kernel.org/u-boot/[email protected]/T/#u >> > Regards, >> > Simon >> >> >> Thanks >> /Ilias

