Caution! Article for developers

Information on this page is intended particularly for users with advanced technical knowledge.

Gateway firmware update process

Dec 29, 2021 · 1 minutes to read

Treon Gateway

These articles will elaborate how the gateway updates it’s firmware and what it does to customer data and installed programs.

What happens in the update sequence

When the update process starts gateway first downloads the firmware if required. After the upload is done the gateway starts long update process which might take from 2-10 minutes depending on the load of the gateway.

In the update process the gateway first unpacks and writes the firmware to secondary slot and boots from it. This is followed up by persist_move which moves persisted files back from user partition.

After persist_move is complete the gateway will perform updatehooks which are scripts run after the firmware has been successfully installed to the new partition.

Learn more about persist_move and updatehooks


Was this article helpful? Let us know.