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:
For this Quickstart 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:
In your SoM's terminal, check your board's current TorizonCore version by sending the following command:
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
Go to the dashboard again and click to initiate an update in your device:
Select the option "Torizon Packages" and then select the latest "Nightly" release for
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.
After the OTA update process concludes, check again the new TorizonCore version installed on your board:
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