|
Packit |
534379 |
# fpgainfo #
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## SYNOPSIS ##
|
|
Packit |
534379 |
```console
|
|
Packit |
534379 |
fpgainfo [-h | --help] [-v | --version] [<args>] <command> [<command-args>]
|
|
Packit |
534379 |
```
|
|
Packit |
534379 |
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## DESCRIPTION ##
|
|
Packit |
534379 |
fpgainfo displays FPGA information derived from sysfs files. The command argument is one of the following:
|
|
Packit |
534379 |
`errors`, `power`, `temp`, `port`, `fme`, `bmc`, `phy` or `mac`.
|
|
Packit |
534379 |
Some commands may also have other arguments or options that control their behavior.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
For systems with multiple FPGA devices, you can specify the BDF to limit the output to the FPGA resource
|
|
Packit |
534379 |
with the corresponding PCIe configuration. If not specified, information displays for all resources for
|
|
Packit |
534379 |
the given command.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
### FPGAINFO COMMANDS ##
|
|
Packit |
534379 |
`errors`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show/clear errors of an FPGA resource that the first argument specifies.
|
|
Packit |
534379 |
`fpgainfo` displays information in human readable form.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`power`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show total the power in watts that the FPGA hardware consumes.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`temp`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show FPGA temperature values in degrees Celcius.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`port`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show information about the port such as the AFU ID of currently loaded AFU.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`fme`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show information about the FPGA platform including the partial reconfiguration (PR) Interface ID, the OPAE version,
|
|
Packit |
534379 |
and the FPGA Interface Manager (FIM) ID.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`bmc`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show all Board Management Controller sensor values for the FPGA resource, if available.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`phy`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show information about the PHY integrated in the FPGA, if available.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`mac`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show information about the MAC address in ROM attached to the FPGA, if available.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## OPTIONAL ARGUMENTS ##
|
|
Packit |
534379 |
`--help, -h`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Prints help information and exit.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`--version, -v`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Prints version information and exit.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## COMMON ARGUMENTS ##
|
|
Packit |
534379 |
The following arguments are common to all commands and are optional.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-B, --bus`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
PCIe bus number of resource.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-D, --device`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
PCIe device number of resource.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-F, --function`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
PCIe function number of resource.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`--json`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Display information as JSON string.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
### ERRORS ARGUMENTS ###
|
|
Packit |
534379 |
The first argument to the `errors` command specifies the resource type. It must be one of the following:
|
|
Packit |
534379 |
`fme`,`port`,`all`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`fme`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show/clear FME errors.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`port`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show/clear PORT errors.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`all`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Show/clear errors for all resources.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
The optional `<command-args>` arguments are:
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`--clear, -c`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Clear errors for the given FPGA resource.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
|
|
Packit |
534379 |
### PHY ARGUMENTS ###
|
|
Packit |
534379 |
The optional `<command-args>` argument is:
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`--group, -G`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Select which PHY group(s) information to show.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## EXAMPLES ##
|
|
Packit |
534379 |
This command shows the current power telemetry:
|
|
Packit |
534379 |
```console
|
|
Packit |
534379 |
./fpgainfo power
|
|
Packit |
534379 |
```
|
|
Packit |
534379 |
|
|
Packit |
534379 |
This command shows the current temperature readings:
|
|
Packit |
534379 |
```console
|
|
Packit |
534379 |
./fpgainfo temp
|
|
Packit |
534379 |
```
|
|
Packit |
534379 |
|
|
Packit |
534379 |
This command shows FME resource errors:
|
|
Packit |
534379 |
```console
|
|
Packit |
534379 |
./fpgainfo errors fme
|
|
Packit |
534379 |
```
|
|
Packit |
534379 |
This command clears all errors on all resources:
|
|
Packit |
534379 |
```console
|
|
Packit |
534379 |
./fpgainfo errors all -c
|
|
Packit |
534379 |
```
|
|
Packit |
534379 |
This command shows information of the FME on bus 0x5e
|
|
Packit |
534379 |
```console
|
|
Packit |
534379 |
./fpgainfo fme -B 0x5e
|
|
Packit |
534379 |
```
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## Revision History ##
|
|
Packit |
534379 |
|
|
Packit |
534379 |
| Document Version | Intel Acceleration Stack Version | Changes |
|
|
Packit |
534379 |
| ---------------- |------------------------------------|----------|
|
|
Packit |
534379 |
| 2018.05.21 | 1.1 Beta. (Supported with Intel Quartus Prime Pro Edition 17.1.) | Updated description of the `fme` command |
|