Security User Guide: Intel® FPGA Programmable Acceleration Card N3000 Variants

ID 683519
Date 9/08/2020
Public
Document Table of Contents

3.12.2. Reading sysfs Files for Identifying Information

The information provided by the fpgainfo security command is also available in sysfs entries. The sysfs entries are found in two locations:
  1. /sys/class/ifpga_sec_mgr/ifpga_sec<X>/security
  2. /sys/class/fpga/intel-fpga-dev.<X>/intel-fpga-fme.<X>/spi-altera.<X>.auto/spi_master/spiX/spi<X>.<X>/ifpga_sec_mgr/ifpga_sec<X>/security
Note: The <X> found in the following paths is a numeric value that is assigned by the kernel and is indeterminate.
The first pathname above uses a symlink to reference the same location as the second pathname. To correlate the two pathnames above, type:
ls -l /sys/security/ifpga_sec_mgr/ifpga_sec<X>
A listing of this directory displays the files in the table below:
Table 7.   Sysfs File List
Sysfs File Output Description File Data Format
sr_root_hash SR root entry hash Root entry hash programmed by you. If you have not programmed the FPGA SR user image root entry hash, this output reports as “hash not programmed.” Long hexadecimal output prefixed with “0x” or “hash not programmed” if the bitstreams is unsigned.
bmc_root_hash BMC root entry hash Root entry hash programmed by Intel® . Long hexadecimal output prefixed with “0x".
pr_root_hash PR root entry hash Not applicable for Intel® FPGA PAC N3000 and reports “hash not programmed” in output. N/A
user_flash_update_counter User Flash update counter
Indicates how many times the staging area flash is updated. has been updated. This data can be useful in detecting threats.
Note: When the staging area flash counter reaches 1000, the Intel® MAX® 10 BMC does not allow writes for 30 seconds after device startup and between updates. When the BMC flash counter reaches 2000, the Intel® MAX® 10 BMC does not allow writes for 60 seconds after device startup and between updates.
Single, numeric value
sr_canceled_csks SR CSK IDs canceled Indicates the IDs of the FIM code signing keys that are cancelled. Comma-separated list of decimal numbers and ranges, such as: 0, 3-6, 8-10
bmc_canceled_csks BMC CSK IDs canceled Indicates the IDs of the BMC code signing keys that are cancelled. Comma-separated list of decimal numbers and ranges, such as: 0, 3-6, 8-10
pr_canceled_csks AFU CSK IDs canceled Not applicable for Intel® FPGA PAC N3000. Comma-separated list of decimal numbers and ranges, such as: 0, 3-6, 8-10