Expand description
Status command implementation for the FPGA CLI.
This module handles querying FPGA device and overlay status through the fpgad daemon’s DBus interface. It provides functionality to:
- Query the state of FPGA devices (operating, unknown, etc.)
- List available device tree overlays
- Get platform compatibility strings for devices
- Retrieve overlay status information
- Format status information into human-readable tables
The module communicates with the fpgad daemon via DBus to access these read-only properties from the FPGA subsystem.
For information on Device Handles, Overlay Handles, and Error Handling, see the Common Concepts section in the main CLI documentation.
Functions§
- call_
get_ fpga_ state - Retrieve the current state of an FPGA device.
- call_
get_ overlays - Retrieve a list of all loaded device tree overlays from the system.
- call_
get_ platform_ type - Retrieve the platform compatibility string for an FPGA device.
- call_
get_ platform_ types - Retrieve all FPGA devices and their platform compatibility strings.
- call_
get_ status_ message - Retrieve a platform-specific status message from the daemon.
- get_
first_ device_ handle - Get the device handle of the first available FPGA device.
- get_
first_ overlay - Get the handle of the first loaded device tree overlay.
- get_
first_ platform - Get the platform string of the first available FPGA device.
- status_
handler - Main handler for the status command.