This guide explains how to convert an existing SiMa.ai Yocto-based DevKit to the new eLxr runtime environment, and how to revert back to Yocto when needed.
Note
The eLxr platform is available starting from SDK 2.0.0 and later on the Modalix DevKit.
Converting to eLxr requires a tRoot update and eMMC reflash facilitated by Update with Net Boot.
The eLxr platform replaces the legacy Yocto environment as the new default runtime for SiMa.ai DevKits.
It offers significant benefits for developers:
Simplified updates — unified root file system layout with larger root file system.
Standard package manager — Debian-based foundation with persistent package management.
To confirm your current environment before migrating, follow the quick check below.
To determine which firmware the DevKit is currently running, connect via serial or SSH and run:
cat/etc/buildinfo|grepDISTRO
You should see either:
DISTRO = poky
or
DISTRO = eLxr
If you see poky, follow the steps below to migrate.
Step 1. Physical Setup
Note
This procedure is supported on macOS and Ubuntu Linux platforms.
If you have not installed sima-cli on your host machine, follow the
instructions here to install it.
This procedure requires two terminal sessions:
A serial console session connected to the Modalix DevKit, used to modify U-Boot environment variables so the DevKit can boot over the network.
A host shell session used to update the tRoot, configure NetBoot, and initiate the DevKit eMMC flashing process.
Connect the DevKit’s Ethernet port directly to the host PC.
Set the host’s network interface to static IP 192.168.1.10.
On the Modalix Early Access board, make sure to use Ethernet port 0.
Connect the UART port of the DevKit to the host for console access.
Ensure your host has the latest sima-cli installed. Then run:
sima-user@sima-user-machine:~$sima-cliserial
to open a serial terminal and connect to the DevKit.
On the DevKit, configure the network interface to the default static IP
address (192.168.1.20) by following the instructions
here.
Step 2. Update to the Latest tRoot
Before proceeding with the eLxr conversion, update the DevKit to the
latest tRoot image.
This update is required to ensure that the tRoot (trusted root) is
compatible with eLxr.
Power cycle the Modalix DevKit while connected to host through serial console. From the DevKit serial console, interrupt the boot process to enter the u-boot shell.
Your DevKit running version 1.7 may be preloaded with a 1.7-compatible
OOB (out-of-the-box) demo. After converting the DevKit to version 2.0
with eLxr, you can upgrade the OOB demo by following the instructions
below.
To proceed, connect your DevKit to the Internet and access it using
either an SSH session or the serial console.
During the setup process, you will be prompted to confirm whether you
want to upgrade the OOB demo. Select Yes to continue.
Revert to Yocto (Optional)
To switch back to Yocto, the procedure is identical to converting to eLxr, just use fwtype=yocto instead when running the sima-cli bootimg command with –netboot.