Skip to main content

Module status

Module status 

Source
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.