|
Packit |
534379 |
# fpgad #
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## SYNOPSIS ##
|
|
Packit |
534379 |
`fpgad --daemon [--version] [--directory=<dir>] [--logfile=<file>] [--pidfile=<file>] [--umask=<mode>] [--socket=<sock>] [--null-bitstream=<file>]`
|
|
Packit |
534379 |
`fpgad [--socket=<sock>] [--null-bitstream=<file>]`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## DESCRIPTION ##
|
|
Packit |
534379 |
```fpgad``` periodically monitors and reports the error status reflected in the device driver's error status sysfs files.
|
|
Packit |
534379 |
```fpgad``` establishes the channel to communicate events to the Open Programmable Accelerator Engine (OPAE) application.
|
|
Packit |
534379 |
```fpgad``` programs a NULL bitstream in response to an AP6 (power) event. ```fpgad``` is only available on the Integrated FPGA
|
|
Packit |
534379 |
Platform. You cannot run ```fpgad``` on the PCIe® Accelerator Card (PAC).
|
|
Packit |
534379 |
|
|
Packit |
534379 |
If your system does not support interrupts, you must run ```fpgad``` before the API calls `fpgaRegisterEvent` and
|
|
Packit |
534379 |
`fpgaUnregisterEvent` can succeed.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Use SIGINT to stop ```fpgad```.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-v, --version`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Prints version information and exits.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-d, --daemon`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
When specified, fpgad executes as a system daemon process.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-D, --directory <dir>`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
When running in daemon mode, run from the specified directory.
|
|
Packit |
534379 |
If omitted when daemonizing, `fpgad` uses /tmp.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-l, --logfile <file>`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
When running in daemon mode, send output to file. When not in daemon mode, the output goes to stdout.
|
|
Packit |
534379 |
If omitted when daemonizaing, fpgad uses /tmp/fpgad.log.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-p, --pidfile <file>`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
When running in daemon mode, write the daemon's process id to a file.
|
|
Packit |
534379 |
If omitted when daemonizing, fpgad uses /tmp/fpgad.pid.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-m, --umask <mode>`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
When running in daemon mode, use the mode value as the file mode creation mask passed to umask.
|
|
Packit |
534379 |
If omitted when daemonizing, fpgad uses 0.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-s, --socket <sock>`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Listen for event API registration requests on the UNIX domain socket on the specified path.
|
|
Packit |
534379 |
The default=/tmp/fpga_event_socket.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`-n, --null-bitstream <file>`
|
|
Packit |
534379 |
|
|
Packit |
534379 |
Specify the NULL bitstream to program when an AP6 event occurs. This option may be specified multiple
|
|
Packit |
534379 |
times. The AF, if any, that matches the FPGA's PR interface ID is programmed when an AP6
|
|
Packit |
534379 |
event occurs.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## TROUBLESHOOTING ##
|
|
Packit |
534379 |
|
|
Packit |
534379 |
If you encounter any issues, you can get debug information in two ways:
|
|
Packit |
534379 |
|
|
Packit |
534379 |
1. By examining the log file when in daemon mode.
|
|
Packit |
534379 |
2. By running in non-daemon mode and viewing stdout.
|
|
Packit |
534379 |
|
|
Packit |
534379 |
## EXAMPLES ##
|
|
Packit |
534379 |
|
|
Packit |
534379 |
`fpgad --daemon --null-bitstream=my_null_bits.gbs`
|
|
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.1.) | No changes from previous release. |
|