Update with Palette
The Palette-assisted Update method allows you to update the DevKit (MLSoC device) firmware using the MPK Tool, which is included in the Palette SDK.
In this method the system automatically updates the firmware, if needed, once you connect to the device. Before proceeding with the update, the system prompts the user for consent. This method of firmware update is supported in standalone mode and partially in PCIe mode.
Before updating, check if your DevKit is already running using the latest firmware:
sima-user@sima-user-machine:~$ ssh sima@<BOARD_IP_ADDRESS> "cat /etc/buildinfo"|grep SIMA_BUILD_VERSION sima@<BOARD_IP_ADDRESS>'s password:
SIMA_BUILD_VERSION
should be1.7.0_master_B1855
Note
This feature is supported only on the headless
image.
Customers who wish to flash the device with the full
image using this procedure should first update to the headless
image, then use the sima-cli update
command to upgrade to the full
image.
If you have this version you can skip the firmware update process.
Warning
The Palette-assisted update method does not update the tRoot image. Please refer to the sima-cli update method for updating the tRoot image before proceeding.
In standalone mode, connect to the DevKit from the MPK tool using its IP address and allow the system to automatically upgrade firmware, if needed.
sima-user@docker-image-id:/home# mpk device connect -t <BOARD_IP_ADDRESS> -u <USER> -d my_device
Note
For a PCIe system, you need to first update the DevKit to the desired firmware version before updating the Palette SDK and Host Driver.
Automatic firmware update is not supported in PCIe mode. However, you are able to update the firmware manually with a
simaai-image-palette-upgrade-davinci.swu
file from the MLSoC image zip file.Download MLSoC DevKit Firmware
Download the firmware package and extract the
simaai-image-palette-upgrade-davinci.swu
file. Move it to the workspace of the Palette SDK. Then, connect to the DevKit in PCIe mode from the MPK tool using the slot number (e.g.0
) and execute the firmware upgrade.sima-user@docker-image-id:/home# mpk device connect -s 0 sima-user@docker-image-id:/home# mpk firmware-upgrade -f /home/docker/sima-cli/simaai-image-palette-upgrade-davinci.swu -d my_device
For additional details, refer to the mpk firmware-upgrade command.