Update with sima-cli
This method allows developers to update the firmware on a SiMa.ai MLSoC DevKit using the sima-cli tool. This approach downloads the firmware image to the host machine and transfers it to the DevKit for update.
Note
Please install or upgrade sima-cli before continuing. This guide is intended for use with the latest sima-cli version.
Warning
Upgrading a Modalix DevKit from SDK 1.7 to 2.0 requires additional steps. Refer to the Convert to eLxr guide for the conversion procedure.
Before proceeding, ensure the host machine can reach the DevKit over the network. Refer to:
Developers can run sima-cli directly on the standalone DevKit to update the device. Ensure the DevKit has an active Internet connection, then execute:
modalix:~$ sima-cli update
On MLSoC running Yocto Linux, developers may also specify a full URL instead of a version string if they have previously downloaded and hosted the image themselves.
davinci:~$ sima-cli update http://your-server/image.tar.gz
Note
This method is only supported on the MLSoC platform running Yocto. For Modalix devices running eLxr Linux, perform the update directly on the DevKit.
Use this command from the host machine:
sima-user@sima-user-machine:~$ sima-cli update --ip {ip_address_of_the_devkit}
This command also installs the appropriate Linux driver version on the host, if applicable.
If you have downloaded the firmware and hosted somewhere on your network, you can provide the URL to avoid repeatedly downloading from the Internet.
sima-user@sima-user-machine:~$ sima-cli update --ip {ip_address_of_the_devkit} http://your-server/image.tar.gz
If the developer prefers to download only the firmware image and perform the update using advanced, manual steps, they can do so by executing.
Note
This method is only supported on the MLSoC platform running Yocto. For Modalix devices running eLxr Linux, perform the update directly on the DevKit.
# For MLSoC DevKit
sima-user@sima-user-machine:~$ sima-cli download https://docs.sima.ai/pkg_downloads/SDK2.0.0/devkit/davinci/yocto/simaai-devkit-fw-davinci-yocto-2.0.0.tar.gz
Note
For PCIe system update:
Starting with firmware version
1.5, a virtual Ethernet interface can be used in PCIe mode, eliminating the need for physical cabling to the DevKit. This enables seamless updates over an existing PCIe connection.For firmware version
1.4or earlier, a direct network connection must be established with the DevKit. In this case, connect the DevKit in standalone mode or use the Palette-Assisted Update method instead.