{% extends "base.html.twig" %} {% block title %}How to manage Firmware{% endblock %} {% block body %}

How to manage Firmware


Firmware availability and approval

Every device connected to DWARFG_LONG is running an Operating System. The bigger devices (Server, Desktop) are usually running quite big systems (Linux, *BSD, MacOS, Windows) but the smaller devices are running a more compact OS, called Firmware. DWARFG_LONG is able (for supported device types) to track what version of Firmware (or OS) is the device using and under some conditions and for some device types also make the device reflash its Firmware to a different Firmware version.

Firmware and OS table lists all versions actually known to the server. There are a few firmware versions recognized automatically from the server deployment and any device connecting with unknown firmware/OS version will cause new entry in this table. The following will describe Firmware management functionality, which is currently supported for Advantech router device type.

Once a firmware is known, it can be either available or not. A firmware being available means that download of that particular firmware version inside your DWARFG_LONG server was successful and the firmware can be served to any of the appropriate devices if needed (once the version is approved). DWARFG_LONG attempts to download any non-available firmware in a timely fashion.

Once firmware becomes available, it needs to be approved before you can push it to a device. Note that a firmware must be both available and approved to be selectable for a device of appropriate type.

Adding new firmware manually

In case none of your devices uses a new FW version and you want DWARFG_LONG to download the new FW, you can add the firmware manually. Just click the Add Firmware button, select OS type and enter correct OS Version.

Assigning FW version to a device and flashing FW

There are two ways to assign firmware version to a device:

  • Using Device Details - when you open Device Details, look into Firmware version section. You can choose any of the approved and available firmware versions using the selectbox and confirming by Set version button.
    • NOTE that this FW selection section appears in Device Details only when there is at least one selectable FW version and for supported device types only. In other words, if you do not have any selectable FW version for the device which Details you are viewing, the section will not appear.
  • Using Mass action on the Devices table - On Devices table, select the devices you want to assign the FW version to. Once selected, click on Assign Fw Version button below the table, select the desired version and confirm.

The assignment action sets the desired version for the device. Once the agent sends data update, it will get the FW flash command as part of the response, download the FW file and perform the reflash (and reboot).

NOTE that the desired FW version stays set and thus, the FW version will be tracked. Whenever the device FW version starts diverting from the desired version (e.g. a manuall flash via device web interface to a different FW version is performed), it will get FW flash command on the next data update.

{% endblock body %}