Search by Tags

Updating the Operating System with Torizon OTA


Your progress



As seen in the previous lessons, Torizon OTA is capable of updating single devices or fleets and, so far, you have been introduced to application updates. In this lesson, you will learn how to deploy OS updates. It is important to understand some concepts:

In this section, you will:

  • Update the Operating System of your device using Torizon OTA
Typographic Conventions


For this Quickstart Guide:

  • Development computer with Ubuntu 18.04 LTS. Warning: Commands and instructions may vary slightly on other Ubuntu releases and Linux distributions.
  • Successfully completed the previous lessons from this guide.

* This is a requisite for the entire Quickstart, but our Torizon OTA app will run on any browser, on any Linux, Windows or MacOS.

For this lesson:

  • At least one device added to Torizon OTA as explained in the previous lessons

Step 1

In your SoM's terminal, check your board's current TorizonCore version by sending the following command:

# hostnamectl

In our case, we are using the TorizonCore version TorizonCore 5.1.0-devel-202011+build.4 (dunfell). Copy and paste this information into a text editor, so you can refer to it later.

# hostnamectl
   Static hostname: apalis-imx8-06438725
         Icon name: computer
        Machine ID: 70dc4a4b185241888905a54c0e5fec81
           Boot ID: 5f2086dbe5ac4415a2df3bbbe8ccffad
  Operating System: TorizonCore 5.1.0-devel-202011+build.4 (dunfell)
            Kernel: Linux 5.4.47-5.1.0-devel+git.28311f851f7a
      Architecture: arm64

Step 2

Go to the dashboard again and click to initiate an update in your device:

  • Initiate Update

    Initiate Update

Step 3

Select the option "Torizon Packages" and then select the latest "Nightly" release for torizon-core-docker.

  • Select the package

    Select the package

Click on "Continue". The update process will take some time. You can see the progress on the icon in the bottom-left part of the screen.

Note: by default, TorizonCore is configured to poll the OTA server once every 5 minutes. That may sound like a lot of time for evaluation, but it is a reasonable default configuration for production. After you finish the Quickstart, you can set a custom polling time.

  • Wait until the update finishes

    Wait until the update finishes

Step 4

After the OTA update process concludes, check again the new TorizonCore version installed on your board:

# hostnamectl

In our case, it updated to the version TorizonCore version TorizonCore 5.1.0-devel-20201112+build.120 (dunfell).

verdin-imx8mm-06602792:~$ hostnamectl                                                         
   Static hostname: apalis-imx8-06438725
         Icon name: computer                                                                  
        Machine ID: 1e4da99c022e4a94b790ca2569897a0d                                          
           Boot ID: c7f051257e694ba390b08d5cf627eb0c                                          
  Operating System: TorizonCore 5.1.0-devel-20201112+build.120 (dunfell)                      
            Kernel: Linux 5.4.47-5.1.0-devel+git.4d47b797d6bb                                 
      Architecture: arm64     


Is Torizon OTA free? What are the plan options?
Can I upload my own image?