root@imx8mprsb3720a1:~# cp /run/media/sda1/tpm_test.bin .
root@imx8mprsb3720a1:~# ls
tpm_test.bin
root@imx8mprsb3720a1:~# ./tpm_test.bin
[TPM Command]
80010000000C000001440000
[TPM Response]
80010000000A00000100
[TPM Command]
80010000000B0000014301
[TPM Response]
80010000000A00000000
[TPM Command]
8001000000160000017A000000060000010500000001
[TPM Response]
80010000001B000000000100000006000000010000010553544D20
[TPM Command]
8001000000160000017A000000060000010B00000002
[TPM Response]
800100000023000000000100000006000000020000010B004900410000010C44A01A17
LED test
LED ON/OFF test
# echo 255 > /sys/class/leds/user/brightness
# echo 0 > /sys/class/leds/user/brightness
EEPROM test
# echo -n $'\x06\x05\x04\x03\x02\x01' > test
# dd if=test of=/sys/bus/i2c/devices/3-0050/eeprom
# hexdump -C /sys/bus/i2c/devices/3-0050/eeprom -n 64