Skip to content

Updating a SolidSense Board

Anthony Pauthonnier edited this page Jan 19, 2024 · 7 revisions

Upgrading your image using Mender

Rather than re-flashing completely the gateway storage via full image flash, it could be simpler to perform a local upgrade of the image using Mender.

Step 1: Find the signed Mender artifact (if you don’t have your own Mender server) from here : Images SolidSense

You have to select the SolidSense software release and the hardware architecture according to your gateway described at the bottom of the page. The Mender artifact shall be accessible on the gateway and we propose two solutions:

  • download from an external computer on an USB drive that will be mounted on the gateway for installation
  • or upgrade the gateway directly via the URL.

Step 2: Install the new release
Exemple for N6 gateway with Solidsense-2.1.0-rc3:

sudo su

# In case of downloading the file
mender install /path/to/file/Solidsense-2.1.0-rc3-2023101700.mender

# or with the URL
mender install https://images.solidsense.io/SolidSense/mender/SolidRun-signed/2.1.0-rc3/n6gsdl-core-image-minimal-Solidsense-2.1.0-rc3-2023101700.mender

# Then
mender commit
reboot

After boot, Kura will be available after 4 minutes. You can check your configuration by taping https://serial_number_of_your_gateway or https://ip_address_board on your navigator.
You can check the firmware version installed on your gateway with the command mender show-artifact.

Troubleshooting upgrades

During the upgrade phase, only the read-only root file system (rofs) is upgraded while all the modifications and configuration that resides in the overlay file system are left unchanged. However, in some cases some changes between rofs and ovfs are not fully compatible leading to dysfunctional systems.

To recover the best is to rebuild the ovfs from scratch using: /opt/scripts/restart –-wipe

This will erase also all configurations and changes that were applied in the ovfs. However, if the configuration is built from the provisioning system it will automatically be rebuilt. It is safe to have a way to rebuild gateway configuration is case of major upgrade.

Models :

Type SolidSense models
n6gsdl N6 Indoor, N6 Outdoor dual core
n6gq N6 Indoor, N6 Outdoor quad core
in6gsdl N6 Industrial dual core
in6gq N6 Industrial quad core
imx8mnc N8 Compact