You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested sending the following TPM command:
0x0B, 0xD4, 0x00,0x80,
0x80, 0x01, 0x00, 0x00.
0x00, 0x0C, 0x00, 0x00,
0x01, 0x7B, 0x00, 0x04
Which is a valid Get_random_CC
However I received a load access fault running this test.
Ony after adding this line to put the SPI device in FW mode did the write work:
static const uint32_t disable_SPI_mode[1] = {0x00000000};
mmio_region_memcpy_to_mmio32(spi_device.dev.base_addr, SPI_DEVICE_CONTROL_REG_OFFSET, disable_SPI_mode, 4 );
Not sure if I am missing something but this seems the correct way to set the test up. Thanks,
Best,
Tom :D
The text was updated successfully, but these errors were encountered:
Description
I tested sending the following TPM command:
0x0B, 0xD4, 0x00,0x80,
0x80, 0x01, 0x00, 0x00.
0x00, 0x0C, 0x00, 0x00,
0x01, 0x7B, 0x00, 0x04
Which is a valid Get_random_CC
However I received a load access fault running this test.
Ony after adding this line to put the SPI device in FW mode did the write work:
static const uint32_t disable_SPI_mode[1] = {0x00000000};
mmio_region_memcpy_to_mmio32(spi_device.dev.base_addr, SPI_DEVICE_CONTROL_REG_OFFSET, disable_SPI_mode, 4 );
Not sure if I am missing something but this seems the correct way to set the test up. Thanks,
Best,
Tom :D
The text was updated successfully, but these errors were encountered: