video-loop

Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
8 files changed
tree: b00cfcf67b28bf76d21912764e6846222cd337c5
  1. board/
  2. configs/
  3. linux/
  4. overlay/
  5. package/
  6. patches/
  7. buildroot.patch
  8. CMakeLists.txt
  9. Config.in
  10. external.desc
  11. external.mk
  12. LICENSE
  13. README.md
README.md

linux-tpmdd test suite

Building

git clone https://gitlab.com/jarkkojs/linux-tpmdd-test.git
cd linux-tpmdd-test
cmake -Bbuild -Dbuildroot_defconfig=<config> && make -Cbuild buildroot-prepare
make -Cbuild/buildroot/build

Test Suite

Running test suite

build/buildroot/build/images/run-tests.sh

Instructions

Starting

  • TPM 2.0 FIFO: build/buildroot/build/images/run-qemu.sh &
  • TPM 2.0 CRB: build/buildroot/build/images/run-qemu.sh --tpm-crb &
  • TPM 1.2 FIFO: build/buildroot/build/images/run-qemu.sh --tpm1 &

Stopping

kill -15 $(cat build/buildroot/build/images/qemu.pid)

Sockets

  • Serial: build/buildroot/build/images/serial.sock
  • Monitor: build/buildroot/build/images/monitor.sock

SSH

ssh -F build/buildroot/build/images/ssh_config tpmdd.local