Firmware Update

You can check and update the firmware of your device using the XCENA CLI.

Check Firmware Information

  • CLI tool displays CXL firmware/device information for the specified device.

Syntax

xcena_cli fw-info <device_id>

Example

$ xcena_cli fw-info 0

Device Information for 0000:11:00.0:
  Firmware Revision: xcena-1.0.0
  Total Capacity: 4,294,967,296 bytes
  FW Slots Supported: 4
  Active Slot: 1
  Staged Slot: 0
  Online Activation: No
  Slot Revisions:
    SLOT1: 1.0
    SLOT2: 1.1
    SLOT3: 1.2
    SLOT4: 1.3

Update Firmware

  • CLI tool updates CXL firmware for the specified device via CXL CCI mailbox interface. Arguments are positional: <device_id> <slot_id> <firmware_path>.

    Note

    • Make sure that no applications are accessing the device during the firmware update.
    • System reboot is required for the new firmware to take effect.
    • To keep your device stable and up-to-date, always use the firmware version distributed with the corresponding SDK release.

Syntax

$ xcena_cli fw-update <device_id> <slot_id> <firmware_path>

Example

$ xcena_cli fw-update 0 2 fw.bin

args: device_id=0, firmware='fw.bin', slot=2
resolved BDF: mem0 -> 0000:11:00.0
matched index: 0 (0000:11:00.0)
start firmware update: slot=2, file='fw.bin'
Firmware update completed successfully!